|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestNullCompositeConfiguration
public class TestNullCompositeConfiguration
Test loading multiple configurations.
Field Summary | |
---|---|
protected CompositeConfiguration |
cc
|
protected PropertiesConfiguration |
conf1
|
protected PropertiesConfiguration |
conf2
|
protected XMLConfiguration |
xmlConf
|
Constructor Summary | |
---|---|
TestNullCompositeConfiguration()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testAddingProperty()
Tests adding values. |
void |
testAddRemoveConfigurations()
|
void |
testCantRemoveMemoryConfig()
|
void |
testCheckingInMemoryConfiguration()
|
void |
testClearingProperty()
Tests setting values. |
void |
testDefaultValueWhenKeyMissing()
Tests getting a default when the key doesn't exist |
void |
testGetKeys2PreservesOrder()
Tests getKeys(String key) preserves the order |
void |
testGetKeysPreservesOrder()
Tests getKeys() preserves the order |
void |
testGetList()
|
void |
testGetProperty()
|
void |
testGetPropertyMissing()
|
void |
testGetPropertyWIncludes()
|
void |
testGetStringWithDefaults()
|
void |
testGettingConfiguration()
|
void |
testGettingSubset()
Tests retrieving subsets of configurations |
void |
testGetVector()
|
void |
testList()
Tests List parsing. |
void |
testMultipleTypesOfConfigs()
|
void |
testPropertyExistsInOnlyOneConfig()
|
void |
testSettingMissingProperty()
Tests setting values. |
void |
testStringArray()
Tests String array parsing. |
void |
testSubsetCanResolve()
Tests subsets and still can resolve elements |
void |
testThrowExceptionOnMissing()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PropertiesConfiguration conf1
protected PropertiesConfiguration conf2
protected XMLConfiguration xmlConf
protected CompositeConfiguration cc
Constructor Detail |
---|
public TestNullCompositeConfiguration()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void testThrowExceptionOnMissing()
public void testAddRemoveConfigurations() throws Exception
Exception
public void testGetPropertyWIncludes() throws Exception
Exception
public void testGetProperty() throws Exception
Exception
public void testCantRemoveMemoryConfig() throws Exception
Exception
public void testGetPropertyMissing() throws Exception
Exception
public void testMultipleTypesOfConfigs() throws Exception
Exception
public void testPropertyExistsInOnlyOneConfig() throws Exception
Exception
public void testDefaultValueWhenKeyMissing() throws Exception
Exception
public void testGettingConfiguration() throws Exception
Exception
public void testClearingProperty() throws Exception
Exception
public void testAddingProperty() throws Exception
Exception
public void testSettingMissingProperty() throws Exception
Exception
public void testGettingSubset() throws Exception
Exception
public void testSubsetCanResolve() throws Exception
Exception
public void testList() throws Exception
List
parsing.
Exception
public void testStringArray() throws Exception
String
array parsing.
Exception
public void testGetList()
public void testGetVector()
public void testGetKeysPreservesOrder() throws Exception
getKeys()
preserves the order
Exception
public void testGetKeys2PreservesOrder() throws Exception
getKeys(String key)
preserves the order
Exception
public void testGetStringWithDefaults()
public void testCheckingInMemoryConfiguration() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |