Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractBreakable - Class in org.soliscode.test.breakable
Utility class for implementing the Breakable interface.
AbstractBreakable() - Constructor for class org.soliscode.test.breakable.AbstractBreakable
Create a breakable object with no breaks.
AbstractBreakable(Collection<Break>) - Constructor for class org.soliscode.test.breakable.AbstractBreakable
Create a breakable object with a specified set of breaks.
AbstractBreakable(AbstractBreakable) - Constructor for class org.soliscode.test.breakable.AbstractBreakable
Create a breakable object with the same breaks as another breakable object.
AbstractBuilder() - Constructor for class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
Default constructor to be called by default constructors for subclasses.
AbstractBuilder() - Constructor for class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
AbstractBuilder(Collection<E>) - Constructor for class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
 
AbstractBuilder(Collection<E>) - Constructor for class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
AbstractBuilder(BreakableCollection.AbstractBuilder<B, C, E>) - Constructor for class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
 
AbstractBuilder(BreakableIterable.AbstractBuilder<B, C, E>) - Constructor for class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
AbstractTest - Class in org.soliscode.test
Utility class for adding optional method support to contract classes.
AbstractTest() - Constructor for class org.soliscode.test.AbstractTest
 
accept(E) - Method in class org.soliscode.test.util.CollectingConsumer
Collects the argument provided to this method.
accept(T) - Method in class org.soliscode.test.assertions.actions.AssertConsumeExactly
 
accept(T) - Method in class org.soliscode.test.assertions.actions.AssertConsumeNone
 
accept(T) - Method in class org.soliscode.test.assertions.actions.AssertConsumeOnly
 
accept(T) - Method in class org.soliscode.test.util.CountingConsumer
Counts each time this method is called.
accept(T) - Method in class org.soliscode.test.assertions.actions.AssertConsumeCount
Increments the count of the number of times the consumer has been used.
add(int, E) - Method in class org.soliscode.test.breakable.BreakableList
Implements the add method from the List interface.
add(E) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the add method from the Collection interface.
add(E) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
add(E) - Method in class org.soliscode.test.util.IdentitySet
 
Add - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method Collection.add(Object).
ADD_ALL_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The addAll method always return a result of false, even if the element is added.
ADD_ALL_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The addAll method always returns the opposite of the appropriate result.
ADD_ALL_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The addAll method always return a result of true, even if the element is not added.
ADD_ALL_AT_INDEX_ADDS_TO_THE_END - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method adds to the end of the collection.
ADD_ALL_AT_INDEX_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method always return a result of false, even if the element is added.
ADD_ALL_AT_INDEX_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method always returns the opposite of the appropriate result.
ADD_ALL_AT_INDEX_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method always return a result of true, even if the element is not added.
ADD_ALL_AT_INDEX_DOES_NOT_ADD_ANY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method will not add any elements to the collection
ADD_ALL_AT_INDEX_THROWS_WRONG_EXCEPTION_IF_NOT_SUPPORTED - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method method throws the wrong exception if it is not supported.
ADD_ALL_AT_INDEX_THROWS_WRONG_EXCEPTION_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method method throws the wrong exception when the index is out of bounds.
ADD_ALL_AT_INDEX_THROWS_WRONG_EXCEPTION_WHEN_ARGUMENT_IS_NULL - Static variable in class org.soliscode.test.breakable.BreakableList
The addAll method method throws the wrong exception if the argument is null.
ADD_ALL_DOES_NOT_ADD_ANY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableCollection
The addAll method will not add any elements to the collection
ADD_ALL_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The addAll method skips the first element to be added.
ADD_ALL_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The addAll method skips the last element to be added.
ADD_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The add method always return a result of false, even if the element is added.
ADD_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The add method always returns the opposite of the appropriate result.
ADD_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The add method always return a result of true, even if the element is not added.
ADD_AT_INDEX_ADDS_AT_NEXT_POSITION - Static variable in class org.soliscode.test.breakable.BreakableList
The add method adds the element at the next position.
ADD_AT_INDEX_ADDS_AT_PREVIOUS_POSITION - Static variable in class org.soliscode.test.breakable.BreakableList
The add method adds the element at the previous position.
ADD_AT_INDEX_DOES_NOT_ADD_THE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The add method will not add an element to the collection
ADD_AT_INDEX_THROWS_WRONG_EXCEPTION_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The add method throws the wrong exception when the index is out of bounds.
ADD_DOES_NOT_ADD_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The add method does not add an element to the collection
ADD_FIRST_ADDS_TO_END - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The addFirst method adds the element to the end of the collection.
ADD_FIRST_DOES_NOT_ADD_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The addFirst method does not add an element.
ADD_LAST_ADDS_TO_FRONT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The addLast method adds the element to the front of the collection.
ADD_LAST_DOES_NOT_ADD_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The addLast method does not add an element.
addAll(int, Collection<? extends E>) - Method in class org.soliscode.test.breakable.BreakableList
Break Description
ADD_ALL_AT_INDEX_DOES_NOT_ADD_ANY_ELEMENTS The addAll method will not add any elements to the collection.
addAll(Collection<? extends E>) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the addAll method from the Collection interface.
addAll(Collection<? extends E>) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
AddAll - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method Collection.addAll(Collection).
AddAllAtIndex - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method List.addAll(int, Collection).
AddAllContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the addAll() method correctly.
AddAtIndex - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The optional method List.add(int, java.lang.Object).
AddAtPositionContract<E,L> - Interface in org.soliscode.test.contract.list
Contract for testing the add method in the List interface.
addBreak(Break) - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
addBreaks(Collection<Break>) - Method in class org.soliscode.test.breakable.AbstractBreakable
 
addBreaks(Collection<Break>) - Method in interface org.soliscode.test.breakable.Breakable
Adds a set of breaks to this object.
AddContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the add method correctly.
addElements(E...) - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
addElements(Iterable<E>) - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
addFirst(E) - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the addFirst method from the SequencedCollection interface.
AddFirst - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
AddFirstContract<E,C> - Interface in org.soliscode.test.contract.sequenced
This interface tests if a class has implemented the addFirst() method correctly based upon the specification in the SequencedCollection class.
addFirstWithDuplicateValue() - Method in interface org.soliscode.test.contract.sequenced.AddFirstContract
Tests that the addFirst method handles duplicate values correctly.
addLast(E) - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the addLast method from the SequencedCollection interface.
AddLast - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
AddLastContract<E,C> - Interface in org.soliscode.test.contract.sequenced
This interface tests if a class has implemented the addLast() method correctly based upon the specification in the SequencedCollection class.
addLastWithDuplicateValue() - Method in interface org.soliscode.test.contract.sequenced.AddLastContract
Tests that the addFirst method handles duplicate values correctly.
addWithDuplicateValue() - Method in interface org.soliscode.test.contract.collection.AddContract
Tests that the add method handles duplicate values correctly.
AlwaysThrows - Class in org.soliscode.test.util
Class that implements the Object and Comparable interfaces, and that throws an exception when any method is called.
AlwaysThrows() - Constructor for class org.soliscode.test.util.AlwaysThrows
Creates an instance that always throws an UnsupportedOperationException for every method call.
AlwaysThrows(Supplier<RuntimeException>) - Constructor for class org.soliscode.test.util.AlwaysThrows
Creates an instance that always throws an exception that is provided by the supplier parameter.
ArrayAssertions - Class in org.soliscode.test.assertions
A collection of utility methods that support asserting conditions on arrays in tests.
asCollection(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Converts the iterable to a collection.
asIterable(E[]) - Static method in class org.soliscode.test.assertions.collection.IterableAssertion
 
asList(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Converts the iterable to a list.
AssertAction - Interface in org.soliscode.test.assertions.actions
Interface for classes that are used to test methods that accept actions (i.e. suppliers, consumers, etc.).
AssertActions - Class in org.soliscode.test.assertions.actions
Utility class for creating assertion actions to provide to methods that are being tested.
assertCheck() - Method in interface org.soliscode.test.assertions.actions.AssertAction
An assertion method that is called after a method had used the action and returned.
assertCheck() - Method in class org.soliscode.test.assertions.actions.AssertConsumeCount
Asserts that the consumer has been called the expected number of times.
assertCheck() - Method in class org.soliscode.test.assertions.actions.AssertConsumeExactly
 
AssertConsumeCount<T> - Class in org.soliscode.test.assertions.actions
A consumer that counts each time it consumes an object and asserts that it has consumed the expected number of objects when done.
AssertConsumeCount(int) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeCount
Create a consumer that expect to consume a specified number of objects.
AssertConsumeCount(int, String) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeCount
Create a consumer that expect to consume a specified number of objects.
AssertConsumeCount(int, Supplier<String>) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeCount
Create a consumer that expect to consume a specified number of objects.
AssertConsumeExactly<T> - Class in org.soliscode.test.assertions.actions
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.
AssertConsumeExactly(Iterable<T>) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeExactly
A consumer that checks that is consumes a specified set of objects.
AssertConsumeExactly(Iterable<T>, String) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeExactly
A consumer that checks that is consumes a specified set of objects.
AssertConsumeExactly(Iterable<T>, Supplier<String>) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeExactly
A consumer that checks that is consumes a specified set of objects.
assertConsumeNone() - Static method in class org.soliscode.test.assertions.actions.AssertActions
Create a consumer that expect to consume no objects.
assertConsumeNone(String) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Create a consumer that expect to consume no objects.
assertConsumeNone(Supplier<String>) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Create a consumer that expect to consume no objects.
AssertConsumeNone<T> - Class in org.soliscode.test.assertions.actions
A consumer that expects to consume no objects.
AssertConsumeNone() - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeNone
Create a consumer that expect to consume no objects.
AssertConsumeNone(String) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeNone
Create a consumer that expect to consume no objects.
AssertConsumeNone(Supplier<String>) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeNone
Create a consumer that expect to consume no objects.
AssertConsumeOnly<T> - Class in org.soliscode.test.assertions.actions
A consumer that checks that it only consumes objects from a specified set of objects, and not consuming any objects not in the set.
AssertConsumeOnly(Iterable<T>) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeOnly
Creates a consumer that checks that it only consumes objects from a specified set of objects.
AssertConsumeOnly(Iterable<T>, String) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeOnly
Creates a consumer that checks that it only consumes objects from a specified set of objects.
AssertConsumeOnly(Iterable<T>, Supplier<String>) - Constructor for class org.soliscode.test.assertions.actions.AssertConsumeOnly
Creates a consumer that checks that it only consumes objects from a specified set of objects.
AssertConsumer<T> - Interface in org.soliscode.test.assertions.actions
Interface for classes that are used to test methods that accept consumer actions (i.e. objects that implement the Consumer interface).
assertContains(Object, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains a specific element.
assertContains(Object, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains a specific element.
assertContains(Object, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains a specific element.
assertContainsAll(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements.
assertContainsAll(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements.
assertContainsAll(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements.
assertContainsAllByIdentity(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements.
assertContainsAllByIdentity(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements.
assertContainsAllByIdentity(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements.
assertContainsNone(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains no element from a set of elements.
assertContainsNone(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains no element from a set of elements.
assertContainsNone(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains no element from a set of elements.
assertContainsNoneByIdentity(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.AssertContainsNoneByIdentity
Test if an iterable contains no element from a set of elements.
assertContainsNoneByIdentity(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.AssertContainsNoneByIdentity
Test if an iterable contains no element from a set of elements.
assertContainsNoneByIdentity(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.AssertContainsNoneByIdentity
Test if an iterable contains no element from a set of elements.
AssertContainsNoneByIdentity - Class in org.soliscode.test.assertions.collection
A collection of utility methods that support asserting that a collection does not contain specific elements by identity.
assertContainsSame(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.AssertContainsSame
Test if two iterables contain the same set of elements.
assertContainsSame(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
A collection of utility methods that support asserting that two collections contain the same elements.
assertContainsSame(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.AssertContainsSame
Test if two iterables contain the same set of elements.
assertContainsSame(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
A collection of utility methods that support asserting that two collections contain the same elements.
assertContainsSame(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.AssertContainsSame
Test if two iterables contain the same set of elements.
assertContainsSame(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
A collection of utility methods that support asserting that two collections contain the same elements.
AssertContainsSame - Class in org.soliscode.test.assertions.collection
A collection of utility methods that support asserting that two collections contain the same elements.
assertContainsSameByIdentity(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.AssertContainsSameByIdentity
Test if two iterables contain the same set of elements.
assertContainsSameByIdentity(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if two iterables contain the same set of elements.
assertContainsSameByIdentity(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.AssertContainsSameByIdentity
Test if two iterables contain the same set of elements.
assertContainsSameByIdentity(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if two iterables contain the same set of elements.
assertContainsSameByIdentity(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.AssertContainsSameByIdentity
Test if two iterables contain the same set of elements.
assertContainsSameByIdentity(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if two iterables contain the same set of elements.
AssertContainsSameByIdentity - Class in org.soliscode.test.assertions.collection
A collection of utility methods that support asserting that two collections contain the same elements by identity.
assertDoesNotContain(Object, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable does not contain a specific element.
assertDoesNotContain(Object, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable does not contain a specific element.
assertDoesNotContain(Object, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable does not contain a specific element.
assertEquals(E[], Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of an array of elements in the same order.
assertEquals(E[], Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of an array of elements in the same order.
assertEquals(E[], Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of an array of elements in the same order.
assertEquals(Iterable<?>, E[]) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an array contains all of a list of elements in the same order.
assertEquals(Iterable<?>, E[], String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an array contains all of a list of elements in the same order.
assertEquals(Iterable<?>, E[], Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an array contains all of a list of elements in the same order.
assertEquals(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements in the same order.
assertEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements in the same order.
assertEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements in the same order.
assertEqualsByIdentity(E[], Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of an array of elements in the same order.
assertEqualsByIdentity(E[], Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of an array of elements in the same order.
assertEqualsByIdentity(E[], Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of an array of elements in the same order.
assertEqualsByIdentity(Iterable<?>, E[]) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an array contains all of a list of elements in the same order.
assertEqualsByIdentity(Iterable<?>, E[], String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an array contains all of a list of elements in the same order.
assertEqualsByIdentity(Iterable<?>, E[], Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an array contains all of a list of elements in the same order.
assertEqualsByIdentity(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements in the same order.
assertEqualsByIdentity(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements in the same order.
assertEqualsByIdentity(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Test if an iterable contains all of a set of elements in the same order.
assertImplementsOnly(Class<?>, Object) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that an object is an instance of a class that implements interfaces only from a set of permitted interfaces.
assertImplementsOnly(Collection<Class<?>>, Object) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that an object is an instance of a class that implements interfaces only from a set of permitted interfaces.
AssertImplementsOnly - Class in org.soliscode.test.assertions
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.
assertInstanceOf(Class<T>, Object, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the object is not a instance of a class.
assertInstanceOfOnly(Class<?>, Object, String) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that an object is an instance of a class that implements interfaces only from a set of permitted interfaces.
assertInstanceOfOnly(Class<?>, Object, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that an object is an instance of a class that implements interfaces only from a set of permitted interfaces.
assertInstanceOfOnly(Collection<Class<?>>, Object, String) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that an object is an instance of a class that implements interfaces only from a set of permitted interfaces.
assertInstanceOfOnly(Collection<Class<?>>, Object, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that an object is an instance of a class that implements interfaces only from a set of permitted interfaces.
Assertions - Class in org.soliscode.test.assertions
Utility class containing methods that support asserting conditions in tests.
assertIsEmpty(Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.AssertIsEmpty
Assert that the collection is empty.
assertIsEmpty(Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Assert that the collection is empty.
assertIsEmpty(Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.AssertIsEmpty
Assert that the collection is empty.
assertIsEmpty(Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Assert that the collection is empty.
assertIsEmpty(Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.AssertIsEmpty
Assert that the iterable is empty.
assertIsEmpty(Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Assert that the iterable is empty.
AssertIsEmpty - Class in org.soliscode.test.assertions.collection
A collection of utility methods that support asserting that a collection is empty.
assertIterablesNotNull(Object, Object) - Static method in class org.soliscode.test.assertions.collection.IterableAssertion
 
assertIterablesNotNull(Object, Object, Object) - Static method in class org.soliscode.test.assertions.collection.IterableAssertion
 
assertLengthEquals(int, Object[]) - Static method in class org.soliscode.test.assertions.ArrayAssertions
Assert that an array has an expected length.
assertLessThan(T, T) - Static method in class org.soliscode.test.assertions.Assertions
 
assertLessThan(T, T) - Static method in class org.soliscode.test.assertions.AssertLessThan
 
assertLessThan(T, T, String) - Static method in class org.soliscode.test.assertions.Assertions
 
assertLessThan(T, T, String) - Static method in class org.soliscode.test.assertions.AssertLessThan
 
assertLessThan(T, T, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
 
assertLessThan(T, T, Supplier<String>) - Static method in class org.soliscode.test.assertions.AssertLessThan
 
AssertLessThan - Class in org.soliscode.test.assertions
 
assertNotInstanceOf(Class<T>, Object) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the object is not a instance of a class.
assertNotInstanceOf(Class<T>, Object, String) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the object is not a instance of a class.
AssertNotInstanceOf - Class in org.soliscode.test.assertions
A collection of utility methods that support asserting that an object is not an instance of a class.
assertSameSize(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.AssertSameSize
Assert that the collections are the same size.
assertSameSize(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Assert that the collections are the same size.
assertSameSize(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.AssertSameSize
Assert that the collections are the same size.
assertSameSize(Iterable<?>, Iterable<?>, String) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Assert that the collections are the same size.
assertSameSize(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.AssertSameSize
Assert that the collections are the same size.
assertSameSize(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.soliscode.test.assertions.collection.CollectionAssertions
Assert that the collections are the same size.
AssertSameSize - Class in org.soliscode.test.assertions.collection
A collection of utility methods that support asserting that two collections are the same size.
assertThrowsAny(Collection<Class<? extends Throwable>>, Executable) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw one of a list of possible exception types.
assertThrowsAny(Collection<Class<? extends Throwable>>, Executable) - Static method in class org.soliscode.test.assertions.AssertThrowsAny
Asserts that the executable will throw one of a list of possible exception types.
assertThrowsAny(Collection<Class<? extends Throwable>>, Executable, String) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw one of a list of possible exception types.
assertThrowsAny(Collection<Class<? extends Throwable>>, Executable, String) - Static method in class org.soliscode.test.assertions.AssertThrowsAny
Asserts that the executable will throw one of a list of possible exception types.
assertThrowsAny(Collection<Class<? extends Throwable>>, Executable, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw one of a list of possible exception types.
assertThrowsAny(Collection<Class<? extends Throwable>>, Executable, Supplier<String>) - Static method in class org.soliscode.test.assertions.AssertThrowsAny
Asserts that the executable will throw one of a list of possible exception types.
AssertThrowsAny - Class in org.soliscode.test.assertions
A collection of utility methods that support asserting that an executable throws one of a list of exception types.
assertThrowsDifferent(Class<? extends Throwable>, Executable) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Class<? extends Throwable>, Executable) - Static method in class org.soliscode.test.assertions.AssertThrowsDifferent
Asserts that the executable will throw an exception that is the prohibited exception type.
assertThrowsDifferent(Class<? extends Throwable>, Executable, String) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Class<? extends Throwable>, Executable, String) - Static method in class org.soliscode.test.assertions.AssertThrowsDifferent
Asserts that the executable will throw an exception that is the prohibited exception type.
assertThrowsDifferent(Class<? extends Throwable>, Executable, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Class<? extends Throwable>, Executable, Supplier<String>) - Static method in class org.soliscode.test.assertions.AssertThrowsDifferent
Asserts that the executable will throw an exception that is the prohibited exception type.
assertThrowsDifferent(Collection<Class<? extends Throwable>>, Executable) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Collection<Class<? extends Throwable>>, Executable) - Static method in class org.soliscode.test.assertions.AssertThrowsDifferent
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Collection<Class<? extends Throwable>>, Executable, String) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Collection<Class<? extends Throwable>>, Executable, String) - Static method in class org.soliscode.test.assertions.AssertThrowsDifferent
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Collection<Class<? extends Throwable>>, Executable, Supplier<String>) - Static method in class org.soliscode.test.assertions.Assertions
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
assertThrowsDifferent(Collection<Class<? extends Throwable>>, Executable, Supplier<String>) - Static method in class org.soliscode.test.assertions.AssertThrowsDifferent
Asserts that the executable will throw an exception that is not one of a list of prohibited exception types.
AssertThrowsDifferent - Class in org.soliscode.test.assertions
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.
asSet(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Converts the iterable to a set.

B

Break - Record Class in org.soliscode.test.breakable
Breaks in classes used for testing the test contracts (.e.g. 'Breakable' classes).
Break(String) - Constructor for record class org.soliscode.test.breakable.Break
Creates an instance of a Break record class.
Breakable - Interface in org.soliscode.test.breakable
Interface for classes that can be "broken" programmatically to test contract classes.
BreakableCollection<E> - Class in org.soliscode.test.breakable
A collection that can be broken in well-defined ways in order to test collection utilities or testing classes.
BreakableCollection() - Constructor for class org.soliscode.test.breakable.BreakableCollection
Creates an empty collection that has no breaks.
BreakableCollection(Collection<E>) - Constructor for class org.soliscode.test.breakable.BreakableCollection
Creates a breakable iterable from an iterable.
BreakableCollection(Collection<E>, Collection<Break>, int) - Constructor for class org.soliscode.test.breakable.BreakableCollection
Creates a BreakableCollection from en existing collection and specifying the breaks and collection characteristics.
BreakableCollection(BreakableCollection<E>) - Constructor for class org.soliscode.test.breakable.BreakableCollection
Creates a breakable collection from an existing instance.
BreakableCollection.AbstractBuilder<B,C,E> - Class in org.soliscode.test.breakable
Utility class for implementing builders for subclasses of BreakableCollection.
BreakableCollection.Builder<E> - Class in org.soliscode.test.breakable
The builder for BreakableCollection objects.
BreakableCollection.WithProvider<E> - Interface in org.soliscode.test.breakable
Mixin interface that adds an implementation of the provider() method that provides instances of BreakableCollection that do not have any breaks applied.
BreakableIterable<E> - Class in org.soliscode.test.breakable
An iterable that can be broken in well-defined ways in order to test collection utilities or testing classes.
BreakableIterable() - Constructor for class org.soliscode.test.breakable.BreakableIterable
Creates and empty breakable iterable with no breaks.
BreakableIterable(Iterable<E>, Collection<Break>, int) - Constructor for class org.soliscode.test.breakable.BreakableIterable
Creates a breakable iterable from another iterable with a set of breaks and characteristics specified by the other arguments.
BreakableIterable(Collection<E>) - Constructor for class org.soliscode.test.breakable.BreakableIterable
Creates a breakable iterable from an iterable.
BreakableIterable(Set<Break>) - Constructor for class org.soliscode.test.breakable.BreakableIterable
Creates a breakable iterable with a set of breaks
BreakableIterable(BreakableIterable<E>) - Constructor for class org.soliscode.test.breakable.BreakableIterable
Creates a breakable iterable from an existing instance.
BreakableIterable.AbstractBuilder<B,C,E> - Class in org.soliscode.test.breakable
Utility class for use by subclasses of BreakableIterator to make implementing a builder class easier.
BreakableIterable.Builder<E> - Class in org.soliscode.test.breakable
Builder class for BreakableIterator.
BreakableIterable.WithProvider<E> - Interface in org.soliscode.test.breakable
 
BreakableIterator<E> - Class in org.soliscode.test.breakable
An iterator that can be broken in well-defined ways in order to test collection utilities or testing classes.
BreakableIterator(Iterator<E>, Collection<Break>, int) - Constructor for class org.soliscode.test.breakable.BreakableIterator
Constructs a breakable iterator from a iterator that will provide the implementation.
BreakableList<E> - Class in org.soliscode.test.breakable
A list that can be broken in well-defined ways in order to test collection utilities or testing classes.
BreakableList() - Constructor for class org.soliscode.test.breakable.BreakableList
Creates an empty list that has no breaks.
BreakableList(List<E>) - Constructor for class org.soliscode.test.breakable.BreakableList
Creates a breakable iterable from an iterable.
BreakableList(List<E>, Collection<Break>, int) - Constructor for class org.soliscode.test.breakable.BreakableList
Creates a BreakableSequencedCollection from en existing collection and specifying the breaks and collection characteristics.
BreakableList(BreakableList<E>) - Constructor for class org.soliscode.test.breakable.BreakableList
Creates a breakable sequenced collection from an existing instance.
Breakables - Class in org.soliscode.test.breakable
Utility class for creating breakable objects for testing contract classes.
BreakableSequencedCollection<E> - Class in org.soliscode.test.breakable
A sequenced collection that can be broken in well-defined ways in order to test collection utilities or testing classes.
BreakableSequencedCollection() - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection
Creates an empty sequenced collection that has no breaks.
BreakableSequencedCollection(List<E>) - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection
Creates a breakable iterable from an iterable.
BreakableSequencedCollection(List<E>, Collection<Break>, int) - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection
Creates a BreakableSequencedCollection from en existing collection and specifying the breaks and collection characteristics.
BreakableSequencedCollection(BreakableSequencedCollection<E>) - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection
Creates a breakable sequenced collection from an existing instance.
BreakableSequencedCollection.Builder<E> - Class in org.soliscode.test.breakable
The builder for BreakableCollection objects.
BreakableSpliterator<E> - Class in org.soliscode.test.breakable
An Spliterator that can be broken in well-defined ways in order to test collection utilities or testing classes.
BreakableSpliterator(Spliterator<E>, Collection<Break>, int) - Constructor for class org.soliscode.test.breakable.BreakableSpliterator
Constructs a breakable spliterator from a spliterator that will provide the implementation.
breaks - Variable in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
breaks() - Method in class org.soliscode.test.breakable.AbstractBreakable
 
breaks() - Method in interface org.soliscode.test.breakable.Breakable
Returns all of the breaks that have been added to this object.
build() - Method in class org.soliscode.test.breakable.BreakableCollection.Builder
Build a BreakableCollection objects using the values from the builder.
build() - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
build() - Method in class org.soliscode.test.breakable.BreakableIterable.Builder
 
build() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection.Builder
Build a BreakableCollection objects using the values from the builder.
buildCollection(E...) - Static method in class org.soliscode.test.breakable.Breakables
Creates a builder for a BreakableCollection initialized with a set of elements.
buildCollection(Class<E>) - Static method in class org.soliscode.test.breakable.Breakables
Creates a builder for a BreakableCollection.
Builder() - Constructor for class org.soliscode.test.breakable.BreakableCollection.Builder
Create a builder initialized with the default values.
Builder() - Constructor for class org.soliscode.test.breakable.BreakableIterable.Builder
Creates a builder for BreakableIterator.
Builder() - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection.Builder
Create a builder initialized with the default values.
Builder(List<E>) - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection.Builder
Create a builder initialized with an element store.
Builder(BreakableCollection.Builder<E>) - Constructor for class org.soliscode.test.breakable.BreakableCollection.Builder
Create a builder initialized with the values copied from another builder.
Builder(BreakableIterable.Builder<E>) - Constructor for class org.soliscode.test.breakable.BreakableIterable.Builder
Copies a builder for BreakableIterator.
Builder(BreakableSequencedCollection.Builder<E>) - Constructor for class org.soliscode.test.breakable.BreakableSequencedCollection.Builder
Create a builder initialized with the values copied from another builder.
buildIterable(E...) - Static method in class org.soliscode.test.breakable.Breakables
Creates a builder for a BreakableIterable initialized with a set of elements.
buildIterable(Class<E>) - Static method in class org.soliscode.test.breakable.Breakables
Creates a builder for a BreakableIterable.
buildSequencedCollection(E...) - Static method in class org.soliscode.test.breakable.Breakables
Creates a builder for a BreakableSequencedCollection initialized with a set of elements.
buildSequencedCollection(Class<E>) - Static method in class org.soliscode.test.breakable.Breakables
Creates a builder for a BreakableSequencedCollection.

C

CHARACTERISTIC_VALUES - Static variable in interface org.soliscode.test.contract.iterable.SpliteratorContract
The full list of supported Spliterator characteristics.
characteristics - Variable in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
characteristics() - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the characteristics method from the Spliterator interface.
checkArgument(Object) - Method in class org.soliscode.test.breakable.BreakableCollection
Checks that the argument is valid for this collection.
checkNewElement(E) - Method in class org.soliscode.test.breakable.BreakableCollection
Checks that the element is valid to add to this collection.
clear() - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the clear method from the Collection interface.
clear() - Method in class org.soliscode.test.interfaces.CollectionOnly
 
Clear - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method Collection.clear().
CLEAR_DOES_NOT_REMOVE_ANY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableCollection
The clear method doers not remove any elements,
CLEAR_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The clear method skips the first element,
CLEAR_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The clear method skips the last element,
ClearContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the clear() method correctly.
CollectingConsumer<E> - Class in org.soliscode.test.util
Collects the arguments for each call to the accept() method.
CollectingConsumer() - Constructor for class org.soliscode.test.util.CollectingConsumer
 
CollectionAssertions - Class in org.soliscode.test.assertions.collection
A collection of utility methods that support asserting conditions on collections in tests.
CollectionContract<E,C> - Interface in org.soliscode.test.contract.collection
Test suite for classes that implement the Collection interface.
CollectionContractConfig - Interface in org.soliscode.test.contract
Interface for collection contract classes that allows tests to check some characteristics of the class being tested.
CollectionContractSupport<E,C> - Interface in org.soliscode.test.contract.support
The base interface for all classes that test Collection methods.
CollectionMethods - Enum Class in org.soliscode.test.contract
Values used to identify collection class methods for use with the CollectionContract.supportsMethod(OptionalMethod) method.
CollectionOnly<E> - Class in org.soliscode.test.interfaces
An collection that is provided for tests that only implement the Collection interface.
CollectionOnly() - Constructor for class org.soliscode.test.interfaces.CollectionOnly
Creates an empty collection.
CollectionOnly(Collection<E>) - Constructor for class org.soliscode.test.interfaces.CollectionOnly
Creates an instance of CollectionOnly from the collection provided.
CollectionOnly(CollectionOnly<E>) - Constructor for class org.soliscode.test.interfaces.CollectionOnly
Creates a copy of a collection.
collectionProvider(ObjectProvider<E>) - Static method in class org.soliscode.test.breakable.BreakableCollection
Creates a collection provider for instances of BreakableCollection, given an element provider.
collectionProvider(ObjectProvider<E>, Set<Break>) - Static method in class org.soliscode.test.breakable.BreakableCollection
Creates a collection provider for instances of BreakableCollection, given an element provider and a set of breaks.
CollectionProvider<E,I> - Interface in org.soliscode.test.provider
Provides instances of Collection for use in testing.
CollectionProviders - Class in org.soliscode.test.provider
Utility class for creating collection providers.
CollectionProviderSupport<E,C> - Interface in org.soliscode.test.contract.support
Interface for contract classes that need a collection provider.
CollectionTestOps - Class in org.soliscode.test.util
This class consists exclusively of static methods that operate on or return collections.
compareTo(AlwaysThrows) - Method in class org.soliscode.test.util.AlwaysThrows
Always throws the supplied exception
compareTo(MatchEverything) - Method in class org.soliscode.test.util.MatchEverything
Always returns 0.
compareTo(MatchNothing) - Method in class org.soliscode.test.util.MatchNothing
Always returns 1.
compareTo(UncachedInteger) - Method in class org.soliscode.test.util.UncachedInteger
Compares two UncachedInteger objects numerically.
consumeCount(int) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Create a consumer that expect to consume a specified number of objects.
consumeCount(int, String) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Create a consumer that expect to consume a specified number of objects.
consumeCount(int, Supplier<String>) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Create a consumer that expect to consume a specified number of objects.
consumeExactly(Iterable<T>) - Static method in class org.soliscode.test.assertions.actions.AssertActions
A consumer that checks that is consumes a specified set of objects.
consumeExactly(Iterable<T>, String) - Static method in class org.soliscode.test.assertions.actions.AssertActions
A consumer that checks that is consumes a specified set of objects.
consumeExactly(Iterable<T>, Supplier<String>) - Static method in class org.soliscode.test.assertions.actions.AssertActions
A consumer that checks that is consumes a specified set of objects.
consumeOnly(Iterable<T>) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Creates a consumer that checks that it only consumes objects from a specified set of objects.
consumeOnly(Iterable<T>, String) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Creates a consumer that checks that it only consumes objects from a specified set of objects.
consumeOnly(Iterable<T>, Supplier<String>) - Static method in class org.soliscode.test.assertions.actions.AssertActions
Creates a consumer that checks that it only consumes objects from a specified set of objects.
contains(Iterable<?>, Object) - Static method in class org.soliscode.test.util.IterableTestOps
Returns true if this iterable contains the specified element.
contains(Object) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the contains method from the Collection interface.
contains(Object) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
contains(Object) - Method in class org.soliscode.test.util.IdentitySet
 
CONTAINS_ALL_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The containsAll method will always return a false.
CONTAINS_ALL_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The containsAll method will always return a true.
CONTAINS_ALL_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The containsAll method will return the opposite value.
CONTAINS_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The contains method will always return a false.
CONTAINS_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The contains method will always return a true.
CONTAINS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The contains method will return the opposite value.
containsAll(Collection<?>) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the containsAll method from the Collection interface.
containsAll(Collection<?>) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
ContainsAll - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
ContainsAllContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the containsAll() method correctly.
containsByIdentity(Iterable<?>, Object) - Static method in class org.soliscode.test.util.IterableTestOps
Returns true if this iterable contains the specified element.
ContainsContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the contains() method correctly.
ContractSupport<T> - Interface in org.soliscode.test.contract.support
Common interface for contract classes.
copy() - Method in class org.soliscode.test.breakable.BreakableCollection.Builder
 
copy() - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
copy() - Method in class org.soliscode.test.breakable.BreakableIterable.Builder
copy() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection.Builder
 
copy(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Creates a copy of an iterable.
copyFirst(Iterable<E>, int) - Static method in class org.soliscode.test.util.IterableTestOps
Creates a copy of an the first N elements of an iterable.
copyInstance(String) - Method in class org.soliscode.test.provider.StringProvider
Creates a copy of the string value.
copyInstance(T) - Method in interface org.soliscode.test.provider.DoubleNumberProvider
Copies an instance of the class being tested.
copyInstance(T) - Method in class org.soliscode.test.provider.FunctionalProvider
 
copyInstance(T) - Method in interface org.soliscode.test.provider.IntegerNumberProvider
 
copyInstance(T) - Method in interface org.soliscode.test.provider.ObjectProvider
Copies an instance of the class being tested.
count() - Method in class org.soliscode.test.util.CountingConsumer
Returns the number of times the accept method has been called.
CountingConsumer<T> - Class in org.soliscode.test.util
Counts how many times the accept() method is called.
CountingConsumer() - Constructor for class org.soliscode.test.util.CountingConsumer
 
createEqualObjects(int) - Method in interface org.soliscode.test.provider.ObjectProvider
Creates s list of instances that are equal to each other.
createInstance() - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a single instance of class being tested.
createInstance(int) - Method in interface org.soliscode.test.provider.CollectionProvider
Creates an instance of iterable being tested based upon an integer seed value.
createInstance(int) - Method in interface org.soliscode.test.provider.DoubleNumberProvider
Creates a single instance of class being tested based upon an integer seed value.
createInstance(int) - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
createInstance(int) - Method in class org.soliscode.test.provider.FunctionalProvider
 
createInstance(int) - Method in interface org.soliscode.test.provider.IntegerNumberProvider
 
createInstance(int) - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a single instance of class being tested based upon an integer seed value.
createInstance(int) - Method in class org.soliscode.test.provider.StringProvider
Creates an instance of the string class with a value equal to the string representation of a primitive integer value.
createInstance(E[]) - Method in interface org.soliscode.test.provider.CollectionProvider
Creates an instance of iterable with the same elements provided.
createInstance(E[]) - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
Creates an instance of iterable with the same elements provided.
createInstance(Collection<E>) - Method in interface org.soliscode.test.provider.CollectionProvider
Creates an instance of iterable with the same elements as in the specified collection.
createInstance(Collection<E>) - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
createInstanceWithUniqueElements() - Method in interface org.soliscode.test.provider.CollectionProvider
Create an iterable with a set of elements that does not contain any duplicate values.
createInstanceWithUniqueElements() - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
createInstanceWithUniqueElements(int) - Method in interface org.soliscode.test.provider.CollectionProvider
Create an iterable with a set of elements of a specified length that does not contain any duplicate values.
createInstanceWithUniqueElements(int) - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
createInstanceWithUniqueElements(int, int) - Method in interface org.soliscode.test.provider.CollectionProvider
Create an iterable with a set of elements of a specified length and using the specified seed value that does not contain any duplicate values.
createInstanceWithUniqueElements(int, int) - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
createRandoInstances(int) - Method in interface org.soliscode.test.provider.ObjectProvider
Creates multiple instances of class being tested with random values.
createSingleton() - Method in interface org.soliscode.test.provider.CollectionProvider
Creates an instance of iterable with a single element.
createSingleton() - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
createSingleton(E) - Method in interface org.soliscode.test.provider.CollectionProvider
Creates an instance of iterable with a single element.
createSingleton(E) - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
Creates an instance of iterable with a single element.
createUniqueInstances(int) - Method in interface org.soliscode.test.provider.ObjectProvider
Creates multiple instances of class being tested with unique values.
createUniqueInstances(int, int) - Method in interface org.soliscode.test.provider.ObjectProvider
Creates multiple instances of class being tested with unique values.
createValue(double) - Method in interface org.soliscode.test.provider.DoubleNumberProvider
Creates an instance of the double number class with a numeric value equal to the primitive double value.
createValue(double) - Method in class org.soliscode.test.provider.DoubleProvider
Creates an instance of the Integer class with a numeric value equal to the primitive double value.
createValue(double) - Method in class org.soliscode.test.provider.FloatProvider
Creates an instance of the Float class with a numeric value equal to the primitive float value.
createValue(int) - Method in interface org.soliscode.test.provider.IntegerNumberProvider
Creates an instance of the integer number class with a numeric value equal to the primitive integer value.
createValue(int) - Method in class org.soliscode.test.provider.IntegerProvider
Creates an instance of the Integer class with a numeric value equal to the primitive integer value.
createValue(int) - Method in class org.soliscode.test.provider.LongProvider
Creates an instance of the Long class with a numeric value equal to the primitive long value.
createValue(int) - Method in class org.soliscode.test.provider.ShortProvider
Creates an instance of the Short class with a numeric value equal to the primitive short value.

D

DEFAULT_CAPACITY - Static variable in class org.soliscode.test.breakable.BreakableIterable
 
DEFAULT_SIZE - Static variable in interface org.soliscode.test.contract.support.CollectionContractSupport
The default number of elements (10) to use for a test.
defaultInstance() - Method in interface org.soliscode.test.provider.DoubleNumberProvider
 
defaultInstance() - Method in class org.soliscode.test.provider.FunctionalProvider
 
defaultInstance() - Method in interface org.soliscode.test.provider.IntegerNumberProvider
 
defaultInstance() - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a single instance of class being tested using the default constructor.
defaultInstance() - Method in class org.soliscode.test.provider.StringProvider
 
description() - Method in record class org.soliscode.test.breakable.Break
Returns the value of the description record component.
doesNotPermitDuplicates() - Method in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
Sets the builder to construct a collection that does not permit duplicate elements.
DoesNotPermitDuplicates - Interface in org.soliscode.test.contract
A decorator interface that indicates that the collection class being tested does not permit duplicate elements.
doesNotPermitIncompatibleTypes() - Method in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
Sets the builder to construct a collection that does not permit incompatible types.
DoesNotPermitIncompatibleTypes - Interface in org.soliscode.test.contract
A decorator interface that indicates that the collection class being tested does not permit incompatible types.
doesNotPermitNulls() - Method in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
Sets the builder to construct a collection that does not permit nulls.
DoesNotPermitNulls - Interface in org.soliscode.test.contract
A decorator interface that indicates that the collection class being tested does not permit null elements.
doesNotSupport(OptionalMethod) - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
doesNotSupportMethod(OptionalMethod) - Method in class org.soliscode.test.OptionalMethodSupport
Specifies that the class does not support the method passed as an argument.
doesNotSupportMethod(OptionalMethod) - Method in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
Sets the builder to construct a collection that does not support the method provided as the argument.
doesNotSupportMethod(OptionalMethod) - Method in interface org.soliscode.test.contract.collection.CollectionContract
Used to indicate that the class being tested does not support an optional method.
doesNotSupportModification() - Method in interface org.soliscode.test.contract.collection.CollectionContract
Specific if the test collection supports the methods that allow modification.
doesNotSupportModification() - Method in interface org.soliscode.test.contract.list.ListContract
 
doesNotSupportModification() - Method in interface org.soliscode.test.contract.sequenced.SequencedCollectionContract
This method can be called when testing collection classes that do not permit modification.
DoubleNumberProvider<T> - Interface in org.soliscode.test.provider
Provides instances of a class that implements the Number interface that represent an integer value for the purposes of testing.
doubleProvider() - Static method in class org.soliscode.test.provider.Providers
Creates a provider for the Double class.
DoubleProvider - Class in org.soliscode.test.provider
Provides instances of the class Double for the purposes of testing.
DoubleProvider() - Constructor for class org.soliscode.test.provider.DoubleProvider
 
doubleValue() - Method in class org.soliscode.test.interfaces.NumberOnly
doubleValue() - Method in class org.soliscode.test.util.UncachedInteger
Returns the value of this UncachedInteger as an double.

E

elementProvider() - Method in interface org.soliscode.test.contract.support.ElementProviderSupport
Returns the elements provider for the contract.
elementProvider() - Method in interface org.soliscode.test.contract.support.WithIntegerElement
Returns an elements provider for instances of Integer..
elementProvider() - Method in interface org.soliscode.test.provider.CollectionProvider
Returns the element provider used to create elements for instances of the collection.
elementProvider() - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
 
ElementProviderSupport<E> - Interface in org.soliscode.test.contract.support
Interface for contract classes that test iterables or collections with elements.
elements - Variable in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
empty() - Static method in class org.soliscode.test.util.IterableTestOps
Returns an empty iterable.
emptyInstance() - Method in interface org.soliscode.test.provider.CollectionProvider
Creates an instance of iterable with no elements.
emptyInstance() - Method in class org.soliscode.test.provider.FunctionalCollectionProvider
Creates an instance of iterable with no elements.
ensureUnbroken(Iterable<E>) - Static method in class org.soliscode.test.breakable.Breakables
Makes sure that the iterator is not a broken iterator.
ensureUnbroken(Collection<E>) - Static method in class org.soliscode.test.breakable.Breakables
Makes sure that the collection is not a broken collection.
equalInstanceSupplier() - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a Supplier that will generate equal instances of the class being provided.
equals(Iterable<?>, Iterable<?>) - Static method in class org.soliscode.test.util.IterableTestOps
 
equals(Object) - Method in record class org.soliscode.test.breakable.Break
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.soliscode.test.breakable.BreakableIterable
equals(Object) - Method in class org.soliscode.test.interfaces.CollectionOnly
equals(Object) - Method in class org.soliscode.test.interfaces.IterableOnly
equals(Object) - Method in class org.soliscode.test.interfaces.NumberOnly
equals(Object) - Method in class org.soliscode.test.interfaces.ObjectOnly
equals(Object) - Method in class org.soliscode.test.util.AlwaysThrows
Always throws the supplied exception
equals(Object) - Method in class org.soliscode.test.util.MatchEverything
Always returns true.
equals(Object) - Method in class org.soliscode.test.util.MatchNothing
Always returns false.
equals(Object) - Method in class org.soliscode.test.util.UncachedInteger
Compares this object to the specified object.
Equals - Enum constant in enum class org.soliscode.test.contract.object.ObjectMethods
The option al method Object.equals(Object).
EqualsContract<T> - Interface in org.soliscode.test.contract.object
This interface tests if a class has implemented the equals() method correctly.
estimateSize() - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the estimateSize method from the Spliterator interface.

F

failIterableIsNull(String, Object) - Static method in class org.soliscode.test.assertions.collection.IterableAssertion
 
floatProvider() - Static method in class org.soliscode.test.provider.Providers
Creates a provider for the Float class.
FloatProvider - Class in org.soliscode.test.provider
Provides instances of the class Float for the purposes of testing.
FloatProvider() - Constructor for class org.soliscode.test.provider.FloatProvider
 
floatValue() - Method in class org.soliscode.test.interfaces.NumberOnly
floatValue() - Method in class org.soliscode.test.util.UncachedInteger
Returns the value of this UncachedInteger as an float.
FOR_EACH_DOES_NOT_CALL_ACTION - Static variable in class org.soliscode.test.breakable.BreakableIterable
The method forEach does not call the action on any of the elements.
FOR_EACH_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableIterable
The forEach method does not call the action on the first element.
FOR_EACH_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableIterable
The method forEach does not call the action on the last element.
FOR_EACH_THROWS_WRONG_EXCEPTION_FOR_NULL_ARGUMENT - Static variable in class org.soliscode.test.breakable.BreakableIterable
The method forEach throws the wrong exception when passes a null action argument.
forEach(Consumer<? super E>) - Method in class org.soliscode.test.breakable.BreakableIterable
Implements the forEach method from the Iterable interface.
ForEachContract<E,I> - Interface in org.soliscode.test.contract.iterable
This interface tests if a collection class has implemented the forEach() method correctly based upon the specification provided in Iterable.forEach(Consumer).
forEachRemaining(Consumer<? super E>) - Method in class org.soliscode.test.breakable.BreakableIterator
Implements the forEachRemaining method from the Iterator interface.
forEachRemaining(Consumer<? super E>) - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the forEachRemaining method from the Spliterator interface.
from(Supplier<C>, Function<C, C>, Function<Collection<E>, C>, ObjectProvider<E>) - Static method in class org.soliscode.test.provider.CollectionProviders
Create an instance of this collection provider that uses the methods and element provider specified in the arguments for its implementation.
from(Supplier<I>, Function<I, I>, Function<Collection<E>, I>, ObjectProvider<E>) - Static method in class org.soliscode.test.provider.FunctionalCollectionProvider
Create an instance of this collection provider that uses the methods and element provider specified in the arguments for its implementation.
FunctionalCollectionProvider<E,I> - Class in org.soliscode.test.provider
A collection provider that uses a set of functions to construct instances of the collection.
FunctionalCollectionProvider(Supplier<I>, Function<I, I>, Function<Collection<E>, I>, ObjectProvider<E>) - Constructor for class org.soliscode.test.provider.FunctionalCollectionProvider
Create an instance of this collection provider that uses the methods and element provider specified in the arguments for its implementation.
FunctionalProvider<T> - Class in org.soliscode.test.provider
An provider that uses a set of functions to construct instances of the class.
FunctionalProvider(Supplier<T>, Function<T, T>) - Constructor for class org.soliscode.test.provider.FunctionalProvider
Create an instance of this collection provider that uses the methods and element provider specified in the arguments for its implementation.
FunctionalProvider(Supplier<T>, Function<T, T>, Function<Integer, T>) - Constructor for class org.soliscode.test.provider.FunctionalProvider
Create an instance of this collection provider that uses the methods and element provider specified in the arguments for its implementation.

G

get(int) - Method in class org.soliscode.test.breakable.BreakableList
Break Description
GET_ALWAYS_RETURNS_NULL The get method always returns null
GET_ALWAYS_RETURNS_THE_FIRST_ELEMENT The get methods always returns the first element.
Get - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The method List.get(int).
GET_ALWAYS_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableList
The get method always returns null
GET_ALWAYS_RETURNS_THE_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The get method always returns the first element.
GET_ALWAYS_RETURNS_THE_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The get method always returns the last element.
GET_FIRST_ALWAYS_THROWS - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The getFirst method always throws a NoSuchElementException
GET_FIRST_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The getFirst method returns a null value.
GET_FIRST_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The getFirst method returns the second element.
GET_LAST_ALWAYS_THROWS - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The getLast method always throws a NoSuchElementException
GET_LAST_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The getLast method returns a null value.
GET_LAST_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The getLast method returns the second element.
GET_RETURNS_NULL_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The get method returns null on a bad index instead of throwing en exception.
GET_RETURNS_THE_NEXT_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The get method returns the next element (i.e. at index + 1).
GET_RETURNS_THE_PREVIOUS_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The get method returns the previous element (i.e. at index - 1).
GET_THROWS_WRONG_EXCEPTION_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The get method throws the wrong exception on a bad index.
getComparator() - Method in class org.soliscode.test.breakable.BreakableSpliterator
 
GetContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the get method correctly.
getExactSizeIfKnown() - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the getExactSizeIfKnown method from the Spliterator interface.
getFirst() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the getFirst method from the SequencedCollection interface.
GetFirst - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
GetFirstContract<E,C> - Interface in org.soliscode.test.contract.sequenced
Test for the getFirst method in the SequencedCollection interface.
getGenericParameter(Object, int) - Static method in class org.soliscode.test.util.CollectionTestOps
Gets the class of the a generic parameter form an instance of the generic class.
getLast() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the getLast method from the SequencedCollection interface.
GetLast - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
GetLastContract<E,C> - Interface in org.soliscode.test.contract.sequenced
Test for the getFirst method in the SequencedCollection interface.

H

hasBreak(Break) - Method in class org.soliscode.test.breakable.AbstractBreakable
 
hasBreak(Break) - Method in interface org.soliscode.test.breakable.Breakable
Determines if this instance has a specified break.
hasCharacteristics(int) - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the hasCharacteristics method from the Spliterator interface.
hashCode() - Method in record class org.soliscode.test.breakable.Break
Returns a hash code value for this object.
hashCode() - Method in class org.soliscode.test.breakable.BreakableIterable
hashCode() - Method in class org.soliscode.test.interfaces.CollectionOnly
hashCode() - Method in class org.soliscode.test.interfaces.IterableOnly
hashCode() - Method in class org.soliscode.test.interfaces.NumberOnly
hashCode() - Method in class org.soliscode.test.interfaces.ObjectOnly
hashCode() - Method in class org.soliscode.test.util.AlwaysThrows
Always throws the supplied exception
hashCode() - Method in class org.soliscode.test.util.MatchEverything
Always returns 1.
hashCode() - Method in class org.soliscode.test.util.MatchNothing
Always returns 1.
hashCode() - Method in class org.soliscode.test.util.UncachedInteger
Returns a hash code for this UncachedInteger.
HashCode - Enum constant in enum class org.soliscode.test.contract.object.ObjectMethods
The option al method Object.hashCode().
HashCodeContract<T> - Interface in org.soliscode.test.contract.object
This interface tests if a class has implemented the hashCode() method correctly.
hasNext() - Method in class org.soliscode.test.breakable.BreakableIterator
Implements the hasNext method from the Iterator interface.

I

IdentitySet<E> - Class in org.soliscode.test.util
An Set that checks for elements by identity rather han by equality.
IdentitySet() - Constructor for class org.soliscode.test.util.IdentitySet
Creates an empty identity set.
IdentitySet(Collection<? extends E>) - Constructor for class org.soliscode.test.util.IdentitySet
Creates a copy of another identity set.
indexOf(Object) - Method in class org.soliscode.test.breakable.BreakableList
 
IndexOfContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the indexOf method correctly.
IntegerContract<T> - Interface in org.soliscode.test.contract.numeric
Test suite for classes that implement the Integer interface.
IntegerNumberProvider<T> - Interface in org.soliscode.test.provider
Provides instances of a class that implements the Number interface that represent an integer value for the purposes of testing.
integerProvider() - Static method in class org.soliscode.test.provider.Providers
Creates a provider for the Integer class.
IntegerProvider - Class in org.soliscode.test.provider
Provides instances of an Integer for the purposes of testing.
IntegerProvider() - Constructor for class org.soliscode.test.provider.IntegerProvider
 
IntegerSupport<T> - Interface in org.soliscode.test.contract.support
Common interface for contracts that test classes that implement the Number interface and have integer values (i.e. Short, Integer, Long, etc.).
Interfaces - Class in org.soliscode.test.interfaces
Utility class that helps create interface-narrowing views on objects.
intValue() - Method in class org.soliscode.test.interfaces.NumberOnly
intValue() - Method in class org.soliscode.test.util.UncachedInteger
Returns the value of this UncachedInteger as an int.
IS_EMPTY_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The isEmpty method will always return a false.
IS_EMPTY_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The isEmpty method will always return a true.
IS_EMPTY_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The isEmpty method will return the opposite value.
isEmpty() - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the isEmpty method from the Collection interface.
isEmpty() - Method in class org.soliscode.test.interfaces.CollectionOnly
 
isEmpty(Iterable<?>) - Static method in class org.soliscode.test.util.IterableTestOps
Returns true if the iterable contains no elements.
IsEmptyContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the isEmpty method correctly.
iterable - Variable in class org.soliscode.test.interfaces.IterableOnly
 
IterableAssertion - Class in org.soliscode.test.assertions.collection
A utility class for assertion classes that assert conditions on iterables.
IterableAssertion() - Constructor for class org.soliscode.test.assertions.collection.IterableAssertion
 
IterableContract<E,I> - Interface in org.soliscode.test.contract.iterable
This interface tests if a iterable class has implemented the Iterable methods correctly based upon the specification provided in Iterable.
iterableOf(int...) - Static method in class org.soliscode.test.util.UncachedInteger
Creates a Iterable of UncachedInteger values based upon a list of integer constants.
IterableOnly<E> - Class in org.soliscode.test.interfaces
An iterable that is provided for tests that only implement the Iterable interface.
IterableOnly() - Constructor for class org.soliscode.test.interfaces.IterableOnly
Creates an empty iterable.
IterableOnly(Iterable<E>) - Constructor for class org.soliscode.test.interfaces.IterableOnly
Creates a copy of an iterable.
IterableOnly(Collection<E>) - Constructor for class org.soliscode.test.interfaces.IterableOnly
Creates an instance of IterableOnly from the collection provided.
iterableProvider(ObjectProvider<E>) - Static method in class org.soliscode.test.breakable.BreakableIterable
 
iterableProvider(ObjectProvider<E>, Set<Break>) - Static method in class org.soliscode.test.breakable.BreakableIterable
 
IterableTestOps - Class in org.soliscode.test.util
This class consists exclusively of static methods that operate on or return iterables.
iterator() - Method in class org.soliscode.test.breakable.BreakableIterable
Implements the iterator method from the Iterable interface.
iterator() - Method in class org.soliscode.test.interfaces.IterableOnly
iterator() - Method in class org.soliscode.test.util.IdentitySet
 
ITERATOR_FOR_EACH_REMAINING_DOES_NOT_CALL_ACTION - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator 'forEachRemaining' does not call the action
ITERATOR_FOR_EACH_REMAINING_THROWS_WRONG_EXCEPTION_FOR_NULL_ARGUMENT - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator 'forEachRemaining' throws the wrong exception for a null argument.
ITERATOR_HAS_NEXT_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator hasNext method will always return a false.
ITERATOR_HAS_NEXT_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator hasNext method will always return a true.
ITERATOR_HAS_NEXT_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator hasNext method will always return the opposite value
ITERATOR_IS_ALWAYS_EMPTY - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator will always have no elements
ITERATOR_NEXT_ALWAYS_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator next method will always return null
ITERATOR_NEXT_THROWS_WRONG_EXCEPTION - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator next method will always return null
ITERATOR_REMOVE_DOES_NOT_REMOVE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator 'remove' method does not remove the element at the current iterator position.
ITERATOR_REMOVE_THROWS_WRONG_EXCEPTION_FOR_ILLEGAL_STATE - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator 'remove' method throws the wrong exception for an illegal state
ITERATOR_REMOVE_THROWS_WRONG_EXCEPTION_IF_NOT_SUPPORTED - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator 'remove' method throws the wrong exception nif it is not supported.
ITERATOR_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableIterator
The iterator will skip the first element.
IteratorContract<E,I> - Interface in org.soliscode.test.contract.iterable
This interface tests if a iterable class has implemented the iterator() method correctly and that the iterator that is returned satisfies the Iterator contract.
IteratorForEachRemaining - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
IteratorRemove - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The optional method Iterator.remove().

L

lastIndexOf(Object) - Method in class org.soliscode.test.breakable.BreakableList
 
LastIndexOfContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the indexOf method correctly.
ListAddContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the sort method correctly.
ListContract<E,L> - Interface in org.soliscode.test.contract.list
Test suite for classes that implement the List interface.
listIterator() - Method in class org.soliscode.test.breakable.BreakableList
 
listIterator(int) - Method in class org.soliscode.test.breakable.BreakableList
 
listOf(int...) - Static method in class org.soliscode.test.interfaces.NumberOnly
Creates a List of NumberOnly values based upon a list of integer constants.
listOf(int...) - Static method in class org.soliscode.test.util.UncachedInteger
Creates a List of UncachedInteger values based upon a list of integer constants.
listOf(E, E, E) - Static method in class org.soliscode.test.util.CollectionTestOps
 
ListToArrayContract<E,L> - Interface in org.soliscode.test.contract.list
This contract tests if a list class has implemented the toArray method correctly.
longProvider() - Static method in class org.soliscode.test.provider.Providers
Creates a provider for the Long class.
LongProvider - Class in org.soliscode.test.provider
Provides instances of an Long for the purposes of testing.
LongProvider() - Constructor for class org.soliscode.test.provider.LongProvider
 
longValue() - Method in class org.soliscode.test.interfaces.NumberOnly
longValue() - Method in class org.soliscode.test.util.UncachedInteger
Returns the value of this UncachedInteger as an long.

M

MatchEverything - Class in org.soliscode.test.util
An instance of this class will compare equal to any other object.
MatchEverything() - Constructor for class org.soliscode.test.util.MatchEverything
 
MatchNothing - Class in org.soliscode.test.util
An instance of this class will not compare equal to any other object.
MatchNothing() - Constructor for class org.soliscode.test.util.MatchNothing
 
maxIntegerValue() - Method in interface org.soliscode.test.provider.IntegerNumberProvider
The maximum integer value that can be represented by the integer class.
maxPrimitiveValue() - Method in interface org.soliscode.test.provider.DoubleNumberProvider
The maximum double value that can be represented by the double class.
maxValue() - Method in interface org.soliscode.test.provider.DoubleNumberProvider
Returns the maximum value for the Number class.
maxValue() - Method in interface org.soliscode.test.provider.IntegerNumberProvider
Returns the maximum value for the Number class.
maxValue() - Method in interface org.soliscode.test.provider.NumberProvider
Returns the maximum value for the Number class.
minIntegerValue() - Method in interface org.soliscode.test.provider.IntegerNumberProvider
The minimum integer value that can be represented by the integer class.
minPrimitiveValue() - Method in interface org.soliscode.test.provider.DoubleNumberProvider
The minimum double value that can be represented by the double class.
minValue() - Method in interface org.soliscode.test.provider.DoubleNumberProvider
Returns the minimum value for the Number class.
minValue() - Method in interface org.soliscode.test.provider.IntegerNumberProvider
Returns the minimum value for the Number class.
minValue() - Method in interface org.soliscode.test.provider.NumberProvider
Returns the minimum value for the Number class.

N

narrowToCollection(Collection<E>) - Static method in class org.soliscode.test.interfaces.Interfaces
Wraps the object so that only the methods in the Collection interface are available.
narrowToIterable(Iterable<E>) - Static method in class org.soliscode.test.interfaces.Interfaces
Wraps the object so that only the methods in the Iterable interface are available.
narrowToNumber(Number) - Static method in class org.soliscode.test.interfaces.Interfaces
Wraps the object so that only the methods in the Number interface are available.
narrowToObject(Object) - Static method in class org.soliscode.test.interfaces.Interfaces
Wraps the object so that only the methods in the Object interface are available.
newList(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Creates a copy of an iterable and returns it as a List.
next() - Method in class org.soliscode.test.breakable.BreakableIterator
Implements the next method from the Iterator interface.
NumberOnly - Class in org.soliscode.test.interfaces
The NumberOnly lass wraps any object and only exposes the methods on the Number interface.
NumberOnly(Number) - Constructor for class org.soliscode.test.interfaces.NumberOnly
Creates an instance of NumberOnly that wraps an instance of Number and narrows the interface to only the methods available in the Number interface.
NumberProvider<T> - Interface in org.soliscode.test.provider
Provides instances of a class that implements the Number interface for the purposes of testing.
NumberSupport<T> - Interface in org.soliscode.test.contract.support
Common interface for contracts that test classes that implement the Number interface.

O

ObjectContract<T> - Interface in org.soliscode.test.contract.object
This interface tests if a class has implemented the Object interface as specified in Object.
ObjectMethods - Enum Class in org.soliscode.test.contract.object
Values used to identify object class methods for use with the SupportedMethods.supportsMethod(OptionalMethod) method.
ObjectOnly - Class in org.soliscode.test.interfaces
The ObjectOnly class wraps any object and only exposes the methods on the Object interface.
ObjectOnly() - Constructor for class org.soliscode.test.interfaces.ObjectOnly
Creates an instance of ObjectOnly.
ObjectOnly(Object) - Constructor for class org.soliscode.test.interfaces.ObjectOnly
Creates an ObjectOnly object from any other object.
ObjectOnly(ObjectOnly) - Constructor for class org.soliscode.test.interfaces.ObjectOnly
 
ObjectProvider<T> - Interface in org.soliscode.test.provider
Provides Object instances for use in testing.
of() - Static method in class org.soliscode.test.interfaces.CollectionOnly
Creates a collection from an empty collection of elements.
of() - Static method in class org.soliscode.test.interfaces.IterableOnly
Creates an iterable from an empty collection of elements.
of(E) - Static method in class org.soliscode.test.interfaces.CollectionOnly
Creates a collection from a list of one element.
of(E) - Static method in class org.soliscode.test.interfaces.IterableOnly
Creates an iterable from a list of one element.
of(E...) - Static method in class org.soliscode.test.interfaces.CollectionOnly
Creates a collection from a list of one element.
of(E...) - Static method in class org.soliscode.test.interfaces.IterableOnly
Creates an iterable from a list of one element.
of(E, E) - Static method in class org.soliscode.test.interfaces.CollectionOnly
Creates a collection from an list of two elements.
of(E, E) - Static method in class org.soliscode.test.interfaces.IterableOnly
Creates an iterable from an list of two elements.
of(E, E, E) - Static method in class org.soliscode.test.interfaces.CollectionOnly
Creates a collection from an list of three elements.
of(E, E, E) - Static method in class org.soliscode.test.interfaces.IterableOnly
Creates an iterable from an list of three elements.
of(E, E, E, E) - Static method in class org.soliscode.test.interfaces.CollectionOnly
Creates a collection from a list of four elements.
of(E, E, E, E) - Static method in class org.soliscode.test.interfaces.IterableOnly
Creates an iterable from a list of four elements.
OptionalMethod - Interface in org.soliscode.test
Interface class for enumerations that represent optional methods classes used while testing the test contracts.
OptionalMethodSupport - Class in org.soliscode.test
A utility class that provides an implementation for the SupportedMethods interface.
OptionalMethodSupport() - Constructor for class org.soliscode.test.OptionalMethodSupport
 
OptionalMethodSupport(OptionalMethodSupport) - Constructor for class org.soliscode.test.OptionalMethodSupport
 
org.soliscode.test - package org.soliscode.test
Test utilities for core JDK interfaces, excluding collection interfaces
org.soliscode.test.assertions - package org.soliscode.test.assertions
Assertion methods
org.soliscode.test.assertions.actions - package org.soliscode.test.assertions.actions
Action classes that implement assertions on the consumed elements.
org.soliscode.test.assertions.collection - package org.soliscode.test.assertions.collection
 
org.soliscode.test.breakable - package org.soliscode.test.breakable
Support for "breakable" objects that can be used to test contract classes.
org.soliscode.test.contract - package org.soliscode.test.contract
Contract classes that test methods against their specifications
org.soliscode.test.contract.collection - package org.soliscode.test.contract.collection
Support for testing the implementation of the Collection interface methods.
org.soliscode.test.contract.iterable - package org.soliscode.test.contract.iterable
Support for testing the implementation of the Iterable interface methods.
org.soliscode.test.contract.list - package org.soliscode.test.contract.list
Support for testing the implementation of the List interface methods.
org.soliscode.test.contract.numeric - package org.soliscode.test.contract.numeric
Support for testing the implementation of the Number interface methods.
org.soliscode.test.contract.object - package org.soliscode.test.contract.object
This package contains support for testing the implementation of the Object interface methods.
org.soliscode.test.contract.sequenced - package org.soliscode.test.contract.sequenced
Support for testing the implementation of the SequencedCollection interface methods.
org.soliscode.test.contract.support - package org.soliscode.test.contract.support
Classes that support testing with contracts.
org.soliscode.test.interfaces - package org.soliscode.test.interfaces
View classes that restrict an object to a single interface.
org.soliscode.test.provider - package org.soliscode.test.provider
Classes for providing instances of classes being tested.
org.soliscode.test.util - package org.soliscode.test.util
Utilities used to implement test classes

P

permitDuplicates() - Method in interface org.soliscode.test.contract.CollectionContractConfig
Determines if the collection permits duplicate values.
permitDuplicates() - Method in interface org.soliscode.test.contract.DoesNotPermitDuplicates
Determines if the collection permits duplicate values.
permitIncompatibleTypes() - Method in interface org.soliscode.test.contract.CollectionContractConfig
Determines if methods of this collection throw an exception when called with an object whose type is incompatible with the element type.
permitIncompatibleTypes() - Method in interface org.soliscode.test.contract.DoesNotPermitIncompatibleTypes
Determines if methods of this collection throw an exception when called with an object whose type is incompatible with the element type.
permitNulls() - Method in interface org.soliscode.test.contract.CollectionContractConfig
Determines if the collection being tested allows nulls.
permitNulls() - Method in interface org.soliscode.test.contract.DoesNotPermitNulls
Determines if the collection being tested allows nulls.
permitsDuplicates - Variable in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
 
permitsDuplicates() - Method in class org.soliscode.test.breakable.BreakableCollection
Indicates if the collection permits duplicate elements.
permitsIncompatibleTypes - Variable in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
 
permitsIncompatibleTypes() - Method in class org.soliscode.test.breakable.BreakableCollection
Indicates if the collection permits elements with incompatible types as arguments.
permitsNulls - Variable in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
 
permitsNulls() - Method in class org.soliscode.test.breakable.BreakableCollection
Indicates if the collection permits null values as elements.
preventNulls(Collection<E>) - Static method in class org.soliscode.test.util.CollectionTestOps
Creates a collection backed by the provided collection that does not accept null values as elements.
preventNulls(List<E>) - Static method in class org.soliscode.test.util.CollectionTestOps
Creates a collection backed by the provided collection that does not accept null values as elements.
provideArrayList(ObjectProvider<E>) - Static method in class org.soliscode.test.provider.CollectionProviders
Creates a collection provider for instances of ArrayList with elements creates using the specified
provideHashSet(ObjectProvider<E>) - Static method in class org.soliscode.test.provider.CollectionProviders
Creates a collection provider for instances of HashSet with elements creates using the specified
provideLinkedList(ObjectProvider<E>) - Static method in class org.soliscode.test.provider.CollectionProviders
Creates a collection provider for instances of LinkedList with elements creates using the specified
provider() - Method in interface org.soliscode.test.breakable.BreakableCollection.WithProvider
 
provider() - Method in interface org.soliscode.test.breakable.BreakableIterable.WithProvider
 
provider() - Method in interface org.soliscode.test.contract.support.CollectionProviderSupport
Returns a collection provider that can be used to create instances of the collection class being tested.
provider() - Method in interface org.soliscode.test.contract.support.IntegerSupport
Returns a number provider that can be used to create instances of the class being tested.
provider() - Method in interface org.soliscode.test.contract.support.NumberSupport
Returns a number provider that can be used to create instances of the class being tested.
provider() - Method in interface org.soliscode.test.contract.support.ProviderSupport
Returns an object provider that can be used to create instances of the class being tested.
provider() - Method in interface org.soliscode.test.contract.support.WithArrayList
 
provider() - Method in interface org.soliscode.test.contract.support.WithDouble
Returns an instance of ObjectProvider that provides Double objects.
provider() - Method in interface org.soliscode.test.contract.support.WithInteger
Returns an instance of NumberProvider that provides Integer objects.
provider() - Method in interface org.soliscode.test.contract.support.WithString
Returns an instance of ObjectProvider that provides String objects.
Providers - Class in org.soliscode.test.provider
Utility class for creating instances of object providers for value classes.
ProviderSupport<T> - Interface in org.soliscode.test.contract.support
Interface for contract classes that need an object provider.

R

randomInstanceSupplier() - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a Supplier that will generate random instances of the class being provided.
remove() - Method in class org.soliscode.test.breakable.BreakableIterator
Implements the remove method from the Iterator interface.
remove(int) - Method in class org.soliscode.test.breakable.BreakableList
Implements the remove method from the List interface.
remove(Object) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the remove method from the Collection interface.
remove(Object) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
remove(Object) - Method in class org.soliscode.test.util.IdentitySet
 
Remove - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The optional method Collection.remove(Object).
REMOVE_ALL_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeAll method always return a result of false, even any of the elements are removed.
REMOVE_ALL_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeAll method always returns the opposite of the appropriate result.
REMOVE_ALL_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeAll method always return a result of true, even if the element is not removed.
REMOVE_ALL_DOES_NOT_REMOVE_ANY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeAll method will not remove any elements to the collection
REMOVE_ALL_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeAll method skips the first element to be removed.
REMOVE_ALL_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeAll method skips the last element to be removed.
REMOVE_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The remove method always return a result of false, even if the element is removed.
REMOVE_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The remove method always returns the opposite of the appropriate result.
REMOVE_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The remove method always return a result of true, even if the element is not removed.
REMOVE_AT_INDEX_ALWAYS_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableList
The remove method always returns null
REMOVE_AT_INDEX_DOES_NOT_REMOVE_THE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The remove method does not remove the element.
REMOVE_AT_INDEX_REMOVES_THE_NEXT_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The remove method removes the next element.
REMOVE_AT_INDEX_REMOVES_THE_PREVIOUS_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The remove method removes the previous element
REMOVE_AT_INDEX_RETURNS_NULL_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The remove method returns null when the index is out of bounds.
REMOVE_AT_INDEX_THROWS_WRONG_EXCEPTION_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The remove method throws the wrong exception when the index is out of bounds.
REMOVE_DOES_NOT_REMOVE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The remove method will not remove an element to the collection
REMOVE_FIRST_ALWAYS_THROWS - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The removeFirst method always throws a NoSuchElement exception.
REMOVE_FIRST_DOES_NOT_REMOVE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The removeFirst method does not remove the first element.
REMOVE_FIRST_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The removeFirst method returns null
REMOVE_IF_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeIf method always return a result of false, even any of the elements are removed.
REMOVE_IF_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeIf method always returns the opposite of the appropriate result.
REMOVE_IF_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeIf method always return a result of true, even if the element is not removed.
REMOVE_IF_DOES_NOT_REMOVE_ANY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeIf method will not remove any elements to the collection
REMOVE_IF_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeIf method skips the first element to be removed.
REMOVE_IF_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The removeIf method skips the last element to be removed.
REMOVE_LAST_ALWAYS_THROWS - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The removeLast method always throws a NoSuchElement exception.
REMOVE_LAST_DOES_NOT_REMOVE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The removeLast method does not remove the last element.
REMOVE_LAST_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The removeLast method returns null
removeAll(Collection<?>) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the removeAll method from the Collection interface.
removeAll(Collection<?>) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
RemoveAll - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
removeAllByIdentity(Collection<E>, Collection<?>) - Static method in class org.soliscode.test.util.CollectionTestOps
Removed all the elements in a collection that have the same identity as the elements in another collection.
RemoveAllContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the removeAll method correctly.
RemoveAtIndex - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The optional method List.remove(int).
RemoveAtPositionContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the remove method correctly.
RemoveContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the remove method correctly.
removeFirst() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the removeFirst method from the SequencedCollection interface.
RemoveFirst - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method SequencedCollection.removeFirst().
RemoveFirstContract<E,C> - Interface in org.soliscode.test.contract.sequenced
Test for the removeFirst method in the SequencedCollection interface.
removeIf(Predicate<? super E>) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the removeIf method from the Collection interface.
RemoveIf - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The optional method Collection.removeIf(Predicate).
RemoveIfContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the removeIf method correctly.
removeLast() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the removeLast method from the SequencedCollection interface.
RemoveLast - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method SequencedCollection.removeLast().
RemoveLastContract<E,C> - Interface in org.soliscode.test.contract.sequenced
Test for the removeLast method in the SequencedCollection interface.
REPLACE_ALL_DOES_NOT_REPLACE_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableList
The replaceAll method does not replace any elements
REPLACE_ALL_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The replaceAll method skips the first element.
REPLACE_ALL_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The replaceAll method skips the last element
replaceAll(UnaryOperator<E>) - Method in class org.soliscode.test.breakable.BreakableList
Break Description
REPLACE_ALL_DOES_NOT_REPLACE_ELEMENTS The replaceAll method does not replace any elements
REPLACE_ALL_SKIPS_FIRST_ELEMENT The replaceAll method skips the first element
REPLACE_ALL_SKIPS_LAST_ELEMENT The replaceAll method skips the last element
ReplaceAll - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The option al method List.replaceAll(UnaryOperator).
ReplaceAllContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the replaceAll method correctly.
RETAIN_ALL_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The retainAll method always return a result of false, even the collection is modified
RETAIN_ALL_ALWAYS_RETURNS_OPPOSITE_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The retainAll method always returns the opposite of the appropriate result.
RETAIN_ALL_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The retainAll method always return a result of true, even if the collection is not modified.
RETAIN_ALL_DOES_NOT_RETAIN_ANY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableCollection
The retainAll method will not retain any elements to the collection
RETAIN_ALL_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The retainAll method skips the first element to be retained.
RETAIN_ALL_SKIPS_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The retainAll method skips the last element to be retained.
retainAll(Collection<?>) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the retainAll method from the Collection interface.
retainAll(Collection<?>) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
RetainAll - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
RetainAllContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the retainAll method correctly.
reversed() - Method in class org.soliscode.test.breakable.BreakableList
 
reversed() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection
Implements the reversed method from the SequencedCollection interface.
Reversed - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
REVERSED_DOES_NOT_REVERSE_COLLECTION - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The reversed method does not reverse the collection.
REVERSED_MODIFIES_THE_COLLECTION - Static variable in class org.soliscode.test.breakable.BreakableSequencedCollection
The reversed method modifies the collection.
ReversedContract<E,C> - Interface in org.soliscode.test.contract.sequenced
Test for the reversed method in the SequencedCollection interface.

S

self() - Method in class org.soliscode.test.breakable.BreakableCollection.Builder
 
self() - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
self() - Method in class org.soliscode.test.breakable.BreakableIterable.Builder
self() - Method in class org.soliscode.test.breakable.BreakableSequencedCollection.Builder
 
SequencedCollectionContract<E,C> - Interface in org.soliscode.test.contract.sequenced
Test suite for classes that implement the SequencedCollection interface.
set(int, E) - Method in class org.soliscode.test.breakable.BreakableList
Break Description
SET_DOES_NOT_CHANGE_THE_ELEMENT The set method does not change the element.
Set - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
The optional method List.set(int, E).
SET_ALWAYS_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableList
The set method always returns null
SET_CHANGES_THE_NEXT_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The set method changes the next element (i.e. at index + 1).
SET_CHANGES_THE_PREVIOUS_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The set method changes the previous element (i.e. at index - 1).
SET_DOES_NOT_CHANGE_THE_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The set method does not change the element.
SET_RETURNS_NULL_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The set method returns null on a bad index instead of throwing en exception.
SET_THROWS_WRONG_EXCEPTION_ON_BAD_INDEX - Static variable in class org.soliscode.test.breakable.BreakableList
The set method throws the wrong exception on a bad index.
setCharacteristics(int) - Method in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
SetContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the set method correctly.
setPermitsDuplicates(boolean) - Method in class org.soliscode.test.breakable.BreakableCollection
Sets how the collection handles duplicate elements.
setPermitsIncompatibleTypes(boolean) - Method in class org.soliscode.test.breakable.BreakableCollection
Sets how the collection handles elements with incompatible types as arguments.
setPermitsNulls(boolean) - Method in class org.soliscode.test.breakable.BreakableCollection
Sets how the collection handles null elements.
shortProvider() - Static method in class org.soliscode.test.provider.Providers
Creates a provider for the Short class.
ShortProvider - Class in org.soliscode.test.provider
Provides instances of an Short for the purposes of testing.
ShortProvider() - Constructor for class org.soliscode.test.provider.ShortProvider
 
size() - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the size method from the Collection interface.
size() - Method in class org.soliscode.test.interfaces.CollectionOnly
 
size() - Method in class org.soliscode.test.util.IdentitySet
 
size(Iterable<?>) - Static method in class org.soliscode.test.util.IterableTestOps
Returns the number of elements in this iterable.
SIZE_ALWAYS_RETURNS_CONSTANT_VALUE - Static variable in class org.soliscode.test.breakable.BreakableCollection
The size method will always return a constant value.
SIZE_ALWAYS_RETURNS_ZERO - Static variable in class org.soliscode.test.breakable.BreakableCollection
The size method will always return zero.
SizeContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the size() method correctly.
skipFirstIterator(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Returns an iterator that will skips the first element.
skipLastIterator(Iterable<E>) - Static method in class org.soliscode.test.util.IterableTestOps
Returns an iterator that will skips the last element.
sort(Comparator<? super E>) - Method in class org.soliscode.test.breakable.BreakableList
Break Description
SORT_DOES_NOT_SORT_THE_ELEMENTS The sort method does not sort the elements.
Sort - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
SORT_DOES_NOT_SORT_THE_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableList
The sort method does not sort the elements.
SORT_REVERSES_THE_ORDER - Static variable in class org.soliscode.test.breakable.BreakableList
The sort method sorts the elements in the reverse order.
SORT_THROWS_ON_NULL_ARGUMENT - Static variable in class org.soliscode.test.breakable.BreakableList
The sort method throws a NullPointerException if the argument is null.
SortContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the sort method correctly.
spliterator() - Method in class org.soliscode.test.breakable.BreakableIterable
Implements the iterator method from the Iterable interface.
spliterator() - Method in class org.soliscode.test.interfaces.IterableOnly
SPLITERATOR_CHARACTERISTICS_ALWAYS_RETURNS_ZERO - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The characteristics method always returns zero (0).
SPLITERATOR_ESTIMATE_SIZE_ALWAYS_RETURNS_MAX_VALUE - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The estimateSize method always returns the max value.
SPLITERATOR_ESTIMATE_SIZE_ALWAYS_RETURNS_ZERO - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The estimateSize method always returns zero.
SPLITERATOR_FOR_EACH_REMAINING_DOES_NOT_CALL_ACTION - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The 'forEachRemaining' method on the spliterator does not call the action.
SPLITERATOR_GET_COMPARATOR_ALWAYS_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The getComparator method always return null.
SPLITERATOR_GET_EXACT_SIZE_IF_KNOWN_ALWAYS_RETURNS_NEGATIVE_ONE - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The getExactSizeIfKnown method always returns negative one (-1).
SPLITERATOR_HAS_CHARACTERISTIC_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The hasCharacteristics method always returns false.
SPLITERATOR_HAS_CHARACTERISTIC_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The hasCharacteristics method always returns true.
SPLITERATOR_IS_ALWAYS_EMPTY - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The spliterator always has no elements.
SPLITERATOR_SKIPS_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The spliterator that skips the first element.
SPLITERATOR_TRY_ADVANCE_ALWAYS_RETURNS_FALSE - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The 'tryAdvance' method always returns false.
SPLITERATOR_TRY_ADVANCE_ALWAYS_RETURNS_TRUE - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The 'tryAdvance' method always returns true.
SPLITERATOR_TRY_ADVANCE_DOES_NOT_CALL_ACTION - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The 'tryAdvance' method on the spliterator does not call the action.
SPLITERATOR_TRY_SPLIT_ALWAYS_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableSpliterator
The 'trySplit' method on the spliterator always returns null.
SpliteratorContract<E,I> - Interface in org.soliscode.test.contract.iterable
This interface tests if a collection class has implemented the spliterator() method correctly and that the spliterator that is returned satisfies the Spliterator contract.
Stream - Enum constant in enum class org.soliscode.test.contract.CollectionMethods
StreamContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the stream() method correctly and that the iterator that is returned satisfies the Stream contract.
stringProvider() - Static method in class org.soliscode.test.provider.Providers
Creates a provider for the String class.
StringProvider - Class in org.soliscode.test.provider
Provides instances of an String for the purposes of testing.
StringProvider() - Constructor for class org.soliscode.test.provider.StringProvider
 
subList(int, int) - Method in class org.soliscode.test.breakable.BreakableList
 
SubListContract<E,L> - Interface in org.soliscode.test.contract.list
This interface tests if a list class has implemented the subList method correctly.
SupportedMethods - Interface in org.soliscode.test
An interface used to indicate which of the optional methods of another interface that this class supports.
supportsMethod(OptionalMethod) - Method in class org.soliscode.test.OptionalMethodSupport
 
supportsMethod(OptionalMethod) - Method in interface org.soliscode.test.contract.collection.CollectionContract
 
supportsMethod(OptionalMethod) - Method in interface org.soliscode.test.SupportedMethods
Used to determine if this object supports an optional method.

T

testAdd() - Method in interface org.soliscode.test.contract.collection.AddContract
Tests that the add method works.
testAdd() - Method in interface org.soliscode.test.contract.list.ListAddContract
Tests that the add method works.
testAddAllToContainer() - Method in interface org.soliscode.test.contract.collection.AddAllContract
Tests that the addAll() method works.
testAddAllWithDuplicateValue() - Method in interface org.soliscode.test.contract.collection.AddAllContract
Tests that the addAll() method handles duplicate values correctly.
testAddAllWithNullValue() - Method in interface org.soliscode.test.contract.collection.AddAllContract
Tests that the addAll() method handles null values correctly.
testAddFirst() - Method in interface org.soliscode.test.contract.sequenced.AddFirstContract
Tests that the addFirst method works.
testAddFirstWithNullValue() - Method in interface org.soliscode.test.contract.sequenced.AddFirstContract
Tests that the addFirst method handles null values correctly.
testAddLast() - Method in interface org.soliscode.test.contract.sequenced.AddLastContract
Tests that the addLast method adds elements to the end of the collection.
testAddLastWithNullValue() - Method in interface org.soliscode.test.contract.sequenced.AddLastContract
Tests that the addFirst method handles null values correctly.
testAddWithNullValue() - Method in interface org.soliscode.test.contract.collection.AddContract
Tests that the add method handles null values correctly.
testClearOnCollectionWithElements() - Method in interface org.soliscode.test.contract.collection.ClearContract
Tests that the clear() method works for a collection with elements.
testClearOnEmptyCollection() - Method in interface org.soliscode.test.contract.collection.ClearContract
Tests that the clear() method works for an empty collection.
testContainsAllOnCollectionWithElements() - Method in interface org.soliscode.test.contract.collection.ContainsAllContract
Tests that the containsAll() method works for a collection with elements.
testContainsAllOnCollectionWithNulls() - Method in interface org.soliscode.test.contract.collection.ContainsAllContract
Tests that the containsAll() method works for a collection with null elements.
testContainsAllOnEmptyCollection() - Method in interface org.soliscode.test.contract.collection.ContainsAllContract
Tests that the containsAll() method works for an empty collection.
testContainsAllWithIncompatibleType() - Method in interface org.soliscode.test.contract.collection.ContainsAllContract
Tests that the containsAll() method works with incompatible types.
testContainsOnCollectionWithElements() - Method in interface org.soliscode.test.contract.collection.ContainsContract
Tests that the size() method works for a collection with elements.
testContainsOnCollectionWithNulls() - Method in interface org.soliscode.test.contract.collection.ContainsContract
Tests that the contains() method works for a collection with null elements.
testContainsOnEmptyCollection() - Method in interface org.soliscode.test.contract.collection.ContainsContract
Tests that the contains() method works for an empty collection.
testContainsWithIncompatibleType() - Method in interface org.soliscode.test.contract.collection.ContainsContract
Tests that the contains() method works with incompatible types.
testDoubleValue() - Method in interface org.soliscode.test.contract.numeric.IntegerContract
Tests that the implementation of the Number.doubleValue() method works for various values.
testEqualsForNullValue() - Method in interface org.soliscode.test.contract.object.EqualsContract
Tests that the equals() method return false for null values.
testEqualsIsConsistent() - Method in interface org.soliscode.test.contract.object.EqualsContract
Tests that the equals() method is consistent.
testEqualsIsReflexive() - Method in interface org.soliscode.test.contract.object.EqualsContract
Tests that the equals() method is reflexive.
testEqualsIsSymmetric() - Method in interface org.soliscode.test.contract.object.EqualsContract
Tests that the equals() method is symmetric.
testEqualsIsTransitive() - Method in interface org.soliscode.test.contract.object.EqualsContract
Tests that the equals() method is transitive.
testFloatValue() - Method in interface org.soliscode.test.contract.numeric.IntegerContract
Tests that the implementation of the Number.floatValue() method works for various values.
testForEachForEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.ForEachContract
Tests that the Iterable.forEach(java.util.function.Consumer<? super T>) works for an empty collection.
testForEachRemainingForNullAction() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the [Iterator#forEachRemaining[] method throws for null action.
testForEachRemainingOverEntireCollection() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the Iterator.forEachRemaining(java.util.function.Consumer<? super E>) method works over an entire collection.
testForEachRemainingOverPartialCollection() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the Iterator.forEachRemaining(java.util.function.Consumer<? super E>) method works over the remaining collection.
testForEachWithNullAction() - Method in interface org.soliscode.test.contract.iterable.ForEachContract
Tests that the Iterable.forEach(java.util.function.Consumer<? super T>) throws the correct exception for a null action.
testForeEachOverCollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.ForEachContract
Tests that the forEach() works for a collection with elements.
testGet() - Method in interface org.soliscode.test.contract.list.GetContract
Tests that the get method works.
testGetFirst() - Method in interface org.soliscode.test.contract.sequenced.GetFirstContract
Tests that the getFirst method works.
testGetFirstOnEmptyCollection() - Method in interface org.soliscode.test.contract.sequenced.GetFirstContract
Tests that the getFirst method works on an empty collection.
testGetLast() - Method in interface org.soliscode.test.contract.sequenced.GetLastContract
Tests that the getLast method works.
testGetLastOnEmptyCollection() - Method in interface org.soliscode.test.contract.sequenced.GetLastContract
Tests that the getLast method works on an empty collection.
testGetThrowsForInvalidIndex() - Method in interface org.soliscode.test.contract.list.GetContract
Tests that the get method throws for an invalid index.
testGetWithEmptyCollection() - Method in interface org.soliscode.test.contract.list.GetContract
Tests that the get method works on an empty list.
testHasCharacteristic() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.hasCharacteristics(int) method works.
testHashCodeDistribution() - Method in interface org.soliscode.test.contract.object.HashCodeContract
Test that the hashCode function results in a uniform distribution of hashcode values.
testHashCodeIsStable() - Method in interface org.soliscode.test.contract.object.HashCodeContract
Tests that the hashCode() method consistently returns the same integer value over multiple invocations.
testHashCodeWithEqualValues() - Method in interface org.soliscode.test.contract.object.HashCodeContract
Tests that the hashCode() method returns the same integer value for objects that are equal.
testHashDifferentValues() - Method in interface org.soliscode.test.contract.object.HashCodeContract
Tests that the hashCode() method returns different values for objects that are not equal.
testIndexOf() - Method in interface org.soliscode.test.contract.list.IndexOfContract
Tests that the indexOf method works.
testIndexOfWithEmptyCollection() - Method in interface org.soliscode.test.contract.list.IndexOfContract
Tests that the indexOf method works on an empty list.
testIndexOfWithIncompatibleType() - Method in interface org.soliscode.test.contract.list.IndexOfContract
Tests that the indexOf method with an incompatible type.
testIndexOfWithNullValue() - Method in interface org.soliscode.test.contract.list.IndexOfContract
Tests that the indexOf method works with a null value.
testIntValue() - Method in interface org.soliscode.test.contract.numeric.IntegerContract
Tests that the implementation of the Number.intValue() method works for various values.
testIsEmptyForEmptyCollection() - Method in interface org.soliscode.test.contract.collection.IsEmptyContract
Tests that the isEmpty method returns true for an empty collection.
testIsEmptyForNonEmptyCollection() - Method in interface org.soliscode.test.contract.collection.IsEmptyContract
Tests that the isEmpty method returns false for a collection with at least one element.
testIteratorOverCollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the Iterator.hasNext() and Iterator.next() methods work for a collection with elements.
testIteratorOverEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the Iterator.hasNext() and Iterator.next() methods work for an empty collection.
testIteratorRemove() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the Iterator.remove() method works.
testIteratorRemoveThrowsOnIllegalState() - Method in interface org.soliscode.test.contract.iterable.IteratorContract
Tests that the Iterator.remove() method throws and IllegalStateException if it is called without first calling next, or it is called twice in a row without a call to next in between.
testLongValue() - Method in interface org.soliscode.test.contract.numeric.IntegerContract
Tests that the implementation of the Number.longValue() method works for various values.
testParallelStreamForCollectionWithElements() - Method in interface org.soliscode.test.contract.collection.StreamContract
Tests that the parallelStream method works for a collection with elements.
testParallelStreamForEmptyCollection() - Method in interface org.soliscode.test.contract.collection.StreamContract
Tests that the parallelStream method works for an empty collection.
testRemoveAllOnContainerWithElements() - Method in interface org.soliscode.test.contract.collection.RemoveAllContract
Test that the removeAll method works on a container with elements.
testRemoveAllOnEmptyContainer() - Method in interface org.soliscode.test.contract.collection.RemoveAllContract
Test that the removeAll method works on an empty container.
testRemoveAllOnIncompatibleObject() - Method in interface org.soliscode.test.contract.collection.RemoveAllContract
Tests that the removeAll method works with incompatible objects.
testRemoveAllOnNullElement() - Method in interface org.soliscode.test.contract.collection.RemoveAllContract
Tests that the removeAll method works with incompatible objects.
testRemoveAllThrowsOnNullCollection() - Method in interface org.soliscode.test.contract.collection.RemoveAllContract
Tests that the removeAll method throws on a null collection.
testRemoveFirst() - Method in interface org.soliscode.test.contract.sequenced.RemoveFirstContract
Tests that the removeFirst method works.
testRemoveFirstOnEmptyCollection() - Method in interface org.soliscode.test.contract.sequenced.RemoveFirstContract
Tests that the removeFirst method works for an empty collection.
testRemoveIfOnContainerWithElements() - Method in interface org.soliscode.test.contract.collection.RemoveIfContract
Tests that the removeIf method works on a container with elements.
testRemoveIfOnEmptyContainer() - Method in interface org.soliscode.test.contract.collection.RemoveIfContract
Tests that the removeIf method works on an empty container.
testRemoveIfThrowsOnANullFilter() - Method in interface org.soliscode.test.contract.collection.RemoveIfContract
Tests that the removeIf method throws an exception when passed a null filter.
testRemoveLast() - Method in interface org.soliscode.test.contract.sequenced.RemoveLastContract
Tests that the removeLast method works with a collection with elements.
testRemoveLastOnEmptyCollection() - Method in interface org.soliscode.test.contract.sequenced.RemoveLastContract
Tests that the removeLast method works for an empty collection.
testRemoveOnContainerWithElements() - Method in interface org.soliscode.test.contract.collection.RemoveContract
Tests that the remove method works on a container with elements.
testRemoveOnContainerWithNulls() - Method in interface org.soliscode.test.contract.collection.RemoveContract
Tests that the remove method works with null elements.
testRemoveOnEmptyContainer() - Method in interface org.soliscode.test.contract.collection.RemoveContract
Tests that the remove method works on an empty container.
testRemoveOnIncompatibleObject() - Method in interface org.soliscode.test.contract.collection.RemoveContract
Tests that the remove method works with incompatible objects.
testRetainAllOnContainerWithElements() - Method in interface org.soliscode.test.contract.collection.RetainAllContract
Test that the retainAll method works on a container with elements.
testRetainAllOnEmptyContainer() - Method in interface org.soliscode.test.contract.collection.RetainAllContract
Tests that the retainAll method works on an empty container.
testRetainAllOnIncompatibleObject() - Method in interface org.soliscode.test.contract.collection.RetainAllContract
Tests that the retainAll method works with incompatible objects.
testRetainAllThrowsOnNullCollection() - Method in interface org.soliscode.test.contract.collection.RetainAllContract
Tests that the retainAll method throws on a null collection.
testReversed() - Method in interface org.soliscode.test.contract.sequenced.ReversedContract
Tests that the reversed method returns a view =of the collection with the elements in the reverse ordering.
testSet() - Method in interface org.soliscode.test.contract.list.SetContract
Tests that the set method works.
testSetThrowsForInvalidIndex() - Method in interface org.soliscode.test.contract.list.SetContract
Tests that the set method throws for an invalid index.
testSetWithEmptyCollection() - Method in interface org.soliscode.test.contract.list.SetContract
Tests that the set method works on an empty list.
testSetWithNullElement() - Method in interface org.soliscode.test.contract.list.SetContract
Tests that the set method works with a null element.
testSizeOnCollectionWithElements() - Method in interface org.soliscode.test.contract.collection.SizeContract
Tests that the size() method works for a collection with elements.
testSizeOnEmptyCollection() - Method in interface org.soliscode.test.contract.collection.SizeContract
Tests that the size() method works for an empty collection.
testSpliteratorEstimateSizeOnACollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.estimateSize() method works on a collection with elements.
testSpliteratorEstimateSizeOnAnEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.estimateSize() method works on an empty collection.
testSpliteratorForEachRemainingOnACollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.forEachRemaining(java.util.function.Consumer<? super T>) method works on a collection with elements.
testSpliteratorForEachRemainingOnAnEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.forEachRemaining(java.util.function.Consumer<? super T>) method works on an empty collection.
testSpliteratorGetExactSizeIfKnownOnACollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.getExactSizeIfKnown() method works on a collection with elements.
testSpliteratorGetExactSizeIfKnownOnAnEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.getExactSizeIfKnown() method works on an empty collection.
testSpliteratorTryAdvanceOnACollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.tryAdvance(java.util.function.Consumer<? super T>) method works on a collection with elements.
testSpliteratorTryAdvanceOnAnEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.tryAdvance(java.util.function.Consumer<? super T>) method works on an empty collection.
testSpliteratorTrySplitOnACollectionWithElements() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.trySplit() method works on a collection with elements.
testSpliteratorTrySplitOnAnEmptyCollection() - Method in interface org.soliscode.test.contract.iterable.SpliteratorContract
Tests that the Spliterator.trySplit() method works on an empty collection.
testStreamForCollectionWithElements() - Method in interface org.soliscode.test.contract.collection.StreamContract
Tests that the stream method works for a collection with elements.
testStreamForEmptyCollection() - Method in interface org.soliscode.test.contract.collection.StreamContract
Tests that the stream method works for an empty collection.
testToArray() - Method in interface org.soliscode.test.contract.collection.ToArrayContract
Tests that the toArray() method works for a collection with elements.
testToArray() - Method in interface org.soliscode.test.contract.list.ListToArrayContract
Tests that the toArray() method works for a collection with elements.
testToArrayIsSafe() - Method in interface org.soliscode.test.contract.collection.ToArrayContract
Tests that the toArray() method returns a safe array that can be modified without changing the elements of the container.
testToArrayIsSafe() - Method in interface org.soliscode.test.contract.list.ListToArrayContract
Tests that the toArray() method returns a safe array that can be modified without changing the elements of the container.
testToArrayOnEmptyCollection() - Method in interface org.soliscode.test.contract.collection.ToArrayContract
Tests that the toArray() method works for an empty collection.
testToArrayStore() - Method in interface org.soliscode.test.contract.collection.ToArrayContract
Tests that the toArray(T[]) method works for a collection with elements.
testToArrayStoreOnEmptyCollection() - Method in interface org.soliscode.test.contract.collection.ToArrayContract
Tests that the toArray(T[]) method works for an empty collection.
testToArrayStoreThrowsOnNullArray() - Method in interface org.soliscode.test.contract.collection.ToArrayContract
Tests that the toArray(T[]) method throws on a null array.
testToStringForDifferentValues() - Method in interface org.soliscode.test.contract.object.ToStringContract
Tests that the toString() method returns different values for instances that are not equal.
testToStringForEqualValues() - Method in interface org.soliscode.test.contract.object.ToStringContract
Tests that the toString() method returns the same value for two strings that are equal.
testToStringIsConsistent() - Method in interface org.soliscode.test.contract.object.ToStringContract
Tests that the toString() method consistently returns the same string value over multiple invocations on the same instance.
testToStringOverridden() - Method in interface org.soliscode.test.contract.object.ToStringContract
Tests that the toString() method has been overridden.
TO_ARRAY_MISSING_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return an array missing the first element
TO_ARRAY_MISSING_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return an array missing the last element
TO_ARRAY_RETURNS_EMPTY_ARRAY - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return an empty array
TO_ARRAY_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return null
TO_ARRAY_STORE_DOES_NOT_COPY_ELEMENTS - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray([])' method does not copy the elements into the array
TO_ARRAY_STORE_MISSING_FIRST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return an array missing the first element
TO_ARRAY_STORE_MISSING_LAST_ELEMENT - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return an array missing the last element
TO_ARRAY_STORE_RETURNS_EMPTY_ARRAY - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return an empty array
TO_ARRAY_STORE_RETURNS_NULL - Static variable in class org.soliscode.test.breakable.BreakableCollection
The 'toArray' method will always return null
toArray() - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the toArray method from the Collection interface.
toArray() - Method in class org.soliscode.test.interfaces.CollectionOnly
 
toArray(T[]) - Method in class org.soliscode.test.breakable.BreakableCollection
Implements the toArray method from the Collection interface.
toArray(T[]) - Method in class org.soliscode.test.interfaces.CollectionOnly
 
ToArrayContract<E,C> - Interface in org.soliscode.test.contract.collection
This interface tests if a collection class has implemented the toArray method correctly.
toCSVString(Collection<?>) - Static method in class org.soliscode.test.util.CollectionTestOps
 
toList() - Method in class org.soliscode.test.util.CollectingConsumer
Returns all the arguments provided to the accept method in order.
toSet() - Method in class org.soliscode.test.util.CollectingConsumer
Returns all the arguments provided to the accept method.
toString() - Method in record class org.soliscode.test.breakable.Break
Returns a string representation of this record class.
toString() - Method in class org.soliscode.test.breakable.BreakableIterable
toString() - Method in class org.soliscode.test.interfaces.CollectionOnly
toString() - Method in class org.soliscode.test.interfaces.IterableOnly
toString() - Method in class org.soliscode.test.interfaces.NumberOnly
toString() - Method in class org.soliscode.test.interfaces.ObjectOnly
toString() - Method in class org.soliscode.test.util.AlwaysThrows
Always throws the supplied exception
toString() - Method in class org.soliscode.test.util.UncachedInteger
Returns a String object representing this UncachedInteger's value.
ToString - Enum constant in enum class org.soliscode.test.contract.object.ObjectMethods
The option al method Object.toString().
ToStringContract<T> - Interface in org.soliscode.test.contract.object
This interface tests if a class has implemented the toString() method correctly.
tryAdvance(Consumer<? super E>) - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the tryAdvance method from the Spliterator interface.
trySplit() - Method in class org.soliscode.test.breakable.BreakableSpliterator
Implements the forEachRemaining method from the Spliterator interface.

U

unbroken() - Method in class org.soliscode.test.breakable.BreakableCollection
returns the elements as an unbroken instance of `Collection'
unbroken() - Method in class org.soliscode.test.breakable.BreakableIterable
returns the elements as an unbroken instance of `Iterable'
UncachedInteger - Class in org.soliscode.test.util
An integer class that does not use cached values.
UncachedInteger() - Constructor for class org.soliscode.test.util.UncachedInteger
Create and instance of UncachedInteger with the value zero.
UncachedInteger(int) - Constructor for class org.soliscode.test.util.UncachedInteger
Create and instance of UncachedInteger with a specific value.
UncachedInteger(UncachedInteger) - Constructor for class org.soliscode.test.util.UncachedInteger
Create a copy of an UncachedInteger object.
uniqueInstanceSupplier() - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a Supplier that will generate unique instances of the class being provided.
uniqueInstanceSupplier(int) - Method in interface org.soliscode.test.provider.ObjectProvider
Creates a Supplier that will generate unique instances of the class being provided.
uniqueSizeLimit() - Method in interface org.soliscode.test.provider.ObjectProvider
Returns the number of unique instances of the class that can be created.
unsupportedMethods - Variable in class org.soliscode.test.breakable.BreakableCollection.AbstractBuilder
 
unsupportedMethods - Variable in class org.soliscode.test.breakable.BreakableIterable.AbstractBuilder
 
unsupportedMethods() - Method in class org.soliscode.test.OptionalMethodSupport
Returns a collection if the methods that are not supported by the class being tested.

V

valueOf(int) - Static method in class org.soliscode.test.util.UncachedInteger
Creates an instance of UncachedInteger with the specified value.
valueOf(String) - Static method in enum class org.soliscode.test.contract.CollectionMethods
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.soliscode.test.contract.object.ObjectMethods
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.soliscode.test.contract.CollectionMethods
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.soliscode.test.contract.object.ObjectMethods
Returns an array containing the constants of this enum class, in the order they are declared.

W

WithArrayList<E> - Interface in org.soliscode.test.contract.support
Mixing for a collection contract class that implements a collection provider for instances of ArrayList.
WithDouble - Interface in org.soliscode.test.contract.support
Provides an implementation of the WithDouble.provider() method that provides instances of Double.
WithInteger - Interface in org.soliscode.test.contract.support
Provides an implementation of the WithInteger.provider() method that provides instances of Integer.
WithIntegerElement - Interface in org.soliscode.test.contract.support
Mixing for a collection contract class that implements a element provider for instances of Integer.
WithString - Interface in org.soliscode.test.contract.support
Provides an implementation of the WithString.provider() method that provides instances of String.
wrap(CollectionProvider<E, C>, Function<C, W>) - Static method in class org.soliscode.test.provider.CollectionProviders
Creates a provider that wraps the provided collection from an underlying provider.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form