org.apache.commons.configuration.event
Class TestPropertiesConfigurationEvents

java.lang.Object
  extended by org.apache.commons.configuration.event.AbstractTestConfigurationEvents
      extended by org.apache.commons.configuration.event.AbstractTestFileConfigurationEvents
          extended by org.apache.commons.configuration.event.TestPropertiesConfigurationEvents

public class TestPropertiesConfigurationEvents
extends AbstractTestFileConfigurationEvents

Test class for the events generated by properties configurations. This class also tests reload events.

Version:
$Id: TestPropertiesConfigurationEvents.java 1225648 2011-12-29 20:55:07Z oheger $

Field Summary
 
Fields inherited from class org.apache.commons.configuration.event.AbstractTestConfigurationEvents
config, l
 
Constructor Summary
TestPropertiesConfigurationEvents()
           
 
Method Summary
protected  AbstractConfiguration createConfiguration()
          Creates the configuration instance to be tested.
protected  URL getSourceURL()
          Returns the URL of the file to be loaded.
 
Methods inherited from class org.apache.commons.configuration.event.AbstractTestFileConfigurationEvents
setUpFileConfiguration, testAccessPropertiesOnReload, testReloadEvent, testReloadEventWithDetails
 
Methods inherited from class org.apache.commons.configuration.event.AbstractTestConfigurationEvents
setUp, testAddPropertyEvent, testAddPropertyEventWithDetails, testClearEvent, testClearEventWithDetails, testClearPropertyEvent, testClearPropertyEventWithDetails, testSetPropertyEvent, testSetPropertyEventWithDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPropertiesConfigurationEvents

public TestPropertiesConfigurationEvents()
Method Detail

createConfiguration

protected AbstractConfiguration createConfiguration()
Description copied from class: AbstractTestConfigurationEvents
Creates the configuration instance to be tested.

Specified by:
createConfiguration in class AbstractTestConfigurationEvents
Returns:
the configuration instance under test

getSourceURL

protected URL getSourceURL()
                    throws IOException
Description copied from class: AbstractTestFileConfigurationEvents
Returns the URL of the file to be loaded. Must be implemented in concrete test classes.

Specified by:
getSourceURL in class AbstractTestFileConfigurationEvents
Returns:
the URL of the file-based configuration
Throws:
IOException - if an error occurs


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.