org.apache.commons.configuration.reloading
Class TestVFSFileChangedReloadingStrategy

java.lang.Object
  extended by org.apache.commons.configuration.reloading.TestVFSFileChangedReloadingStrategy

public class TestVFSFileChangedReloadingStrategy
extends Object

Test case for the VFSFileMonitorReloadingStrategy class.

Version:
$Id: TestVFSFileChangedReloadingStrategy.java 1225909 2011-12-30 20:09:00Z oheger $
Author:
Ralph Goers

Constructor Summary
TestVFSFileChangedReloadingStrategy()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAutomaticReloading()
           
 void testGetRefreshDelay()
           
 void testNewFileReloading()
           
 void testReloadingRequiredMultipleTimes()
          Tests calling reloadingRequired() multiple times before a reload actually happens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestVFSFileChangedReloadingStrategy

public TestVFSFileChangedReloadingStrategy()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testAutomaticReloading

public void testAutomaticReloading()
                            throws Exception
Throws:
Exception

testNewFileReloading

public void testNewFileReloading()
                          throws Exception
Throws:
Exception

testGetRefreshDelay

public void testGetRefreshDelay()
                         throws Exception
Throws:
Exception

testReloadingRequiredMultipleTimes

public void testReloadingRequiredMultipleTimes()
                                        throws ConfigurationException
Tests calling reloadingRequired() multiple times before a reload actually happens. This test is related to CONFIGURATION-302.

Throws:
ConfigurationException


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