[logback-dev] svn commit: r717 - logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay

noreply.ceki at qos.ch noreply.ceki at qos.ch
Thu Oct 19 17:12:03 CEST 2006


Author: ceki
Date: Thu Oct 19 17:12:03 2006
New Revision: 717

Modified:
   logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java
   logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitFactory.java

Log:
very minor changes

Modified: logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java
==============================================================================
--- logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java	(original)
+++ logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java	Thu Oct 19 17:12:03 2006
@@ -32,11 +32,11 @@
     rulesMap.put(new Pattern("group/fruitShell"), new FruitShellAction());
     rulesMap.put(new Pattern("group/fruitShell/fruit"), new FruitFactoryAction());
     rulesMap.put(new Pattern("group/fruitShell/fruit/*"), new NOPAction());
-    SimpleConfigurator gc = new SimpleConfigurator(rulesMap);
+    SimpleConfigurator simpleConfigurator = new SimpleConfigurator(rulesMap);
 
-    gc.setContext(fruitContext);
+    simpleConfigurator.setContext(fruitContext);
 
-    gc.doConfigure(Constants.TEST_DIR_PREFIX + "input/joran/" + filename);
+    simpleConfigurator.doConfigure(Constants.TEST_DIR_PREFIX + "input/joran/" + filename);
 
     StatusPrinter.print(fruitContext);
     return fruitContext.getFruitShellList();

Modified: logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitFactory.java
==============================================================================
--- logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitFactory.java	(original)
+++ logback/trunk/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitFactory.java	Thu Oct 19 17:12:03 2006
@@ -18,7 +18,7 @@
 
   public Fruit buildFruit() {
     for (SaxEvent se : eventList) {
-      System.out.println(se);
+      System.out.println("Event to replay: "+se);
     }
     Context context = new ContextBase();
     this.fruit = null;



More information about the logback-dev mailing list