|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.interpol.TestConstantLookup
public class TestConstantLookup
Test class for ConstantLookup.
Constructor Summary | |
---|---|
TestConstantLookup()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
Clears the test environment. |
void |
testLookupCache()
Tests accessing the cache by querying a variable twice. |
void |
testLookupConstant()
Tests resolving a valid constant. |
void |
testLookupInvalidSyntax()
Tries to resolve a variable with an invalid syntax: The name does not contain a dot as a field separator. |
void |
testLookupNonExisting()
Tests resolving a non existing constant. |
void |
testLookupNonStringFromCache()
Tests resolving a non string constant. |
void |
testLookupNull()
Tests looking up a null variable. |
void |
testLookupPrivate()
Tests resolving a private constant. |
void |
testLookupUnknownClass()
Tests resolving a field from an unknown class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestConstantLookup()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public void testLookupConstant()
public void testLookupNonExisting()
public void testLookupPrivate()
public void testLookupUnknownClass()
public void testLookupInvalidSyntax()
public void testLookupNull()
public void testLookupCache()
public void testLookupNonStringFromCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |