commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r610890 - /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfiguration.java
Date Thu, 10 Jan 2008 19:33:25 GMT
Author: oheger
Date: Thu Jan 10 11:33:24 2008
New Revision: 610890

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfiguration.java?rev=610890&r1=610889&r2=610890&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestPropertyListConfiguration.java
Thu Jan 10 11:33:24 2008
@@ -30,6 +30,7 @@
 import junitx.framework.ListAssert;
 import junitx.framework.ObjectAssert;
 import org.apache.commons.configuration.Configuration;
+import org.apache.commons.configuration.ConfigurationAssert;
 import org.apache.commons.configuration.ConfigurationComparator;
 import org.apache.commons.configuration.ConfigurationException;
 import org.apache.commons.configuration.StrictConfigurationComparator;
@@ -42,7 +43,7 @@
 {
     private PropertyListConfiguration config;
 
-    private String testProperties = new File("conf/test.plist").getAbsolutePath();
+    private String testProperties = ConfigurationAssert.getTestFile("test.plist").getAbsolutePath();
 
     protected void setUp() throws Exception
     {



Mime
View raw message