|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.interpol.TestConfigurationInterpolator
public class TestConfigurationInterpolator
Test class for ConfigurationInterpolator.
Constructor Summary | |
---|---|
TestConfigurationInterpolator()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
Cleans the test environment. |
void |
testDeregisterGlobalLookup()
Tests deregistering a global lookup object. |
void |
testDeregisterGlobalLookupNonExisting()
Tests deregistering an unknown lookup. |
void |
testDeregisterLookup()
Tests deregistering a local lookup object. |
void |
testDeregisterLookupNonExisting()
Tests deregistering an unknown lookup object. |
void |
testInit()
Tests creating an instance. |
void |
testLookupConstants()
Tests whether constants can be correctly resolved. |
void |
testLookupDefault()
Tests looking up a variable without a prefix. |
void |
testLookupDefaultAfterPrefixFails()
Tests whether the default lookup is called for variables with a prefix when the lookup that was registered for this prefix is not able to resolve the variable. |
void |
testLookupDefaultEmptyVarName()
Tests an empty variable name without a prefix. |
void |
testLookupEmptyPrefix()
Tests the empty variable prefix. |
void |
testLookupEmptyVarName()
Tests an empty variable name. |
void |
testLookupNoDefault()
Tests looking up a variable without a prefix when no default lookup is specified. |
void |
testLookupNull()
Tests looking up a null variable. |
void |
testLookupSysProperties()
Tests whether system properties can be correctly resolved. |
void |
testLookupWithPrefix()
Tests whether a variable can be resolved using the associated lookup object. |
void |
testLookupWithUnknownPrefix()
Tests the behavior of the lookup method for variables with an unknown prefix. |
void |
testRegisterGlobalLookup()
Tests registering a global lookup object. |
void |
testRegisterGlobalLookupNull()
Tries to register a global null lookup. |
void |
testRegisterGlobalLookupNullPrefix()
Tries to register a global lookup for a null prefix. |
void |
testRegisterLookup()
Tests registering a lookup object at an instance. |
void |
testRegisterLookupNull()
Tests registering a null lookup object. |
void |
testRegisterLookupNullPrefix()
Tests registering a lookup object for an undefined prefix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestConfigurationInterpolator()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public void testInit()
public void testRegisterGlobalLookupNullPrefix()
public void testRegisterGlobalLookupNull()
public void testRegisterGlobalLookup()
public void testDeregisterGlobalLookup()
public void testDeregisterGlobalLookupNonExisting()
public void testRegisterLookup()
public void testRegisterLookupNull()
public void testRegisterLookupNullPrefix()
public void testDeregisterLookup()
public void testDeregisterLookupNonExisting()
public void testLookupWithPrefix()
public void testLookupWithUnknownPrefix()
public void testLookupDefault()
public void testLookupNoDefault()
public void testLookupEmptyPrefix()
public void testLookupEmptyVarName()
public void testLookupDefaultEmptyVarName()
public void testLookupNull()
public void testLookupSysProperties()
public void testLookupConstants()
public void testLookupDefaultAfterPrefixFails()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |