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
{