net.walend.lyophil.collection.test
Class AbstractSetOfFreezablesTest

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

public abstract class AbstractSetOfFreezablesTest
extends AbstractSetTest

Since:
20010726
Author:
David Walend

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AbstractSetOfFreezablesTest(java.lang.String testName)
           
 
Method Summary
protected abstract  SetOfFreezables getEmptySetOfFreezables()
           
protected abstract  SetOfFreezables getTestSetOfFreezables()
           
protected  void testContainsAllIdentifiedBy(SetOfFreezables victem, Collection ids, boolean expected, boolean nullPointerExceptionExpected)
           
protected  void testContainsIdentifiedBy(SetOfFreezables victem, java.io.Serializable id, boolean expected, boolean nullPointerExceptionExpected)
           
 void testCopyConstructor()
           
protected  void testFreezableIterator(SetOfFreezables victem, SetOfFreezables expected)
           
protected  void testGetIdentifiers(SetOfFreezables victem, Collection expected)
           
 void testGetIdentitor()
           
protected  void testIdentifierIterator(SetOfFreezables victem, Collection expectedIDs)
           
 void testQueriesOnEmpty()
           
 void testQueriesOnTestSet()
           
 
Methods inherited from class net.walend.collection.test.AbstractSetTest
getEmptyTestSet, getTestCollectionFactory, getTestSet, testContains, testContainsAll, testGetIdentitor, testGetJavaCollection, testGetJavaSet, testGetPrincipleInterface, testImmutable, testImmutable, testIsEmpty, testIterator, testIteratorRemove, testSameContentsAs, testSameStateAs, testSize
 
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

AbstractSetOfFreezablesTest

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

testCopyConstructor

public void testCopyConstructor()
Overrides:
testCopyConstructor in class AbstractSetTest

testGetIdentitor

public void testGetIdentitor()
Overrides:
testGetIdentitor in class AbstractSetTest

testContainsIdentifiedBy

protected void testContainsIdentifiedBy(SetOfFreezables victem,
                                        java.io.Serializable id,
                                        boolean expected,
                                        boolean nullPointerExceptionExpected)

testContainsAllIdentifiedBy

protected void testContainsAllIdentifiedBy(SetOfFreezables victem,
                                           Collection ids,
                                           boolean expected,
                                           boolean nullPointerExceptionExpected)

testFreezableIterator

protected void testFreezableIterator(SetOfFreezables victem,
                                     SetOfFreezables expected)

testIdentifierIterator

protected void testIdentifierIterator(SetOfFreezables victem,
                                      Collection expectedIDs)

testGetIdentifiers

protected void testGetIdentifiers(SetOfFreezables victem,
                                  Collection expected)

getEmptySetOfFreezables

protected abstract SetOfFreezables getEmptySetOfFreezables()

testQueriesOnEmpty

public void testQueriesOnEmpty()
Overrides:
testQueriesOnEmpty in class AbstractSetTest

getTestSetOfFreezables

protected abstract SetOfFreezables getTestSetOfFreezables()

testQueriesOnTestSet

public void testQueriesOnTestSet()
Overrides:
testQueriesOnTestSet in class AbstractSetTest


Copyright (c) 2000, 2001, David Walend