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:10:09 UTC

svn commit: r1463695 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestXMLConfigurationEvents.java

Author: oheger
Date: Tue Apr  2 19:10:09 2013
New Revision: 1463695

URL: http://svn.apache.org/r1463695
Log:
Adapted test class: XMLConfiguration no longer fires reload events.

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

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestXMLConfigurationEvents.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestXMLConfigurationEvents.java?rev=1463695&r1=1463694&r2=1463695&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestXMLConfigurationEvents.java (original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestXMLConfigurationEvents.java Tue Apr  2 19:10:09 2013
@@ -16,12 +16,7 @@
  */
 package org.apache.commons.configuration.event;
 
-import java.io.File;
-import java.io.IOException;
-import java.net.URL;
-
 import org.apache.commons.configuration.AbstractConfiguration;
-import org.apache.commons.configuration.ConfigurationAssert;
 import org.apache.commons.configuration.XMLConfiguration;
 
 /**
@@ -30,16 +25,8 @@ import org.apache.commons.configuration.
  * @version $Id$
  */
 public class TestXMLConfigurationEvents extends
-        AbstractTestFileConfigurationEvents
+        AbstractTestConfigurationEvents
 {
-    static final File TEST_FILE = ConfigurationAssert.getTestFile("test.xml");
-
-    @Override
-    protected URL getSourceURL() throws IOException
-    {
-        return TEST_FILE.toURI().toURL();
-    }
-
     @Override
     protected AbstractConfiguration createConfiguration()
     {