commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1463683 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
Date Tue, 02 Apr 2013 19:03:58 GMT
Author: oheger
Date: Tue Apr  2 19:03:58 2013
New Revision: 1463683

URL: http://svn.apache.org/r1463683
Log:
Changed test class: Only use methods from FileBased interface to load and save XMLConfiguration
objects.

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

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java?rev=1463683&r1=1463682&r2=1463683&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
Tue Apr  2 19:03:58 2013
@@ -74,7 +74,9 @@ public class TestCompositeConfiguration
         FileHandler handler2 = new FileHandler(conf2);
         handler2.setFileName(testProperties2);
         handler2.load();
-        xmlConf = new XMLConfiguration(new File(testPropertiesXML));
+        xmlConf = new XMLConfiguration();
+        FileHandler handler3 = new FileHandler(xmlConf);
+        handler3.load(new File(testPropertiesXML));
 
         cc.setThrowExceptionOnMissing(true);
     }



Mime
View raw message