|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestJNDIConfiguration
public class TestJNDIConfiguration
Test to see if the JNDIConfiguration works properly.
Nested Class Summary | |
---|---|
static class |
TestJNDIConfiguration.PotentialErrorJNDIConfiguration
A special JNDI configuration implementation that can be configured to throw an exception when accessing the base context. |
Field Summary | |
---|---|
static String |
CONTEXT_FACTORY
|
Constructor Summary | |
---|---|
TestJNDIConfiguration()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
Clears the test environment. |
void |
testBoolean()
|
void |
testBooleanDefaultValue()
|
void |
testByte()
|
void |
testChangePrefix()
|
void |
testConstructor()
|
void |
testContainsKey()
|
void |
testContainsKeyError()
Tests handling of errors in the containsKey() method. |
void |
testDouble()
|
void |
testDoubleDefaultValue()
|
void |
testFloat()
|
void |
testFloatDefaultValue()
|
void |
testGetKeysError()
Tests handling of errors in getKeys(). |
void |
testGetKeysNoData()
Tests getKeys() if no data is found. |
void |
testGetKeysWithCycles()
Tests the getKeys() method when there are cycles in the tree. |
void |
testGetPropertyError()
Tests handling of errors in getProperty(). |
void |
testInteger()
|
void |
testIntegerDefaultValue()
|
void |
testIsEmptyError()
Tests handling of errors in isEmpty(). |
void |
testListMissing()
|
void |
testLogListener()
Tests whether a JNDI configuration registers an error log listener. |
void |
testLong()
|
void |
testLongDefaultValue()
|
void |
testProperties()
|
void |
testResetRemovedProperties()
|
void |
testShort()
|
void |
testShortDefaultValue()
|
void |
testSubset()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONTEXT_FACTORY
Constructor Detail |
---|
public TestJNDIConfiguration()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public void testBoolean() throws Exception
Exception
public void testBooleanDefaultValue() throws Exception
Exception
public void testByte() throws Exception
Exception
public void testDouble() throws Exception
Exception
public void testDoubleDefaultValue() throws Exception
Exception
public void testFloat() throws Exception
Exception
public void testFloatDefaultValue() throws Exception
Exception
public void testInteger() throws Exception
Exception
public void testIntegerDefaultValue() throws Exception
Exception
public void testLong() throws Exception
Exception
public void testLongDefaultValue() throws Exception
Exception
public void testShort() throws Exception
Exception
public void testShortDefaultValue() throws Exception
Exception
public void testListMissing() throws Exception
Exception
public void testSubset() throws Exception
Exception
public void testProperties() throws Exception
Exception
public void testContainsKey()
public void testChangePrefix()
public void testResetRemovedProperties() throws Exception
Exception
public void testConstructor() throws Exception
Exception
public void testLogListener() throws NamingException
NamingException
public void testGetKeysError()
public void testIsEmptyError() throws Exception
Exception
public void testContainsKeyError()
public void testGetPropertyError()
public void testGetKeysWithCycles() throws NamingException
NamingException
public void testGetKeysNoData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |