org.apache.commons.functor.example.map
Class TestPredicatedMap

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.functor.example.map.TestPredicatedMap
All Implemented Interfaces:
junit.framework.Test

public class TestPredicatedMap
extends junit.framework.TestCase

Version:
$Revision: 666324 $ $Date: 2008-06-10 23:01:40 +0200 (Tue, 10 Jun 2008) $
Author:
Rodney Waldhoff

Constructor Summary
TestPredicatedMap(String testName)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testCanPutMatchingPair()
           
 void testCantPutInvalidKey()
           
 void testCantPutInvalidValue()
           
 void testOnlyValidPairsAreAddedInPutAll()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPredicatedMap

public TestPredicatedMap(String testName)
Method Detail

suite

public static junit.framework.Test suite()

setUp

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

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testCanPutMatchingPair

public void testCanPutMatchingPair()

testCantPutInvalidValue

public void testCantPutInvalidValue()

testCantPutInvalidKey

public void testCantPutInvalidKey()

testOnlyValidPairsAreAddedInPutAll

public void testOnlyValidPairsAreAddedInPutAll()


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.