net.walend.lyophil.collection.test
Class AbstractMutableSetOfFreezablesTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.walend.toolkit.junit.TestCase
                    |
                    +--net.walend.collection.test.AbstractSetTest
                          |
                          +--net.walend.collection.test.AbstractMutableSetTest
                                |
                                +--net.walend.lyophil.collection.test.AbstractMutableSetOfFreezablesTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
FreezableSetTest, MemSetTest, MutableFreezerHashSetTest, MutableHashSetOfFreezablesTest, SoftMemSetTest

public abstract class AbstractMutableSetOfFreezablesTest
extends AbstractMutableSetTest

Tests for all the API of MutableSetOfFreezables.

Since:
20010726
Author:
David Walend

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AbstractMutableSetOfFreezablesTest(java.lang.String testName)
           
 
Method Summary
protected abstract  SetOfFreezables getEmptySetOfFreezables()
           
protected abstract  MutableSetOfFreezables getMutableTestSetOfFreezables()
           
protected abstract  SetOfFreezables getTestSetOfFreezables()
           
 void testAddAllIdentifiedBy()
           
 void testAddIdentifiedBy()
           
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()
           
 void testRemoveAllIdentifiedBy()
           
 void testRemoveIdentifiedBy()
           
 void testRetainAllIdentifiedBy()
           
 
Methods inherited from class net.walend.collection.test.AbstractMutableSetTest
getMutableTestSet, testAdd, testAddAll, testImmutable, testIteratorRemove, testRemove, testRemoveAll, testRetainAll
 
Methods inherited from class net.walend.collection.test.AbstractSetTest
getEmptyTestSet, getTestCollectionFactory, getTestSet, testContains, testContainsAll, testGetIdentitor, testGetJavaCollection, testGetJavaSet, testGetPrincipleInterface, testImmutable, testIsEmpty, testIterator, 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

AbstractMutableSetOfFreezablesTest

public AbstractMutableSetOfFreezablesTest(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

getMutableTestSetOfFreezables

protected abstract MutableSetOfFreezables getMutableTestSetOfFreezables()

testAddIdentifiedBy

public void testAddIdentifiedBy()

testRemoveIdentifiedBy

public void testRemoveIdentifiedBy()

testAddAllIdentifiedBy

public void testAddAllIdentifiedBy()

testRemoveAllIdentifiedBy

public void testRemoveAllIdentifiedBy()

testRetainAllIdentifiedBy

public void testRetainAllIdentifiedBy()


Copyright (c) 2000, 2001, David Walend