Uses of Interface
org.soliscode.test.contract.support.CollectionProviderSupport
Packages that use CollectionProviderSupport
Package
Description
Support for "breakable" objects that can be used to test contract classes.
Support for testing the implementation of the
Collection
interface methods.Support for testing the implementation of the
Iterable
interface methods.Support for testing the implementation of the
List
interface methods.Support for testing the implementation of the
SequencedCollection
interface methods.Classes that support testing with contracts.
-
Uses of CollectionProviderSupport in org.soliscode.test.breakable
Subinterfaces of CollectionProviderSupport in org.soliscode.test.breakableModifier and TypeInterfaceDescriptionstatic interface
Mixin interface that adds an implementation of theprovider()
method that provides instances ofBreakableCollection
that do not have any breaks applied.static interface
-
Uses of CollectionProviderSupport in org.soliscode.test.contract.collection
Subinterfaces of CollectionProviderSupport in org.soliscode.test.contract.collectionModifier and TypeInterfaceDescriptioninterface
AddAllContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theaddAll()
method correctly.interface
AddContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented the add method correctly.interface
ClearContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theclear()
method correctly.interface
CollectionContract<E,
C extends Collection<E>> Test suite for classes that implement theCollection
interface.interface
ContainsAllContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented thecontainsAll()
method correctly.interface
ContainsContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented thecontains()
method correctly.interface
IsEmptyContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theisEmpty
method correctly.interface
RemoveAllContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theremoveAll
method correctly.interface
RemoveContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theremove
method correctly.interface
RemoveIfContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theremoveIf
method correctly.interface
RetainAllContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theretainAll
method correctly.interface
SizeContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented thesize()
method correctly.interface
StreamContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented thestream()
method correctly and that the iterator that is returned satisfies theStream
contract.interface
ToArrayContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented thetoArray
method correctly. -
Uses of CollectionProviderSupport in org.soliscode.test.contract.iterable
Subinterfaces of CollectionProviderSupport in org.soliscode.test.contract.iterableModifier and TypeInterfaceDescriptioninterface
ForEachContract<E,
I extends Iterable<E>> This interface tests if a collection class has implemented theforEach()
method correctly based upon the specification provided inIterable.forEach(Consumer)
.interface
IterableContract<E,
I extends Iterable<E>> This interface tests if a iterable class has implemented theIterable
methods correctly based upon the specification provided inIterable
.interface
IteratorContract<E,
I extends Iterable<E>> This interface tests if a iterable class has implemented theiterator()
method correctly and that the iterator that is returned satisfies theIterator
contract.interface
SpliteratorContract<E,
I extends Iterable<E>> This interface tests if a collection class has implemented the spliterator() method correctly and that the spliterator that is returned satisfies theSpliterator
contract. -
Uses of CollectionProviderSupport in org.soliscode.test.contract.list
Subinterfaces of CollectionProviderSupport in org.soliscode.test.contract.listModifier and TypeInterfaceDescriptioninterface
AddAtPositionContract<E,
L extends List<E>> interface
GetContract<E,
L extends List<E>> This interface tests if a list class has implemented the get method correctly.interface
IndexOfContract<E,
L extends List<E>> This interface tests if a list class has implemented the indexOf method correctly.interface
LastIndexOfContract<E,
L extends List<E>> This interface tests if a list class has implemented the indexOf method correctly.interface
ListAddContract<E,
L extends List<E>> This interface tests if a list class has implemented the sort method correctly.interface
ListContract<E,
L extends List<E>> Test suite for classes that implement theList
interface.interface
ListToArrayContract<E,
L extends List<E>> This contract tests if a list class has implemented the toArray method correctly.interface
RemoveAtPositionContract<E,
L extends List<E>> This interface tests if a list class has implemented the remove method correctly.interface
ReplaceAllContract<E,
L extends List<E>> This interface tests if a list class has implemented the replaceAll method correctly.interface
SetContract<E,
L extends List<E>> This interface tests if a list class has implemented the set method correctly.interface
SortContract<E,
L extends List<E>> This interface tests if a list class has implemented the sort method correctly.interface
SubListContract<E,
L extends List<E>> This interface tests if a list class has implemented the subList method correctly. -
Uses of CollectionProviderSupport in org.soliscode.test.contract.sequenced
Subinterfaces of CollectionProviderSupport in org.soliscode.test.contract.sequencedModifier and TypeInterfaceDescriptioninterface
AddFirstContract<E,
C extends SequencedCollection<E>> This interface tests if a class has implemented theaddFirst()
method correctly based upon the specification in theSequencedCollection
class.interface
AddLastContract<E,
C extends SequencedCollection<E>> This interface tests if a class has implemented theaddLast()
method correctly based upon the specification in theSequencedCollection
class.interface
GetFirstContract<E,
C extends SequencedCollection<E>> Test for the getFirst method in theSequencedCollection
interface.interface
GetLastContract<E,
C extends SequencedCollection<E>> Test for the getFirst method in theSequencedCollection
interface.interface
RemoveFirstContract<E,
C extends SequencedCollection<E>> Test for the removeFirst method in theSequencedCollection
interface.interface
RemoveLastContract<E,
C extends SequencedCollection<E>> Test for theremoveLast method
in theSequencedCollection
interface.interface
ReversedContract<E,
C extends SequencedCollection<E>> Test for the reversed method in theSequencedCollection
interface.interface
SequencedCollectionContract<E,
C extends SequencedCollection<E>> Test suite for classes that implement theSequencedCollection
interface. -
Uses of CollectionProviderSupport in org.soliscode.test.contract.support
Subinterfaces of CollectionProviderSupport in org.soliscode.test.contract.supportModifier and TypeInterfaceDescriptioninterface
CollectionContractSupport<E,
C extends Iterable<E>> The base interface for all classes that testCollection
methods.interface
Mixing for a collection contract class that implements a collection provider for instances of ArrayList.