Class IterableContractTest.WorkingIterableTest
java.lang.Object
org.soliscode.test.OptionalMethodSupport
org.soliscode.test.AbstractTest
org.soliscode.test.contract.IterableContractTest.WorkingIterableTest
- All Implemented Interfaces:
BreakableIterable.WithProvider<Integer>
,CollectionContractConfig
,ForEachContract<Integer,
,BreakableIterable<Integer>> IterableContract<Integer,
,BreakableIterable<Integer>> IteratorContract<Integer,
,BreakableIterable<Integer>> SpliteratorContract<Integer,
,BreakableIterable<Integer>> EqualsContract<BreakableIterable<Integer>>
,HashCodeContract<BreakableIterable<Integer>>
,ObjectContract<BreakableIterable<Integer>>
,ToStringContract<BreakableIterable<Integer>>
,CollectionContractSupport<Integer,
,BreakableIterable<Integer>> CollectionProviderSupport<Integer,
,BreakableIterable<Integer>> ContractSupport<BreakableIterable<Integer>>
,ElementProviderSupport<Integer>
,ProviderSupport<BreakableIterable<Integer>>
,WithIntegerElement
,SupportedMethods
- Enclosing class:
IterableContractTest
@Nested
public class IterableContractTest.WorkingIterableTest
extends AbstractTest
implements IterableContract<Integer,BreakableIterable<Integer>>, BreakableIterable.WithProvider<Integer>, WithIntegerElement
Verifies that the tests c all pass when testing a working Iterable implementation.
In this case, instances of
BreakableIterable
are used that have no breaks specified.- 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.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.breakable.BreakableIterable.WithProvider
provider
Methods inherited from interface org.soliscode.test.contract.CollectionContractConfig
permitDuplicates, permitIncompatibleTypes, permitNulls
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.iterable.IteratorContract
testForEachRemainingForNullAction, testForEachRemainingOverEntireCollection, testForEachRemainingOverPartialCollection, testIteratorOverCollectionWithElements, testIteratorOverEmptyCollection, testIteratorRemove, testIteratorRemoveThrowsOnIllegalState
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.SupportedMethods
supportsMethod
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
-
WorkingIterableTest
public WorkingIterableTest()
-