org.apache.commons.configuration
Class TestJNDIEnvironmentValues

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.configuration.TestJNDIEnvironmentValues
All Implemented Interfaces:
junit.framework.Test

public class TestJNDIEnvironmentValues
extends junit.framework.TestCase


Constructor Summary
TestJNDIEnvironmentValues()
           
 
Method Summary
 void setUp()
           
 void testClearProperty()
           
 void testContainsKey()
           
 void testGetKeys()
           
 void testGetKeysWithExistingPrefix()
           
 void testGetKeysWithKeyAsPrefix()
           
 void testGetKeysWithUnknownPrefix()
           
 void testGetMissingKey()
           
 void testGetMissingKeyWithDefault()
           
 void testIsEmpty()
           
 void testMoreGets()
           
 void testSimpleGet()
           
 void testThrowExceptionOnMissing()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Constructor Detail

TestJNDIEnvironmentValues

public TestJNDIEnvironmentValues()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testThrowExceptionOnMissing

public void testThrowExceptionOnMissing()

testSimpleGet

public void testSimpleGet()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testMoreGets

public void testMoreGets()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testGetMissingKey

public void testGetMissingKey()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetMissingKeyWithDefault

public void testGetMissingKeyWithDefault()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testContainsKey

public void testContainsKey()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testClearProperty

public void testClearProperty()

testIsEmpty

public void testIsEmpty()

testGetKeys

public void testGetKeys()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetKeysWithUnknownPrefix

public void testGetKeysWithUnknownPrefix()

testGetKeysWithExistingPrefix

public void testGetKeysWithExistingPrefix()

testGetKeysWithKeyAsPrefix

public void testGetKeysWithKeyAsPrefix()


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.