public abstract class TestShortList extends BaseTestList
BaseTestList.PrimitiveBulkTestSubList| Constructor and Description |
|---|
TestShortList(String testName) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getFullElements() |
protected short[] |
getFullShorts() |
Object[] |
getOtherElements() |
protected short[] |
getOtherShorts() |
List |
makeEmptyList() |
protected abstract ShortList |
makeEmptyShortList() |
protected ShortList |
makeFullShortList() |
void |
testAddAllShortListAtIndex() |
void |
testAddAndShift() |
void |
testAddGet() |
void |
testClearAndSize() |
void |
testEqualsWithShortListAndList() |
void |
testEqualsWithTwoShortLists() |
void |
testExceptionOnConcurrentModification() |
void |
testHashCodeSpecification() |
void |
testIsSerializable() |
void |
testListIteratorOutOfBounds() |
void |
testListIteratorSetAfterRemove() |
void |
testListIteratorSetWithoutNext() |
void |
testRemoveViaSubList() |
void |
testShortListSerializeDeserializeThenCompare() |
void |
testShortSubListEquals() |
void |
testSubListOutOfBounds() |
void |
testSubListsAreNotSerializable() |
void |
testToJustBigEnoughShortArray() |
void |
testToLargerThanNeededShortArray() |
void |
testToSmallerThanNeededShortArray() |
bulkTestSubList, testAddAllAtIndex, testListListIteratorPreviousRemovebulkTestListIterator, failFastAll, failFastMethod, getConfirmedList, getList, isEqualsCheckable, isSetSupported, makeCollection, makeConfirmedCollection, makeConfirmedFullCollection, makeFullCollection, makeFullList, testEmptyListCompatibility, testEmptyListSerialization, testFullListCompatibility, testFullListSerialization, testListAddByIndex, testListAddByIndexBoundsChecking, testListAddByIndexBoundsChecking2, testListEquals, testListGetByIndex, testListGetByIndexBoundsChecking, testListGetByIndexBoundsChecking2, testListHashCode, testListIndexOf, testListIteratorAdd, testListIteratorSet, testListLastIndexOf, testListListIterator, testListListIteratorByIndex, testListRemoveByIndex, testListRemoveByIndexBoundsChecking, testListRemoveByIndexBoundsChecking2, testListSetByIndex, testListSetByIndexBoundsChecking, testListSetByIndexBoundsChecking2, testListSubListFailFastOnAdd, testListSubListFailFastOnRemove, testUnsupportedSet, verifyareEqualElementsDistinguishable, cloneMapEntry, getFullNonNullElements, getFullNonNullStringElements, getOtherNonNullElements, getOtherNonNullStringElements, isAddSupported, isFailFastSupported, isNullSupported, isRemoveSupported, makeObject, resetEmpty, resetFull, testCollectionAdd, testCollectionAddAll, testCollectionClear, testCollectionContains, testCollectionContainsAll, testCollectionIsEmpty, testCollectionIterator, testCollectionIteratorFailFast, testCollectionIteratorRemove, testCollectionRemove, testCollectionRemoveAll, testCollectionRetainAll, testCollectionSize, testCollectionToArray, testCollectionToArray2, testCollectionToString, testSerializeDeserializeThenCompare, testUnsupportedAdd, testUnsupportedRemovegetCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDiskclone, ignoredTests, makeSuite, toStringcountTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDownassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, failpublic TestShortList(String testName)
protected abstract ShortList makeEmptyShortList()
protected ShortList makeFullShortList()
protected short[] getFullShorts()
protected short[] getOtherShorts()
public List makeEmptyList()
makeEmptyList in class org.apache.commons.collections.list.AbstractTestListpublic Object[] getFullElements()
getFullElements in class org.apache.commons.collections.collection.AbstractTestCollectionpublic Object[] getOtherElements()
getOtherElements in class org.apache.commons.collections.collection.AbstractTestCollectionpublic void testExceptionOnConcurrentModification()
public void testAddAllShortListAtIndex()
public void testToJustBigEnoughShortArray()
public void testToLargerThanNeededShortArray()
public void testToSmallerThanNeededShortArray()
public void testHashCodeSpecification()
public void testEqualsWithTwoShortLists()
public void testShortSubListEquals()
public void testEqualsWithShortListAndList()
public void testClearAndSize()
public void testRemoveViaSubList()
public void testAddGet()
public void testAddAndShift()
public void testIsSerializable() throws Exception
Exceptionpublic void testShortListSerializeDeserializeThenCompare() throws Exception
Exceptionpublic void testSubListsAreNotSerializable() throws Exception
Exceptionpublic void testSubListOutOfBounds() throws Exception
Exceptionpublic void testListIteratorOutOfBounds() throws Exception
Exceptionpublic void testListIteratorSetWithoutNext() throws Exception
Exceptionpublic void testListIteratorSetAfterRemove() throws Exception
ExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.