org.apache.commons.configuration
Class TestConfigurationFactory

java.lang.Object
  extended by org.apache.commons.configuration.TestConfigurationFactory

public class TestConfigurationFactory
extends Object

Test the ConfigurationFactory.

Version:
$Id: TestConfigurationFactory.java 1223011 2011-12-24 20:30:45Z oheger $

Constructor Summary
TestConfigurationFactory()
           
 
Method Summary
 void setUp()
           
 void testAllConfiguration()
           
 void testBasePath()
           
 void testJNDI()
           
 void testLoadAbsolutePath()
           
 void testLoadingAdditional()
           
 void testLoadingConfiguration()
           
 void testLoadingConfigurationBasePath()
           
 void testLoadingConfigurationNamespaceAware()
           
 void testLoadingConfigurationReverseOrder()
           
 void testLoadingConfigurationWithRulesXML()
           
 void testLoadingURL()
           
 void testLoadingURLNonExisting()
           
 void testLoadingWithSystemProperties()
           
 void testLoadInitProperties()
           
 void testOptionalConfigurations()
           
 void testThrowingConfigurationInitializationException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConfigurationFactory

public TestConfigurationFactory()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testJNDI

public void testJNDI()
              throws Exception
Throws:
Exception

testLoadingConfiguration

public void testLoadingConfiguration()
                              throws Exception
Throws:
Exception

testLoadingConfigurationWithRulesXML

public void testLoadingConfigurationWithRulesXML()
                                          throws Exception
Throws:
Exception

testLoadingConfigurationReverseOrder

public void testLoadingConfigurationReverseOrder()
                                          throws Exception
Throws:
Exception

testLoadingConfigurationNamespaceAware

public void testLoadingConfigurationNamespaceAware()
                                            throws Exception
Throws:
Exception

testLoadingConfigurationBasePath

public void testLoadingConfigurationBasePath()
                                      throws Exception
Throws:
Exception

testLoadingAdditional

public void testLoadingAdditional()
                           throws Exception
Throws:
Exception

testLoadingURL

public void testLoadingURL()
                    throws Exception
Throws:
Exception

testLoadingURLNonExisting

public void testLoadingURLNonExisting()
                               throws Exception
Throws:
Exception

testThrowingConfigurationInitializationException

public void testThrowingConfigurationInitializationException()
                                                      throws Exception
Throws:
Exception

testAllConfiguration

public void testAllConfiguration()
                          throws Exception
Throws:
Exception

testOptionalConfigurations

public void testOptionalConfigurations()
                                throws Exception
Throws:
Exception

testLoadAbsolutePath

public void testLoadAbsolutePath()
                          throws Exception
Throws:
Exception

testBasePath

public void testBasePath()
                  throws Exception
Throws:
Exception

testLoadingWithSystemProperties

public void testLoadingWithSystemProperties()
                                     throws ConfigurationException
Throws:
ConfigurationException

testLoadInitProperties

public void testLoadInitProperties()
                            throws ConfigurationException
Throws:
ConfigurationException


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