commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r610884 - /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/event/TestPropertiesConfigurationEvents.java
Date Thu, 10 Jan 2008 19:19:52 GMT
Author: oheger
Date: Thu Jan 10 11:19:51 2008
New Revision: 610884

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/event/TestPropertiesConfigurationEvents.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/event/TestPropertiesConfigurationEvents.java?rev=610884&r1=610883&r2=610884&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/event/TestPropertiesConfigurationEvents.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/event/TestPropertiesConfigurationEvents.java
Thu Jan 10 11:19:51 2008
@@ -21,6 +21,7 @@
 import java.net.URL;
 
 import org.apache.commons.configuration.AbstractConfiguration;
+import org.apache.commons.configuration.ConfigurationAssert;
 import org.apache.commons.configuration.PropertiesConfiguration;
 
 /**
@@ -33,8 +34,8 @@
         AbstractTestFileConfigurationEvents
 {
     /** The file to be loaded.*/
-    static final File TEST_FILE = new File("conf/test.properties");
-    
+    static final File TEST_FILE = ConfigurationAssert.getTestFile("test.properties");
+
     protected AbstractConfiguration createConfiguration()
     {
         return new PropertiesConfiguration();



Mime
View raw message