commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r610883 - /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java
Date Thu, 10 Jan 2008 19:18:12 GMT
Author: oheger
Date: Thu Jan 10 11:18:11 2008
New Revision: 610883

URL: http://svn.apache.org/viewvc?rev=610883&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/TestNullCompositeConfiguration.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java?rev=610883&r1=610882&r2=610883&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java
Thu Jan 10 11:18:11 2008
@@ -37,9 +37,9 @@
     protected CompositeConfiguration cc;
 
     /** The File that we test with */
-    private String testProperties = new File("conf/test.properties").getAbsolutePath();
-    private String testProperties2 = new File("conf/test2.properties").getAbsolutePath();
-    private String testPropertiesXML = new File("conf/test.xml").getAbsolutePath();
+    private String testProperties = ConfigurationAssert.getTestFile("test.properties").getAbsolutePath();
+    private String testProperties2 = ConfigurationAssert.getTestFile("test2.properties").getAbsolutePath();
+    private String testPropertiesXML = ConfigurationAssert.getTestFile("test.xml").getAbsolutePath();
 
     protected void setUp() throws Exception
     {



Mime
View raw message