net.walend.collection.test
Class ImmutableBagTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.walend.toolkit.junit.TestCase
                    |
                    +--net.walend.collection.test.BagTest
                          |
                          +--net.walend.collection.test.ImmutableBagTest
All Implemented Interfaces:
junit.framework.Test

public class ImmutableBagTest
extends BagTest

Author:
David Walend dfw1@cornell.edu

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ImmutableBagTest(java.lang.String testName)
           
 
Method Summary
protected  Bag createEmptyBag()
           
protected  Bag createTestBag()
           
static junit.framework.Test suite()
           
 void testAdd()
           
 void testAddAll()
           
 void testClear()
           
 void testRemove()
           
 void testRemoveAll()
           
 void testRetainAll()
           
 
Methods inherited from class net.walend.collection.test.BagTest
fillTestBag, testContains, testContainsAll, testCountObjects, testGetPrincipleInterface, testIsEmpty, testIterator, testQueriesOnEmptyBag, testQueriesOnTestBag, testSameContentsAs, testSameStateAs, testSerialization, testSize, testToString
 
Methods inherited from class net.walend.toolkit.junit.TestCase
fail, fail
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

ImmutableBagTest

public ImmutableBagTest(java.lang.String testName)
Method Detail

createEmptyBag

protected Bag createEmptyBag()
Specified by:
createEmptyBag in class BagTest

createTestBag

protected Bag createTestBag()
Specified by:
createTestBag in class BagTest

testAdd

public void testAdd()
Overrides:
testAdd in class BagTest

testRemove

public void testRemove()
Overrides:
testRemove in class BagTest

testAddAll

public void testAddAll()
Overrides:
testAddAll in class BagTest

testRemoveAll

public void testRemoveAll()
Overrides:
testRemoveAll in class BagTest

testRetainAll

public void testRetainAll()
Overrides:
testRetainAll in class BagTest

testClear

public void testClear()
Overrides:
testClear in class BagTest

suite

public static junit.framework.Test suite()


Copyright (c) 2001, 2002, David Walend