commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r610913 - /commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestXMLPropertyListConfiguration.java
Date Thu, 10 Jan 2008 20:12:57 GMT
Author: oheger
Date: Thu Jan 10 12:12:56 2008
New Revision: 610913

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestXMLPropertyListConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestXMLPropertyListConfiguration.java?rev=610913&r1=610912&r2=610913&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestXMLPropertyListConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/plist/TestXMLPropertyListConfiguration.java
Thu Jan 10 12:12:56 2008
@@ -24,6 +24,8 @@
 import junitx.framework.ObjectAssert;
 import junitx.framework.ArrayAssert;
 import junitx.framework.ListAssert;
+
+import org.apache.commons.configuration.ConfigurationAssert;
 import org.apache.commons.configuration.FileConfiguration;
 import org.apache.commons.configuration.Configuration;
 import org.apache.commons.configuration.HierarchicalConfiguration;
@@ -41,7 +43,7 @@
     protected void setUp() throws Exception
     {
         config = new XMLPropertyListConfiguration();
-        config.setFileName("conf/test.plist.xml");
+        config.setFile(ConfigurationAssert.getTestFile("test.plist.xml"));
         config.load();
     }
 



Mime
View raw message