You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2013/04/02 21:03:58 UTC
svn commit: r1463683 -
/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCompositeConfiguration.java
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);
}