All Classes Interface Summary Class Summary
| Class |
Description |
| BigDecimalSubject |
|
| BooleanSubject |
Propositions for boolean subjects.
|
| ClassSubject |
Propositions for Class subjects.
|
| ComparableSubject<T extends Comparable> |
|
| Correspondence<A,E> |
Determines whether an instance of type A corresponds in some way to an instance of type
E for the purposes of a test assertion.
|
| Correspondence.BinaryPredicate<A,E> |
A functional interface for a binary predicate, to be used to test whether a pair of objects of
types A and E satisfy some condition.
|
| Correspondence.DiffFormatter<A,E> |
A functional interface to be used format the diff between a pair of objects of types A
and E.
|
| CustomSubjectBuilder |
In a fluent assertion chain, exposes one or more "custom" that methods, which accept a
value under test and return a Subject.
|
| CustomSubjectBuilder.Factory<CustomSubjectBuilderT extends CustomSubjectBuilder> |
In a fluent assertion chain, the argument to the "custom" overload of about, the method that specifies
what kind of Subject to create.
|
| DoubleSubject |
Propositions for Double subjects.
|
| DoubleSubject.TolerantDoubleComparison |
A partially specified check about an approximate relationship to a double subject using
a tolerance.
|
| Expect |
A TestRule that batches up all failures encountered during a test, and reports them all
together at the end (similar to ErrorCollector).
|
| ExpectFailure |
A utility for testing that assertions against a custom Subject fail when they should,
plus a utility to assert about parts of the resulting failure messages.
|
| ExpectFailure.SimpleSubjectBuilderCallback<S extends Subject,A> |
|
| ExpectFailure.StandardSubjectBuilderCallback |
A "functional interface" for expectFailure() to invoke and capture
failures.
|
| Fact |
A string key-value pair in a failure message, such as "expected: abc" or "but was: xyz."
|
| FailureMetadata |
An opaque, immutable object containing state from the previous calls in the fluent assertion
chain.
|
| FailureStrategy |
Defines what to do when a check fails.
|
| FieldScope |
An immutable, abstract representation of a set of specific field paths.
|
| FieldScopes |
|
| FloatSubject |
Propositions for Float subjects.
|
| FloatSubject.TolerantFloatComparison |
A partially specified check about an approximate relationship to a float subject using
a tolerance.
|
| GuavaOptionalSubject |
Propositions for Guava Optional subjects.
|
| IntegerSubject |
|
| IntStreamSubject |
Propositions for IntStream subjects.
|
| IterableOfProtosFluentAssertion<M extends Message> |
Fluent API to perform detailed, customizable comparison of iterables of protocol buffers.
|
| IterableOfProtosSubject<M extends Message> |
Truth subject for the iterables of protocol buffers.
|
| IterableOfProtosUsingCorrespondence<M extends Message> |
|
| IterableSubject |
|
| IterableSubject.UsingCorrespondence<A,E> |
A partially specified check in which the actual elements (normally the elements of the Iterable under test) are compared to expected elements using a Correspondence.
|
| LiteProtoSubject |
Truth subjects for the Lite version of Protocol Buffers.
|
| LiteProtoTruth |
A set of static methods to begin a Truth assertion chain for the lite version of protocol
buffers.
|
| LongStreamSubject |
Propositions for LongStream subjects.
|
| LongSubject |
Propositions for long subjects.
|
| MapSubject |
Propositions for Map subjects.
|
| MapWithProtoValuesFluentAssertion<M extends Message> |
Fluent API to perform detailed, customizable comparison of maps containing protocol buffers as
values.
|
| MapWithProtoValuesSubject<M extends Message> |
Truth subject for maps with protocol buffers for values.
|
| MultimapSubject |
|
| MultimapWithProtoValuesFluentAssertion<M extends Message> |
Fluent API to perform detailed, customizable comparison of Multimaps containing protocol
buffers as values.
|
| MultimapWithProtoValuesSubject<M extends Message> |
Truth subject for Multimaps with protocol buffers for values.
|
| MultisetSubject |
|
| ObjectArraySubject<T> |
A Subject for Object[] and more generically T[].
|
| OptionalDoubleSubject |
|
| OptionalIntSubject |
|
| OptionalLongSubject |
|
| OptionalSubject |
Propositions for Java 8 Optional subjects.
|
| Ordered |
|
| PathSubject |
Assertions for Path instances.
|
| PrimitiveBooleanArraySubject |
A Subject for boolean[].
|
| PrimitiveByteArraySubject |
A Subject for byte[].
|
| PrimitiveCharArraySubject |
A Subject for char[].
|
| PrimitiveDoubleArraySubject |
A Subject for double[].
|
| PrimitiveDoubleArraySubject.DoubleArrayAsIterable |
|
| PrimitiveFloatArraySubject |
A Subject for float[].
|
| PrimitiveFloatArraySubject.FloatArrayAsIterable |
|
| PrimitiveIntArraySubject |
A Subject for int[].
|
| PrimitiveLongArraySubject |
A Subject for long[].
|
| PrimitiveShortArraySubject |
A Subject for short[].
|
| ProtoFluentAssertion |
Fluent API to perform detailed, customizable comparison of Protocol buffers.
|
| ProtoSubject |
Truth subject for the full version of Protocol Buffers.
|
| ProtoSubjectBuilder |
|
| ProtoTruth |
A set of static methods to begin a Truth assertion chain for protocol buffers.
|
| Re2jSubjects |
Truth subjects for re2j regular expressions.
|
| Re2jSubjects.Re2jStringSubject |
Subject for String subjects which you can use to assert things about Pattern regexes.
|
| SimpleSubjectBuilder<SubjectT extends Subject,ActualT> |
In a fluent assertion chain, exposes the most common that method, which accepts a value
under test and returns a Subject.
|
| StandardSubjectBuilder |
|
| StreamSubject |
Propositions for Stream subjects.
|
| StringSubject |
Propositions for string subjects.
|
| Subject |
An object that lets you perform checks on the value under test.
|
| Subject.Factory<SubjectT extends Subject,ActualT> |
In a fluent assertion chain, the argument to the common overload of about, the method that specifies what kind of
Subject to create.
|
| TableSubject |
Propositions for Table subjects.
|
| ThrowableSubject |
|
| Truth |
The primary entry point for Truth, a library for fluent test
assertions.
|
| Truth8 |
The primary entry point for assertions about Java 8 types.
|
| TruthFailureSubject |
|
| TruthJUnit |
Provides a way to use Truth to perform JUnit "assumptions." An assumption is a check that, if
false, aborts (skips) the test.
|