org.apache.commons.collections
Class TestCursorableLinkedList
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.collections.BulkTest
org.apache.commons.collections.TestObject
org.apache.commons.collections.TestCollection
org.apache.commons.collections.TestList
org.apache.commons.collections.TestCursorableLinkedList
- All Implemented Interfaces:
- java.lang.Cloneable, junit.framework.Test
- public class TestCursorableLinkedList
- extends TestList
- Version:
- $Id: TestCursorableLinkedList.java,v 1.6 2002/06/21 03:32:06 mas Exp $
- Author:
- Rodney Waldhoff
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.apache.commons.collections.TestList |
bulkTestSubList, failFastAll, failFastMethod, getConfirmedList, getList, makeCollection, makeConfirmedCollection, makeConfirmedFullCollection, makeFullCollection, makeFullList, testEmptyListCompatibility, testEmptyListSerialization, testFullListCompatibility, testFullListSerialization, testListAddByIndex, testListAddByIndexBoundsChecking, testListAddByIndexBoundsChecking2, testListEquals, testListGetByIndex, testListGetByIndexBoundsChecking, testListGetByIndexBoundsChecking2, testListHashCode, testListIndexOf, testListLastIndexOf, testListListIterator, testListListIteratorByIndex, testListRemoveByIndex, testListRemoveByIndexBoundsChecking, testListRemoveByIndexBoundsChecking2, testListSetByIndex, testListSetByIndexBoundsChecking, testListSetByIndexBoundsChecking2, testListSubListFailFastOnAdd, testListSubListFailFastOnRemove, verify |
| Methods inherited from class org.apache.commons.collections.TestCollection |
areEqualElementsDistinguishable, getFullElements, getFullNonNullElements, getFullNonNullStringElements, getOtherElements, getOtherNonNullElements, getOtherNonNullStringElements, isAddSupported, isRemoveSupported, makeObject, resetEmpty, resetFull, testCollectionAdd, testCollectionAddAll, testCollectionClear, testCollectionContains, testCollectionContainsAll, testCollectionIsEmpty, testCollectionIterator, testCollectionIteratorFailFast, testCollectionIteratorRemove, testCollectionRemove, testCollectionRemoveAll, testCollectionRetainAll, testCollectionSize, testCollectionToArray, testCollectionToArray2, testCollectionToString, testUnsupportedAdd, testUnsupportedRemove |
| Methods inherited from class org.apache.commons.collections.TestObject |
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, readExternalFormFromBytes, readExternalFormFromDisk, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown |
| 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 |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
list
private CursorableLinkedList list
-
TestCursorableLinkedList
public TestCursorableLinkedList(java.lang.String testName)
suite
public static junit.framework.Test suite()
-
main
public static void main(java.lang.String[] args)
-
setUp
public void setUp()
-
makeEmptyList
public java.util.List makeEmptyList()
- Description copied from class:
TestList
-
Return a new, empty
TestList.BulkTestSubList to be used for testing.
-
- Specified by:
makeEmptyList in class TestList
-
- Returns:
- an empty list for testing.
testAdd
public void testAdd()
-
testClear
public void testClear()
-
testContains
public void testContains()
-
testContainsAll
public void testContainsAll()
-
testCursorNavigation
public void testCursorNavigation()
-
testCursorSet
public void testCursorSet()
-
testCursorRemove
public void testCursorRemove()
-
testCursorAdd
public void testCursorAdd()
-
testEqualsAndHashCode
public void testEqualsAndHashCode()
-
testGet
public void testGet()
-
testIndexOf
public void testIndexOf()
-
testIsEmpty
public void testIsEmpty()
-
testIterator
public void testIterator()
-
testListIteratorNavigation
public void testListIteratorNavigation()
-
testListIteratorSet
public void testListIteratorSet()
- Description copied from class:
TestList
-
Tests the
ListIterator.set(Object) method of the list iterator.
-
- Overrides:
testListIteratorSet in class TestList
-
testListIteratorRemove
public void testListIteratorRemove()
-
testListIteratorAdd
public void testListIteratorAdd()
- Description copied from class:
TestList
-
Tests the
ListIterator.add(Object) method of the list iterator.
-
- Overrides:
testListIteratorAdd in class TestList
-
testRemoveAll
public void testRemoveAll()
-
testRemoveByIndex
public void testRemoveByIndex()
-
testRemove
public void testRemove()
-
testRetainAll
public void testRetainAll()
-
testSet
public void testSet()
-
testSubList
public void testSubList()
-
testSubListAddEnd
public void testSubListAddEnd()
-
testSubListAddBegin
public void testSubListAddBegin()
-
testSubListAddMiddle
public void testSubListAddMiddle()
-
testSubListRemove
public void testSubListRemove()
-
testToArray
public void testToArray()
-
testSerialization
public void testSerialization()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testLongSerialization
public void testLongSerialization()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
ignoredSimpleTests
public java.lang.String[] ignoredSimpleTests()
-
Ignore the serialization tests for sublists and sub-sublists.
-
- Overrides:
ignoredSimpleTests in class BulkTest
-
- Returns:
- an array of sublist serialization test names
Please see keelframework.org for information about new Keel releases.