| |
|
| org.apache.commons.collections.collection.AbstractTestCollection org.apache.commons.collections.collection.TestCompositeCollection
TestCompositeCollection | public class TestCompositeCollection extends AbstractTestCollection (Code) | | Extension of
AbstractTestCollection for exercising the
CompositeCollection implementation.
since: Commons Collections 3.0 version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $ author: Brian McCallister author: Phil Steitz |
TestCompositeCollection | public TestCompositeCollection(String name)(Code) | | |
isAddSupported | public boolean isAddSupported()(Code) | | Run stock collection tests without Mutator, so turn off add, remove
|
isRemoveSupported | public boolean isRemoveSupported()(Code) | | |
makeCollection | public Collection makeCollection()(Code) | | Empty collection is empty composite
|
makeConfirmedFullCollection | public Collection makeConfirmedFullCollection()(Code) | | Full collection should look like a collection with 4 elements
|
makeFullCollection | public Collection makeFullCollection()(Code) | | Full collection consists of 4 collections, each with one element
|
setUpMutatorTest | protected void setUpMutatorTest()(Code) | | |
setUpTest | protected void setUpTest()(Code) | | |
suite | public static Test suite()(Code) | | |
testAddAllMutator | public void testAddAllMutator()(Code) | | |
testAddAllToCollection | public void testAddAllToCollection()(Code) | | |
testAddMutator | public void testAddMutator()(Code) | | |
testClear | public void testClear()(Code) | | |
testContainsAll | public void testContainsAll()(Code) | | |
testIsEmpty | public void testIsEmpty()(Code) | | |
testIterator | public void testIterator()(Code) | | |
testMultipleCollectionsSize | public void testMultipleCollectionsSize()(Code) | | |
testRemove | public void testRemove()(Code) | | |
testRemoveAll | public void testRemoveAll()(Code) | | |
testRemoveComposited | public void testRemoveComposited()(Code) | | |
testRetainAll | public void testRetainAll()(Code) | | |
testSize | public void testSize()(Code) | | |
testToCollection | public void testToCollection()(Code) | | |
testUnsupportedRemove | public void testUnsupportedRemove()(Code) | | Override testUnsupportedRemove, since the default impl expects removeAll,
retainAll and iterator().remove to throw
|
|
|
|