Class HashSetTest
java.lang.Object
org.soliscode.test.OptionalMethodSupport
org.soliscode.test.AbstractTest
org.soliscode.test.collection.HashSetTest
- All Implemented Interfaces:
AddAllContract<Integer,
,HashSet<Integer>> AddContract<Integer,
,HashSet<Integer>> ClearContract<Integer,
,HashSet<Integer>> CollectionContract<Integer,
,HashSet<Integer>> ContainsAllContract<Integer,
,HashSet<Integer>> ContainsContract<Integer,
,HashSet<Integer>> IsEmptyContract<Integer,
,HashSet<Integer>> RemoveAllContract<Integer,
,HashSet<Integer>> RemoveContract<Integer,
,HashSet<Integer>> RemoveIfContract<Integer,
,HashSet<Integer>> RetainAllContract<Integer,
,HashSet<Integer>> SizeContract<Integer,
,HashSet<Integer>> StreamContract<Integer,
,HashSet<Integer>> ToArrayContract<Integer,
,HashSet<Integer>> CollectionContractConfig
,DoesNotPermitDuplicates
,ForEachContract<Integer,
,HashSet<Integer>> IterableContract<Integer,
,HashSet<Integer>> IteratorContract<Integer,
,HashSet<Integer>> SpliteratorContract<Integer,
,HashSet<Integer>> EqualsContract<HashSet<Integer>>
,HashCodeContract<HashSet<Integer>>
,ObjectContract<HashSet<Integer>>
,ToStringContract<HashSet<Integer>>
,CollectionContractSupport<Integer,
,HashSet<Integer>> CollectionProviderSupport<Integer,
,HashSet<Integer>> ContractSupport<HashSet<Integer>>
,ElementProviderSupport<Integer>
,ProviderSupport<HashSet<Integer>>
,WithIntegerElement
,SupportedMethods
public class HashSetTest
extends AbstractTest
implements CollectionContract<Integer,HashSet<Integer>>, WithIntegerElement, DoesNotPermitDuplicates
-
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
Modifier and TypeMethodDescription@NotNull CollectionProvider
<Integer, HashSet<Integer>> 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
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.DoesNotPermitDuplicates
permitDuplicates
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
-
HashSetTest
public HashSetTest()
-
-
Method Details
-
provider
- Specified by:
provider
in interfaceCollectionProviderSupport<Integer,
HashSet<Integer>> - Specified by:
provider
in interfaceProviderSupport<HashSet<Integer>>
-