geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r410211 - in /geronimo/sandbox/gshell/trunk/gshell-core/src/test: java/org/apache/geronimo/gshell/commandline/parser/ resources/
Date Tue, 30 May 2006 07:56:14 GMT
Author: jdillon
Date: Tue May 30 00:56:12 2006
New Revision: 410211

URL: http://svn.apache.org/viewvc?rev=410211&view=rev
Log:
Remove dump calls
Added logging config for tests

Added:
    geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/
    geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties   (with
props)
Modified:
    geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserTest.java
    geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserVisitorTest.java

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserTest.java?rev=410211&r1=410210&r2=410211&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserTest.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserTest.java
Tue May 30 00:56:12 2006
@@ -36,12 +36,6 @@
         CommandLineParser parser = new CommandLineParser();
         ASTCommandLine cl = parser.parse(reader);
 
-        //
-        // TODO: Remove eventually, may want to make nodes use logging to dump too
-        //
-
-        cl.dump("> ");
-
         assertNotNull(cl);
 
         return cl;

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserVisitorTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserVisitorTest.java?rev=410211&r1=410210&r2=410211&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserVisitorTest.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/test/java/org/apache/geronimo/gshell/commandline/parser/CommandLineParserVisitorTest.java
Tue May 30 00:56:12 2006
@@ -36,17 +36,11 @@
         CommandLineParser parser = new CommandLineParser();
         ASTCommandLine cl = parser.parse(reader);
 
-        //
-        // TODO: Remove eventually, may want to make nodes use logging to dump too
-        //
-
-        cl.dump("> ");
-
         assertNotNull(cl);
 
         return cl;
     }
-    
+
     public void testVisitor1() throws Exception {
         String input = "a \"b\" 'c' d";
 

Added: geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties?rev=410211&view=auto
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties (added)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties Tue May
30 00:56:12 2006
@@ -0,0 +1,18 @@
+##
+## $Id$
+##
+
+log4j.rootCategory=DEBUG, FILE, CONSOLE
+
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Target=System.out
+log4j.appender.CONSOLE.Threshold=WARN
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
+
+log4j.appender.FILE=org.apache.log4j.FileAppender
+log4j.appender.FILE.File=${basedir}/target/test.log
+log4j.appender.FILE.Append=false
+log4j.appender.FILE.Threshold=DEBUG
+log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p (%t) [%c] %m%n

Propchange: geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/gshell/trunk/gshell-core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message