org.springframework.osgi.util
Class MapBasedDictionaryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.osgi.util.MapBasedDictionaryTest
All Implemented Interfaces:
Test

public class MapBasedDictionaryTest
extends TestCase

Test for the Dictionary contract of MapBasedDictionary.

Author:
Costin Leau

Constructor Summary
MapBasedDictionaryTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testClear()
           
 void testContainsKey()
           
 void testDictionaryWithDictionary()
           
 void testDictionaryWithNullMap()
           
 void testElements()
           
 void testGetNullObject()
           
 void testGetObject()
           
 void testHashCode()
           
 void testKeys()
           
 void testPutAllDictionary()
           
 void testPutNullKey()
           
 void testPutNullValue()
           
 void testPutObjectObject()
           
 void testRemoveNullObject()
           
 void testRemoveObject()
           
 void testSize()
           
 void testValue()
           
 void testValues()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapBasedDictionaryTest

public MapBasedDictionaryTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class TestCase
Throws:
Exception

testDictionaryWithNullMap

public void testDictionaryWithNullMap()

testElements

public void testElements()

testKeys

public void testKeys()

testGetObject

public void testGetObject()

testGetNullObject

public void testGetNullObject()

testRemoveObject

public void testRemoveObject()

testRemoveNullObject

public void testRemoveNullObject()

testPutObjectObject

public void testPutObjectObject()

testPutNullValue

public void testPutNullValue()

testPutNullKey

public void testPutNullKey()

testSize

public void testSize()

testDictionaryWithDictionary

public void testDictionaryWithDictionary()

testPutAllDictionary

public void testPutAllDictionary()

testValues

public void testValues()
                throws Exception
Throws:
Exception

testClear

public void testClear()
               throws Exception
Throws:
Exception

testContainsKey

public void testContainsKey()
                     throws Exception
Throws:
Exception

testValue

public void testValue()
               throws Exception
Throws:
Exception

testHashCode

public void testHashCode()
                  throws Exception
Throws:
Exception


Copyright © 2006-2011 Spring Framework. All Rights Reserved.