public class TestDefaultConfigurationBuilder extends TestCase (Code)
Test class for DefaultConfigurationBuilder.
author: Oliver Heger version: $Id: TestDefaultConfigurationBuilder.java 384601 2006-03-09 version: 20:22:58Z oheger $
testComplexInitialization() Tests reading a configuration definition file that contains complex
initialization of properties of the declared configuration sources.
Tests loading an optional configuration with the force create attribute
set. The provider will always throw an exception. In this case the
configuration will not be added to the resulting combined configuration.
Tries to load a configuration file with an optional, non file-based
configuration. The optional attribute should work for other configuration
classes, too.
Tests loading a definition file with optional and non optional
configuration sources. One non optional does not exist, so this should
cause an exception.
testRemoveConfigurationProvider
public void testRemoveConfigurationProvider()(Code)