All Classes and Interfaces
Class
Description
Utility class for implementing the
Breakable
interface.Utility class for adding optional method support to contract classes.
This interface tests if a collection class has implemented the
addAll()
method correctly.This interface tests if a collection class has implemented the add method
correctly.
This interface tests if a class has implemented the
addFirst()
method correctly based upon the specification in the
SequencedCollection
class.This interface tests if a class has implemented the
addLast()
method correctly based upon the specification in the
SequencedCollection
class.Class that implements the
Object
and Comparable
interfaces, and that throws an exception when any method is
called.A collection of utility methods that support asserting conditions on arrays in tests.
Interface for classes that are used to test methods that accept actions (i.e. suppliers, consumers, etc.).
Utility class for creating assertion actions to provide to methods that are being tested.
A consumer that counts each time it consumes an object and asserts that it has consumed the expected number of
objects when done.
A consumer that checks that is consumes a specified set of objects, consuming each of those objects once, and not
consuming any objects not in the set.
A consumer that expects to consume no objects.
A consumer that checks that it only consumes objects from a specified set of objects, and not consuming any objects
not in the set.
Interface for classes that are used to test methods that accept consumer actions (i.e. objects that implement
the
Consumer
interface).A collection of utility methods that support asserting that a collection does not contain specific elements by
identity.
A collection of utility methods that support asserting that two collections contain the same elements.
A collection of utility methods that support asserting that two collections contain the same elements by identity.
A collection of utility methods that support asserting that an object is an instance of a class that implements
interfaces only from a set of permitted interfaces.
Utility class containing methods that support asserting conditions in tests.
A collection of utility methods that support asserting that a collection is empty.
A collection of utility methods that support asserting that an object is not an instance of a class.
A collection of utility methods that support asserting that two collections are the same size.
A collection of utility methods that support asserting that an executable throws one of a list of exception types.
A collection of utility methods that support asserting that an executable throws an exception that is not one of a
specified set of prohibited exception types.
Breaks in classes used for testing the test contracts (.e.g. 'Breakable' classes).
Interface for classes that can be "broken" programmatically to test contract classes.
A collection that can be broken in well-defined ways in order to test collection utilities or testing classes.
Utility class for implementing builders for subclasses of BreakableCollection.
The builder for BreakableCollection objects.
Mixin interface that adds an implementation of the
provider()
method that provides instances of
BreakableCollection
that do not have any breaks applied.An iterable that can be broken in well-defined ways in order to test collection utilities or testing classes.
Utility class for use by subclasses of
BreakableIterator
to make implementing a builder class easier.Builder class for
BreakableIterator
.An iterator that can be broken in well-defined ways in order to test collection utilities or testing classes.
A list that can be broken in well-defined ways in order to test collection utilities or testing
classes.
Utility class for creating breakable objects for testing contract classes.
A sequenced collection that can be broken in well-defined ways in order to test collection utilities or testing
classes.
The builder for BreakableCollection objects.
An Spliterator that can be broken in well-defined ways in order to test collection utilities or testing classes.
This interface tests if a collection class has implemented the
clear()
method
correctly.Collects the arguments for each call to the accept() method.
A collection of utility methods that support asserting conditions on collections in tests.
Test suite for classes that implement the
Collection
interface.Interface for collection contract classes that allows tests to check some characteristics of the class being tested.
The base interface for all classes that test
Collection
methods.Values used to identify collection class methods for use with the
CollectionContract.supportsMethod(OptionalMethod)
method.An collection that is provided for tests that only implement the
Collection
interface.Provides instances of
Collection
for use in testing.Utility class for creating collection providers.
Interface for contract classes that need a collection provider.
This class consists exclusively of static methods that operate on or return collections.
This interface tests if a collection class has implemented the
containsAll()
method
correctly.This interface tests if a collection class has implemented the
contains()
method
correctly.Common interface for contract classes.
Counts how many times the accept() method is called.
A decorator interface that indicates that the collection class being tested does not permit duplicate elements.
A decorator interface that indicates that the collection class being tested does not permit incompatible types.
A decorator interface that indicates that the collection class being tested does not permit
null
elements.Provides instances of a class that implements the
Number
interface that represent an integer value for the
purposes of testing.Provides instances of the class
Double
for the purposes of testing.Interface for contract classes that test iterables or collections with elements.
This interface tests if a class has implemented the
equals()
method correctly.Provides instances of the class
Float
for the purposes of testing.This interface tests if a collection class has implemented the
forEach()
method correctly based upon the
specification provided in Iterable.forEach(Consumer)
.A collection provider that uses a set of functions to construct instances of the collection.
An provider that uses a set of functions to construct instances of the class.
This interface tests if a list class has implemented the get method correctly.
Test for the getFirst method in the
SequencedCollection
interface.Test for the getFirst method in the
SequencedCollection
interface.This interface tests if a class has implemented the
hashCode()
method correctly.An Set that checks for elements by identity rather han by equality.
This interface tests if a list class has implemented the indexOf method correctly.
Test suite for classes that implement the
Integer
interface.Provides instances of a class that implements the
Number
interface that represent an integer value for the
purposes of testing.Provides instances of an
Integer
for the purposes of testing.Common interface for contracts that test classes that implement the
Number
interface and have integer values
(i.e. Short, Integer, Long, etc.).Utility class that helps create interface-narrowing views on objects.
This interface tests if a collection class has implemented the
isEmpty
method
correctly.A utility class for assertion classes that assert conditions on iterables.
This interface tests if a iterable class has implemented the
Iterable
methods correctly based upon the
specification provided in Iterable
.An iterable that is provided for tests that only implement the
Iterable
interface.This class consists exclusively of static methods that operate on or return iterables.
This interface tests if a iterable class has implemented the
iterator()
method
correctly and that the iterator that is returned satisfies the Iterator
contract.This interface tests if a list class has implemented the indexOf method correctly.
This interface tests if a list class has implemented the sort method correctly.
Test suite for classes that implement the
List
interface.This contract tests if a list class has implemented the toArray method correctly.
Provides instances of an
Long
for the purposes of testing.An instance of this class will compare equal to any other object.
An instance of this class will not compare equal to any other object.
The
NumberOnly
lass wraps any object and only exposes the methods on the Number
interface.Provides instances of a class that implements the
Number
interface for the purposes of testing.Common interface for contracts that test classes that implement the
Number
interface.This interface tests if a class has implemented the
Object
interface as specified in Object
.Values used to identify object class methods for use with the
SupportedMethods.supportsMethod(OptionalMethod)
method.The
ObjectOnly
class wraps any object and only exposes the methods on the Object
interface.Provides
Object
instances for use in testing.Interface class for enumerations that represent optional methods classes used while testing the test contracts.
A utility class that provides an implementation for the
SupportedMethods
interface.Utility class for creating instances of object providers for value classes.
Interface for contract classes that need an object provider.
This interface tests if a collection class has implemented the
removeAll
method correctly.This interface tests if a list class has implemented the remove method correctly.
This interface tests if a collection class has implemented the
remove
method correctly.Test for the removeFirst method in the
SequencedCollection
interface.This interface tests if a collection class has implemented the
removeIf
method correctly.Test for the
removeLast method
in the SequencedCollection
interface.This interface tests if a list class has implemented the replaceAll method
correctly.
This interface tests if a collection class has implemented the
retainAll
method correctly.Test for the reversed method in the
SequencedCollection
interface.Test suite for classes that implement the
SequencedCollection
interface.This interface tests if a list class has implemented the set method correctly.
Provides instances of an
Short
for the purposes of testing.This interface tests if a collection class has implemented the
size()
method
correctly.This interface tests if a list class has implemented the sort method correctly.
This interface tests if a collection class has implemented the spliterator() method
correctly and that the spliterator that is returned satisfies the
Spliterator
contract.This interface tests if a collection class has implemented the
stream()
method
correctly and that the iterator that is returned satisfies the Stream
contract.Provides instances of an
String
for the purposes of testing.This interface tests if a list class has implemented the subList method
correctly.
An interface used to indicate which of the optional methods of another interface that this class supports.
This interface tests if a collection class has implemented the
toArray
method
correctly.This interface tests if a class has implemented the
toString()
method correctly.An integer class that does not use cached values.
Mixing for a collection contract class that implements a collection provider for instances of ArrayList.
Provides an implementation of the
WithDouble.provider()
method that provides instances of Double
.Provides an implementation of the
WithInteger.provider()
method that provides instances of Integer
.Mixing for a collection contract class that implements a element provider for instances of
Integer
.Provides an implementation of the
WithString.provider()
method that provides instances of String
.