|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestAbstractConfiguration
org.apache.commons.configuration.TestMapConfiguration
public class TestMapConfiguration
Tests for MapConfiguration.
Constructor Summary | |
---|---|
TestMapConfiguration()
|
Method Summary | |
---|---|
protected AbstractConfiguration |
getConfiguration()
Return an abstract configuration with the following data: key1 = value1 key2 = value2 list = value1, value2 listesc = value1\\,value2 |
protected AbstractConfiguration |
getEmptyConfiguration()
Return an empty configuration. |
void |
testAddProperty()
Tests adding another value to an existing property. |
void |
testClone()
|
void |
testCloneModify()
Tests if the cloned configuration is decoupled from the original. |
void |
testGetMap()
|
void |
testGetPropertyTrim()
Tests querying a property when trimming is active. |
void |
testGetPropertyTrimDisabled()
Tests querying a property when trimming is disabled. |
void |
testGetPropertyTrimNoSplit()
Tests querying a property when trimming is enabled, but list splitting is disabled. |
Methods inherited from class org.apache.commons.configuration.TestAbstractConfiguration |
---|
testAddPropertyDirect, testClearProperty, testContainsKey, testGetBigIntegerConversion, testGetKeys, testGetProperty, testIsEmpty, testList, testListEscaped, testSetLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestMapConfiguration()
Method Detail |
---|
protected AbstractConfiguration getConfiguration()
TestAbstractConfiguration
key1 = value1 key2 = value2 list = value1, value2 listesc = value1\\,value2
getConfiguration
in class TestAbstractConfiguration
protected AbstractConfiguration getEmptyConfiguration()
TestAbstractConfiguration
getEmptyConfiguration
in class TestAbstractConfiguration
public void testGetMap()
public void testClone()
public void testCloneModify()
public void testAddProperty()
public void testGetPropertyTrim()
public void testGetPropertyTrimDisabled()
public void testGetPropertyTrimNoSplit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |