|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.configuration.TestJNDIConfiguration
public class TestJNDIConfiguration
Test to see if the JNDIConfiguration works properly.
| Field Summary | |
|---|---|
static java.lang.String |
CONTEXT_FACTORY
|
| Constructor Summary | |
|---|---|
TestJNDIConfiguration()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
protected 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 |
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 junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONTEXT_FACTORY
| Constructor Detail |
|---|
public TestJNDIConfiguration()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void testBoolean()
throws java.lang.Exception
java.lang.Exception
public void testBooleanDefaultValue()
throws java.lang.Exception
java.lang.Exception
public void testByte()
throws java.lang.Exception
java.lang.Exception
public void testDouble()
throws java.lang.Exception
java.lang.Exception
public void testDoubleDefaultValue()
throws java.lang.Exception
java.lang.Exception
public void testFloat()
throws java.lang.Exception
java.lang.Exception
public void testFloatDefaultValue()
throws java.lang.Exception
java.lang.Exception
public void testInteger()
throws java.lang.Exception
java.lang.Exception
public void testIntegerDefaultValue()
throws java.lang.Exception
java.lang.Exception
public void testLong()
throws java.lang.Exception
java.lang.Exception
public void testLongDefaultValue()
throws java.lang.Exception
java.lang.Exception
public void testShort()
throws java.lang.Exception
java.lang.Exception
public void testShortDefaultValue()
throws java.lang.Exception
java.lang.Exception
public void testListMissing()
throws java.lang.Exception
java.lang.Exception
public void testSubset()
throws java.lang.Exception
java.lang.Exception
public void testProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testContainsKey()
public void testChangePrefix()
public void testResetRemovedProperties()
throws java.lang.Exception
java.lang.Exception
public void testConstructor()
throws java.lang.Exception
java.lang.Exception
public void testLogListener()
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void testGetKeysError()
public void testIsEmptyError()
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void testContainsKeyError()
public void testGetPropertyError()
public void testGetKeysWithCycles()
throws javax.naming.NamingException
javax.naming.NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||