|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestDatabaseConfiguration
public class TestDatabaseConfiguration
Test for database stored configurations. Note, when running this Unit Test in Eclipse it sometimes takes a couple tries. Otherwise you may get database is already in use by another process errors.
Constructor Summary | |
---|---|
TestDatabaseConfiguration()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testAddNonStringProperty()
|
void |
testAddPropertyDirectCommit()
Tests whether a commit is performed after a property was added. |
void |
testAddPropertyDirectMultiple()
|
void |
testAddPropertyDirectSingle()
|
void |
testAddPropertyError()
Tests handling of errors in addPropertyDirect(). |
void |
testAddWithDelimiter()
Tests adding a property containing the list delimiter. |
void |
testClearCommit()
Tests whether a commit is performed after a clear operation. |
void |
testClearError()
Tests handling of errors in clear(). |
void |
testClearMultiple()
|
void |
testClearPropertyCommit()
Tests whether a commit is performed after a property was cleared. |
void |
testClearPropertyError()
Tests handling of errors in clearProperty(). |
void |
testClearPropertyMultiple()
|
void |
testClearPropertyMultipleOtherConfig()
Tests that another configuration is not affected when clearing properties. |
void |
testClearPropertySingle()
|
void |
testClearSingle()
|
void |
testClearSubset()
|
void |
testContainsKeyError()
Tests handling of errors in containsKey(). |
void |
testContainsKeyMultiple()
|
void |
testContainsKeySingle()
|
void |
testDoCommitsDefault()
Tests the default value of the doCommits property. |
void |
testDoCommitsDefaultMulti()
Tests the default value of the doCommits property for multiple configurations in a table. |
void |
testGetKeys()
|
void |
testGetKeysError()
Tests handling of errors in getKeys(). |
void |
testGetKeysMultiple()
|
void |
testGetKeysSingle()
|
void |
testGetList()
|
void |
testGetListWithDelimiter()
Tests obtaining a property as list whose value contains the list delimiter. |
void |
testGetListWithDelimiterParsingDisabled()
Tests obtaining a property whose value contains the list delimiter when delimiter parsing is disabled. |
void |
testGetPropertyDirectMultiple()
|
void |
testGetPropertyDirectSingle()
|
void |
testGetPropertyError()
Tests handling of errors in getProperty(). |
void |
testIsEmptyError()
Tests handling of errors in isEmpty(). |
void |
testIsEmptyMultiple()
|
void |
testIsEmptySingle()
|
void |
testLogErrorListener()
Tests whether the configuration has already an error listener registered that is used for logging. |
void |
testSetPropertyWithDelimiter()
Tests setProperty() if the property value contains the list delimiter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestDatabaseConfiguration()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public void testDoCommitsDefault()
public void testDoCommitsDefaultMulti()
public void testAddPropertyDirectSingle()
public void testAddPropertyDirectCommit()
public void testAddPropertyDirectMultiple()
public void testAddNonStringProperty()
public void testGetPropertyDirectSingle()
public void testGetPropertyDirectMultiple()
public void testClearPropertySingle()
public void testClearPropertyMultiple()
public void testClearPropertyMultipleOtherConfig()
public void testClearPropertyCommit()
public void testClearSingle()
public void testClearMultiple()
public void testClearCommit()
public void testGetKeysSingle()
public void testGetKeysMultiple()
public void testContainsKeySingle()
public void testContainsKeyMultiple()
public void testIsEmptySingle()
public void testIsEmptyMultiple()
public void testGetList()
public void testGetKeys()
public void testClearSubset()
public void testLogErrorListener()
public void testGetPropertyError()
public void testAddPropertyError()
public void testIsEmptyError()
public void testContainsKeyError()
public void testClearPropertyError()
public void testClearError()
public void testGetKeysError()
public void testGetListWithDelimiter()
public void testGetListWithDelimiterParsingDisabled()
public void testAddWithDelimiter()
public void testSetPropertyWithDelimiter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |