org.apache.myfaces.trinidadbuild.test
Class MapTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.trinidadbuild.test.MapTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ArrayMapTest, ValueMapTest

public abstract class MapTestCase
extends junit.framework.TestCase

Base class for Map test cases.


Constructor Summary
MapTestCase(String testName)
           
 
Method Summary
protected abstract  Map<String,Object> createMap()
           
protected  boolean isNullRemove()
           
protected  boolean supportsIteratorRemove()
           
protected  boolean supportsNullKeys()
           
protected  boolean supportsNullValues()
           
 void testEntrySet()
           
 void testEquals()
           
 void testInitialState()
           
 void testKeySet()
           
 void testPut()
           
 void testPutAll()
           
 void testPutNull()
           
 void testRemove()
           
 void testValues()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapTestCase

public MapTestCase(String testName)
Method Detail

testInitialState

public void testInitialState()

testPut

public void testPut()

testPutAll

public void testPutAll()

testPutNull

public void testPutNull()

testEntrySet

public void testEntrySet()

testEquals

public void testEquals()

testRemove

public void testRemove()

testKeySet

public void testKeySet()

testValues

public void testValues()

isNullRemove

protected boolean isNullRemove()

supportsNullValues

protected boolean supportsNullValues()

supportsNullKeys

protected boolean supportsNullKeys()

supportsIteratorRemove

protected boolean supportsIteratorRemove()

createMap

protected abstract Map<String,Object> createMap()


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