Keel 2.1RC2

org.apache.commons.collections
Class TestCursorableLinkedList

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.collections.BulkTest
              extended byorg.apache.commons.collections.TestObject
                  extended byorg.apache.commons.collections.TestCollection
                      extended byorg.apache.commons.collections.TestList
                          extended byorg.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

Nested Class Summary
 
Nested classes inherited from class org.apache.commons.collections.TestList
TestList.BulkTestSubList
 
Field Summary
private  CursorableLinkedList list
           
 
Fields inherited from class org.apache.commons.collections.TestCollection
collection, confirmed
 
Fields inherited from class org.apache.commons.collections.TestObject
COLLECTIONS_MAJOR_VERSION
 
Fields inherited from class org.apache.commons.collections.BulkTest
verboseName
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestCursorableLinkedList(java.lang.String testName)
           
 
Method Summary
 java.lang.String[] ignoredSimpleTests()
          Ignore the serialization tests for sublists and sub-sublists.
static void main(java.lang.String[] args)
           
 java.util.List makeEmptyList()
          Return a new, empty List to be used for testing.
 void setUp()
           
static junit.framework.Test suite()
           
 void testAdd()
           
 void testClear()
           
 void testContains()
           
 void testContainsAll()
           
 void testCursorAdd()
           
 void testCursorNavigation()
           
 void testCursorRemove()
           
 void testCursorSet()
           
 void testEqualsAndHashCode()
           
 void testGet()
           
 void testIndexOf()
           
 void testIsEmpty()
           
 void testIterator()
           
 void testListIteratorAdd()
          Tests the ListIterator.add(Object) method of the list iterator.
 void testListIteratorNavigation()
           
 void testListIteratorRemove()
           
 void testListIteratorSet()
          Tests the ListIterator.set(Object) method of the list iterator.
 void testLongSerialization()
           
 void testRemove()
           
 void testRemoveAll()
           
 void testRemoveByIndex()
           
 void testRetainAll()
           
 void testSerialization()
           
 void testSet()
           
 void testSubList()
           
 void testSubListAddBegin()
           
 void testSubListAddEnd()
           
 void testSubListAddMiddle()
           
 void testSubListRemove()
           
 void testToArray()
           
 
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 org.apache.commons.collections.BulkTest
clone, makeSuite, toString
 
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
 

Field Detail

list

private CursorableLinkedList list
Constructor Detail

TestCursorableLinkedList

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

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.