commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1460441 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestEqualBehaviour.java
Date Sun, 24 Mar 2013 20:17:24 GMT
Author: oheger
Date: Sun Mar 24 20:17:23 2013
New Revision: 1460441

URL: http://svn.apache.org/r1460441
Log:
Adapted tests to changes in PropertiesConfiguration.

PropertiesConfiguration no longer extends AbstractFileConfiguration.

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestEqualBehaviour.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestEqualBehaviour.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestEqualBehaviour.java?rev=1460441&r1=1460440&r2=1460441&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestEqualBehaviour.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestEqualBehaviour.java
Sun Mar 24 20:17:23 2013
@@ -24,6 +24,7 @@ import static org.junit.Assert.assertTru
 import java.util.Iterator;
 import java.util.List;
 
+import org.apache.commons.configuration.io.FileHandler;
 import org.junit.Test;
 
 /**
@@ -39,8 +40,9 @@ public class TestEqualBehaviour
     {
         String simpleConfigurationFile = ConfigurationAssert.getTestFile("testEqual.properties").getAbsolutePath();
         PropertiesConfiguration c = new PropertiesConfiguration();
-        c.setFileName(simpleConfigurationFile);
-        c.load();
+        FileHandler handler = new FileHandler(c);
+        handler.setFileName(simpleConfigurationFile);
+        handler.load();
         return c;
     }
 



Mime
View raw message