Package org.soliscode.test.contract.collection
package org.soliscode.test.contract.collection
Support for testing the implementation of the
Collection
interface methods.- Since:
- 1.0
- Author:
- evanbergstrom
-
InterfacesClassDescriptionAddAllContract<E,
C extends Collection<E>> This interface tests if a collection class has implemented theaddAll()
method correctly.AddContract<E,C extends Collection<E>> This interface tests if a collection class has implemented the add method correctly.ClearContract<E,C extends Collection<E>> This interface tests if a collection class has implemented theclear()
method correctly.CollectionContract<E,C extends Collection<E>> Test suite for classes that implement theCollection
interface.ContainsAllContract<E,C extends Collection<E>> This interface tests if a collection class has implemented thecontainsAll()
method correctly.ContainsContract<E,C extends Collection<E>> This interface tests if a collection class has implemented thecontains()
method correctly.IsEmptyContract<E,C extends Collection<E>> This interface tests if a collection class has implemented theisEmpty
method correctly.RemoveAllContract<E,C extends Collection<E>> This interface tests if a collection class has implemented theremoveAll
method correctly.RemoveContract<E,C extends Collection<E>> This interface tests if a collection class has implemented theremove
method correctly.RemoveIfContract<E,C extends Collection<E>> This interface tests if a collection class has implemented theremoveIf
method correctly.RetainAllContract<E,C extends Collection<E>> This interface tests if a collection class has implemented theretainAll
method correctly.SizeContract<E,C extends Collection<E>> This interface tests if a collection class has implemented thesize()
method correctly.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.ToArrayContract<E,C extends Collection<E>> This interface tests if a collection class has implemented thetoArray
method correctly.