net.walend.collection.test
Class AbstractSetTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.walend.toolkit.junit.TestCase
                    |
                    +--net.walend.collection.test.AbstractSetTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractMutableSetTest, AbstractSetOfFreezablesTest, HashSetTest, HashSetTest

public abstract class AbstractSetTest
extends TestCase

Since:
20010712
Author:
David Walend

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AbstractSetTest(java.lang.String testName)
           
 
Method Summary
protected abstract  Set getEmptyTestSet()
           
protected abstract  TestCollectionFactory getTestCollectionFactory()
           
protected abstract  Set getTestSet()
           
protected  void testContains(Set victem, java.lang.Object ob, boolean expected)
           
protected  void testContainsAll(Set victem, Set contents, boolean expected)
           
 void testCopyConstructor()
           
 void testGetIdentitor()
           
protected  void testGetIdentitor(Set victem, Identitor expected)
           
 void testGetJavaCollection()
           
 void testGetJavaSet()
           
 void testGetPrincipleInterface()
           
 void testImmutable()
           
 void testImmutable(java.lang.Object ob, boolean immutable)
           
protected  void testIsEmpty(Set victem, boolean expected)
           
protected  void testIterator(Set victem, Set expected)
           
 void testIteratorRemove()
           
 void testQueriesOnEmpty()
           
 void testQueriesOnTestSet()
           
protected  void testSameContentsAs(Set victem, Set contents, boolean expected)
           
 void testSameStateAs()
           
protected  void testSize(Set victem, int expected)
           
 
Methods inherited from class net.walend.toolkit.junit.TestCase
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

AbstractSetTest

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

testGetIdentitor

public void testGetIdentitor()

testGetIdentitor

protected void testGetIdentitor(Set victem,
                                Identitor expected)

testCopyConstructor

public void testCopyConstructor()

testSize

protected void testSize(Set victem,
                        int expected)

testIsEmpty

protected void testIsEmpty(Set victem,
                           boolean expected)

testContains

protected void testContains(Set victem,
                            java.lang.Object ob,
                            boolean expected)

testIterator

protected void testIterator(Set victem,
                            Set expected)

testContainsAll

protected void testContainsAll(Set victem,
                               Set contents,
                               boolean expected)

testSameContentsAs

protected void testSameContentsAs(Set victem,
                                  Set contents,
                                  boolean expected)

testQueriesOnEmpty

public void testQueriesOnEmpty()

testQueriesOnTestSet

public void testQueriesOnTestSet()

testGetJavaCollection

public void testGetJavaCollection()

testGetJavaSet

public void testGetJavaSet()

testGetPrincipleInterface

public void testGetPrincipleInterface()

testSameStateAs

public void testSameStateAs()

testImmutable

public void testImmutable(java.lang.Object ob,
                          boolean immutable)

testImmutable

public void testImmutable()

testIteratorRemove

public void testIteratorRemove()

getEmptyTestSet

protected abstract Set getEmptyTestSet()

getTestSet

protected abstract Set getTestSet()

getTestCollectionFactory

protected abstract TestCollectionFactory getTestCollectionFactory()


Copyright (c) 2000, 2001, David Walend