Class CollectionContractTest.DynamicBrokenCollectionContract
java.lang.Object
org.soliscode.test.OptionalMethodSupport
org.soliscode.test.AbstractTest
org.soliscode.test.contract.DynamicContract<Integer,BreakableCollection<Integer>>
org.soliscode.test.contract.CollectionContractTest.DynamicBrokenCollectionContract
- All Implemented Interfaces:
AddAllContract<Integer,
,BreakableCollection<Integer>> AddContract<Integer,
,BreakableCollection<Integer>> ClearContract<Integer,
,BreakableCollection<Integer>> CollectionContract<Integer,
,BreakableCollection<Integer>> ContainsAllContract<Integer,
,BreakableCollection<Integer>> ContainsContract<Integer,
,BreakableCollection<Integer>> IsEmptyContract<Integer,
,BreakableCollection<Integer>> RemoveAllContract<Integer,
,BreakableCollection<Integer>> RemoveContract<Integer,
,BreakableCollection<Integer>> RemoveIfContract<Integer,
,BreakableCollection<Integer>> RetainAllContract<Integer,
,BreakableCollection<Integer>> SizeContract<Integer,
,BreakableCollection<Integer>> StreamContract<Integer,
,BreakableCollection<Integer>> ToArrayContract<Integer,
,BreakableCollection<Integer>> CollectionContractConfig
,ForEachContract<Integer,
,BreakableCollection<Integer>> IterableContract<Integer,
,BreakableCollection<Integer>> IteratorContract<Integer,
,BreakableCollection<Integer>> SpliteratorContract<Integer,
,BreakableCollection<Integer>> EqualsContract<BreakableCollection<Integer>>
,HashCodeContract<BreakableCollection<Integer>>
,ObjectContract<BreakableCollection<Integer>>
,ToStringContract<BreakableCollection<Integer>>
,CollectionContractSupport<Integer,
,BreakableCollection<Integer>> CollectionProviderSupport<Integer,
,BreakableCollection<Integer>> ContractSupport<BreakableCollection<Integer>>
,ElementProviderSupport<Integer>
,ProviderSupport<BreakableCollection<Integer>>
,WithIntegerElement
,SupportedMethods
- Enclosing class:
CollectionContractTest
@Disabled("Used only for dynamic test generation")
protected static class CollectionContractTest.DynamicBrokenCollectionContract
extends DynamicContract<Integer,BreakableCollection<Integer>>
implements CollectionContract<Integer,BreakableCollection<Integer>>, WithIntegerElement
Dynamically created instance of
IterableContract
that will run on instances of BreakableIterator
with a
specified break. This contract will be expected to fail on certain tests depending on the specific break that
is being used.- Since:
- 1.0
- Author:
- evanbergstrom
-
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.contract.DynamicContract
provider
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, testAdd, testAddWithNullValue
Methods inherited from interface org.soliscode.test.contract.collection.ClearContract
testClearOnCollectionWithElements, testClearOnEmptyCollection
Methods inherited from interface org.soliscode.test.contract.collection.CollectionContract
doesNotSupportMethod, doesNotSupportModification, supportsMethod
Methods inherited from interface org.soliscode.test.contract.CollectionContractConfig
permitDuplicates, permitIncompatibleTypes, permitNulls
Methods inherited from interface org.soliscode.test.contract.support.CollectionProviderSupport
provider
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.object.HashCodeContract
testHashCodeDistribution, testHashCodeIsStable, testHashCodeWithEqualValues, testHashDifferentValues
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.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.collection.RemoveIfContract
testRemoveIfOnContainerWithElements, testRemoveIfOnEmptyContainer, testRemoveIfThrowsOnANullFilter
Methods inherited from interface org.soliscode.test.contract.collection.RetainAllContract
testRetainAllOnContainerWithElements, testRetainAllOnEmptyContainer, testRetainAllOnIncompatibleObject, testRetainAllThrowsOnNullCollection
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
testToArray, testToArrayIsSafe, 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.WithIntegerElement
elementProvider
-
Constructor Details
-
DynamicBrokenCollectionContract
-