commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r610881 - /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
Date Thu, 10 Jan 2008 19:14:03 GMT
Author: oheger
Date: Thu Jan 10 11:14:02 2008
New Revision: 610881

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java?rev=610881&r1=610880&r2=610881&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
Thu Jan 10 11:14:02 2008
@@ -51,9 +51,9 @@
     /**
      * 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