public abstract class TestDoubleList extends BaseTestList
BaseTestList.PrimitiveBulkTestSubList
Constructor and Description |
---|
TestDoubleList(String testName) |
Modifier and Type | Method and Description |
---|---|
protected double[] |
getFullDoubles() |
Object[] |
getFullElements() |
protected double[] |
getOtherDoubles() |
Object[] |
getOtherElements() |
protected abstract DoubleList |
makeEmptyDoubleList() |
List |
makeEmptyList() |
protected DoubleList |
makeFullDoubleList() |
void |
testAddAllDoubleListAtIndex() |
void |
testAddAndShift() |
void |
testAddGet() |
void |
testClearAndSize() |
void |
testDoubleListSerializeDeserializeThenCompare() |
void |
testDoubleSubListEquals() |
void |
testEqualsWithDoubleListAndList() |
void |
testEqualsWithTwoDoubleLists() |
void |
testExceptionOnConcurrentModification() |
void |
testHashCodeSpecification() |
void |
testIsSerializable() |
void |
testListIteratorOutOfBounds() |
void |
testListIteratorSetAfterRemove() |
void |
testListIteratorSetWithoutNext() |
void |
testRemoveViaSubList() |
void |
testSubListOutOfBounds() |
void |
testSubListsAreNotSerializable() |
void |
testToJustBigEnoughDoubleArray() |
void |
testToLargerThanNeededDoubleArray() |
void |
testToSmallerThanNeededDoubleArray() |
bulkTestSubList, testAddAllAtIndex, testListListIteratorPreviousRemove
bulkTestListIterator, 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, verify
areEqualElementsDistinguishable, 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, testUnsupportedRemove
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk
clone, ignoredTests, makeSuite, toString
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown
assertEquals, 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, fail
public TestDoubleList(String testName)
protected abstract DoubleList makeEmptyDoubleList()
protected DoubleList makeFullDoubleList()
protected double[] getFullDoubles()
protected double[] getOtherDoubles()
public List makeEmptyList()
makeEmptyList
in class org.apache.commons.collections.list.AbstractTestList
public Object[] getFullElements()
getFullElements
in class org.apache.commons.collections.collection.AbstractTestCollection
public Object[] getOtherElements()
getOtherElements
in class org.apache.commons.collections.collection.AbstractTestCollection
public void testExceptionOnConcurrentModification()
public void testAddAllDoubleListAtIndex()
public void testToJustBigEnoughDoubleArray()
public void testToLargerThanNeededDoubleArray()
public void testToSmallerThanNeededDoubleArray()
public void testHashCodeSpecification()
public void testEqualsWithTwoDoubleLists()
public void testDoubleSubListEquals()
public void testEqualsWithDoubleListAndList()
public void testClearAndSize()
public void testRemoveViaSubList()
public void testAddGet()
public void testAddAndShift()
public void testIsSerializable() throws Exception
Exception
public void testDoubleListSerializeDeserializeThenCompare() throws Exception
Exception
public void testSubListsAreNotSerializable() throws Exception
Exception
public void testSubListOutOfBounds() throws Exception
Exception
public void testListIteratorOutOfBounds() throws Exception
Exception
public void testListIteratorSetWithoutNext() throws Exception
Exception
public void testListIteratorSetAfterRemove() throws Exception
Exception
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.