commons-commits mailing list archives

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

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfigurationEvents.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfigurationEvents.java?rev=610889&r1=610888&r2=610889&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfigurationEvents.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfigurationEvents.java
Thu Jan 10 11:31:50 2008
@@ -19,6 +19,7 @@
 import java.io.File;
 
 import org.apache.commons.configuration.AbstractConfiguration;
+import org.apache.commons.configuration.ConfigurationAssert;
 import org.apache.commons.configuration.ConfigurationException;
 import org.apache.commons.configuration.ConfigurationRuntimeException;
 
@@ -31,7 +32,7 @@
         AbstractTestPListEvents
 {
     /** Constant for the test file that will be loaded. */
-    private static final File TEST_FILE = new File("conf/test.plist");
+    private static final File TEST_FILE = ConfigurationAssert.getTestFile("test.plist");
 
     protected AbstractConfiguration createConfiguration()
     {
@@ -44,5 +45,4 @@
             throw new ConfigurationRuntimeException(cex);
         }
     }
-
 }



Mime
View raw message