Class ArrayListTest
java.lang.Object
org.soliscode.test.OptionalMethodSupport
org.soliscode.test.AbstractTest
org.soliscode.test.collection.ArrayListTest
- All Implemented Interfaces:
AddAllContract<Integer,
,ArrayList<Integer>> AddContract<Integer,
,ArrayList<Integer>> ClearContract<Integer,
,ArrayList<Integer>> CollectionContract<Integer,
,ArrayList<Integer>> ContainsAllContract<Integer,
,ArrayList<Integer>> ContainsContract<Integer,
,ArrayList<Integer>> IsEmptyContract<Integer,
,ArrayList<Integer>> RemoveAllContract<Integer,
,ArrayList<Integer>> RemoveContract<Integer,
,ArrayList<Integer>> RemoveIfContract<Integer,
,ArrayList<Integer>> RetainAllContract<Integer,
,ArrayList<Integer>> SizeContract<Integer,
,ArrayList<Integer>> StreamContract<Integer,
,ArrayList<Integer>> ToArrayContract<Integer,
,ArrayList<Integer>> CollectionContractConfig
,ForEachContract<Integer,
,ArrayList<Integer>> IterableContract<Integer,
,ArrayList<Integer>> IteratorContract<Integer,
,ArrayList<Integer>> SpliteratorContract<Integer,
,ArrayList<Integer>> AddAtPositionContract<Integer,
,ArrayList<Integer>> GetContract<Integer,
,ArrayList<Integer>> IndexOfContract<Integer,
,ArrayList<Integer>> LastIndexOfContract<Integer,
,ArrayList<Integer>> ListAddContract<Integer,
,ArrayList<Integer>> ListContract<Integer,
,ArrayList<Integer>> ListToArrayContract<Integer,
,ArrayList<Integer>> RemoveAtPositionContract<Integer,
,ArrayList<Integer>> ReplaceAllContract<Integer,
,ArrayList<Integer>> SetContract<Integer,
,ArrayList<Integer>> SortContract<Integer,
,ArrayList<Integer>> SubListContract<Integer,
,ArrayList<Integer>> EqualsContract<ArrayList<Integer>>
,HashCodeContract<ArrayList<Integer>>
,ObjectContract<ArrayList<Integer>>
,ToStringContract<ArrayList<Integer>>
,AddFirstContract<Integer,
,ArrayList<Integer>> AddLastContract<Integer,
,ArrayList<Integer>> GetFirstContract<Integer,
,ArrayList<Integer>> GetLastContract<Integer,
,ArrayList<Integer>> RemoveFirstContract<Integer,
,ArrayList<Integer>> RemoveLastContract<Integer,
,ArrayList<Integer>> ReversedContract<Integer,
,ArrayList<Integer>> SequencedCollectionContract<Integer,
,ArrayList<Integer>> CollectionContractSupport<Integer,
,ArrayList<Integer>> CollectionProviderSupport<Integer,
,ArrayList<Integer>> ContractSupport<ArrayList<Integer>>
,ElementProviderSupport<Integer>
,ProviderSupport<ArrayList<Integer>>
,WithArrayList<Integer>
,WithIntegerElement
,SupportedMethods
@DisplayName("Test the TestList interface using an ArrayList")
public class ArrayListTest
extends AbstractTest
implements ListContract<Integer,ArrayList<Integer>>, WithArrayList<Integer>, WithIntegerElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
-
Field Summary
Fields inherited from interface org.soliscode.test.contract.support.CollectionContractSupport
DEFAULT_SIZE
Fields inherited from interface org.soliscode.test.contract.iterable.SpliteratorContract
CHARACTERISTIC_VALUES
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.soliscode.test.OptionalMethodSupport
doesNotSupportMethod, supportsMethod, unsupportedMethods
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.soliscode.test.contract.collection.AddAllContract
testAddAllToContainer, testAddAllWithDuplicateValue, testAddAllWithNullValue
Methods inherited from interface org.soliscode.test.contract.collection.AddContract
addWithDuplicateValue, testAddWithNullValue
Methods inherited from interface org.soliscode.test.contract.sequenced.AddFirstContract
addFirstWithDuplicateValue, testAddFirst, testAddFirstWithNullValue
Methods inherited from interface org.soliscode.test.contract.sequenced.AddLastContract
addLastWithDuplicateValue, testAddLast, testAddLastWithNullValue
Methods inherited from interface org.soliscode.test.contract.collection.ClearContract
testClearOnCollectionWithElements, testClearOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.collection.CollectionContract
doesNotSupportMethod, supportsMethod
Methods inherited from interface org.soliscode.test.contract.CollectionContractConfig
permitDuplicates, permitIncompatibleTypes, permitNulls
Methods inherited from interface org.soliscode.test.contract.collection.ContainsAllContract
testContainsAllOnCollectionWithElements, testContainsAllOnCollectionWithNulls, testContainsAllOnEmptyCollection, testContainsAllWithIncompatibleType
Methods inherited from interface org.soliscode.test.contract.collection.ContainsContract
testContainsOnCollectionWithElements, testContainsOnCollectionWithNulls, testContainsOnEmptyCollection, testContainsWithIncompatibleType
Methods inherited from interface org.soliscode.test.contract.object.EqualsContract
testEqualsForNullValue, testEqualsIsConsistent, testEqualsIsReflexive, testEqualsIsSymmetric, testEqualsIsTransitive
Methods inherited from interface org.soliscode.test.contract.iterable.ForEachContract
testForEachForEmptyCollection, testForEachWithNullAction, testForeEachOverCollectionWithElements
Methods inherited from interface org.soliscode.test.contract.list.GetContract
testGet, testGetThrowsForInvalidIndex, testGetWithEmptyCollection
Methods inherited from interface org.soliscode.test.contract.sequenced.GetFirstContract
testGetFirst, testGetFirstOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.sequenced.GetLastContract
testGetLast, testGetLastOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.object.HashCodeContract
testHashCodeDistribution, testHashCodeIsStable, testHashCodeWithEqualValues, testHashDifferentValues
Methods inherited from interface org.soliscode.test.contract.list.IndexOfContract
testIndexOf, testIndexOfWithEmptyCollection, testIndexOfWithIncompatibleType, testIndexOfWithNullValue
Methods inherited from interface org.soliscode.test.contract.collection.IsEmptyContract
testIsEmptyForEmptyCollection, testIsEmptyForNonEmptyCollection
Methods inherited from interface org.soliscode.test.contract.iterable.IteratorContract
testForEachRemainingForNullAction, testForEachRemainingOverEntireCollection, testForEachRemainingOverPartialCollection, testIteratorOverCollectionWithElements, testIteratorOverEmptyCollection, testIteratorRemove, testIteratorRemoveThrowsOnIllegalState
Methods inherited from interface org.soliscode.test.contract.list.ListAddContract
testAdd
Methods inherited from interface org.soliscode.test.contract.list.ListContract
doesNotSupportModification
Methods inherited from interface org.soliscode.test.contract.list.ListToArrayContract
testToArray, testToArrayIsSafe
Methods inherited from interface org.soliscode.test.contract.collection.RemoveAllContract
testRemoveAllOnContainerWithElements, testRemoveAllOnEmptyContainer, testRemoveAllOnIncompatibleObject, testRemoveAllOnNullElement, testRemoveAllThrowsOnNullCollection
Methods inherited from interface org.soliscode.test.contract.collection.RemoveContract
testRemoveOnContainerWithElements, testRemoveOnContainerWithNulls, testRemoveOnEmptyContainer, testRemoveOnIncompatibleObject
Methods inherited from interface org.soliscode.test.contract.sequenced.RemoveFirstContract
testRemoveFirst, testRemoveFirstOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.collection.RemoveIfContract
testRemoveIfOnContainerWithElements, testRemoveIfOnEmptyContainer, testRemoveIfThrowsOnANullFilter
Methods inherited from interface org.soliscode.test.contract.sequenced.RemoveLastContract
testRemoveLast, testRemoveLastOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.collection.RetainAllContract
testRetainAllOnContainerWithElements, testRetainAllOnEmptyContainer, testRetainAllOnIncompatibleObject, testRetainAllThrowsOnNullCollection
Methods inherited from interface org.soliscode.test.contract.sequenced.ReversedContract
testReversed
Methods inherited from interface org.soliscode.test.contract.list.SetContract
testSet, testSetThrowsForInvalidIndex, testSetWithEmptyCollection, testSetWithNullElement
Methods inherited from interface org.soliscode.test.contract.collection.SizeContract
testSizeOnCollectionWithElements, testSizeOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.iterable.SpliteratorContract
testHasCharacteristic, testSpliteratorEstimateSizeOnACollectionWithElements, testSpliteratorEstimateSizeOnAnEmptyCollection, testSpliteratorForEachRemainingOnACollectionWithElements, testSpliteratorForEachRemainingOnAnEmptyCollection, testSpliteratorGetExactSizeIfKnownOnACollectionWithElements, testSpliteratorGetExactSizeIfKnownOnAnEmptyCollection, testSpliteratorTryAdvanceOnACollectionWithElements, testSpliteratorTryAdvanceOnAnEmptyCollection, testSpliteratorTrySplitOnACollectionWithElements, testSpliteratorTrySplitOnAnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.collection.StreamContract
testParallelStreamForCollectionWithElements, testParallelStreamForEmptyCollection, testStreamForCollectionWithElements, testStreamForEmptyCollection
Methods inherited from interface org.soliscode.test.contract.collection.ToArrayContract
testToArrayOnEmptyCollection, testToArrayStore, testToArrayStoreOnEmptyCollection, testToArrayStoreThrowsOnNullArray
Methods inherited from interface org.soliscode.test.contract.object.ToStringContract
testToStringForDifferentValues, testToStringForEqualValues, testToStringIsConsistent, testToStringOverridden
Methods inherited from interface org.soliscode.test.contract.support.WithArrayList
provider
Methods inherited from interface org.soliscode.test.contract.support.WithIntegerElement
elementProvider
-
Constructor Details
-
ArrayListTest
public ArrayListTest()
-