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

noreply.seb at qos.ch noreply.seb at qos.ch
Thu Jul 13 16:32:46 CEST 2006


Author: seb
Date: Thu Jul 13 16:32:46 2006
New Revision: 60

Modified:
   logback/core/trunk/src/test/java/ch/qos/logback/core/joran/SkippingInInterpreterTest.java
Log:
using new paths to access files

Modified: logback/core/trunk/src/test/java/ch/qos/logback/core/joran/SkippingInInterpreterTest.java
==============================================================================
--- logback/core/trunk/src/test/java/ch/qos/logback/core/joran/SkippingInInterpreterTest.java	(original)
+++ logback/core/trunk/src/test/java/ch/qos/logback/core/joran/SkippingInInterpreterTest.java	Thu Jul 13 16:32:46 2006
@@ -15,7 +15,6 @@
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
-
 import ch.qos.logback.core.ContextBase;
 import ch.qos.logback.core.joran.action.BadBeginAction;
 import ch.qos.logback.core.joran.action.BadEndAction;
@@ -72,9 +71,9 @@
     Interpreter jp = new Interpreter(rs);
     ExecutionContext ec = jp.getExecutionContext();
     ec.setContext(new ContextBase());
-
+    
     SAXParser saxParser = createParser();
-    saxParser.parse("file:input/joran/exception1.xml", jp);
+    saxParser.parse("file:src/test/input/joran/exception1.xml", jp);
     String str = (String) ec.getObjectMap().get("hello");
     assertEquals("Hello John Doe.", str);
 
@@ -100,7 +99,8 @@
     ExecutionContext ec = jp.getExecutionContext();
 
     SAXParser saxParser = createParser();
-    saxParser.parse("file:input/joran/badEnd1.xml", jp);
+    saxParser.parse("file:src/test/input/joran/badEnd1.xml", jp);
+    
     String str = (String) ec.getObjectMap().get("hello");
     assertNull(str);
     Integer i = (Integer) ec.getObjectMap().get(TouchAction.KEY);
@@ -119,8 +119,8 @@
     ExecutionContext ec = jp.getExecutionContext();
 
     SAXParser saxParser = createParser();
-    saxParser.parse("file:input/joran/badEnd2.xml", jp);
-
+    saxParser.parse("file:src/test/input/joran/badEnd2.xml", jp);
+    
     String str = (String) ec.getObjectMap().get("hello");
     assertEquals("Hello John Doe.", str);
     Integer i = (Integer) ec.getObjectMap().get(TouchAction.KEY);



More information about the logback-dev mailing list