commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r610907 - /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/tree/AbstractCombinerTest.java
Date Thu, 10 Jan 2008 19:59:41 GMT
Author: oheger
Date: Thu Jan 10 11:59:40 2008
New Revision: 610907

URL: http://svn.apache.org/viewvc?rev=610907&view=rev
Log:
Adapted test to new location of test resources

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/tree/AbstractCombinerTest.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/tree/AbstractCombinerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/tree/AbstractCombinerTest.java?rev=610907&r1=610906&r2=610907&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/tree/AbstractCombinerTest.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/tree/AbstractCombinerTest.java
Thu Jan 10 11:59:40 2008
@@ -18,6 +18,7 @@
 
 import java.io.File;
 
+import org.apache.commons.configuration.ConfigurationAssert;
 import org.apache.commons.configuration.ConfigurationException;
 import org.apache.commons.configuration.HierarchicalConfiguration;
 import org.apache.commons.configuration.XMLConfiguration;
@@ -35,10 +36,10 @@
 public abstract class AbstractCombinerTest extends TestCase
 {
     /** Constant for the first test configuration. */
-    static File CONF1 = new File("conf/testcombine1.xml");
+    static File CONF1 = ConfigurationAssert.getTestFile("testcombine1.xml");
 
     /** Constant for the second test configuration. */
-    static File CONF2 = new File("conf/testcombine2.xml");
+    static File CONF2 = ConfigurationAssert.getTestFile("testcombine2.xml");
 
     /** The combiner to be tested. */
     protected NodeCombiner combiner;



Mime
View raw message