All Classes Interface Summary Class Summary
| Class |
Description |
| BigDecimalSubject |
|
| BooleanSubject |
|
| ClassSubject |
A subject for Class values.
|
| ComparableSubject<T extends Comparable<?>> |
|
| Correspondence<A extends @Nullable Object,E extends @Nullable Object> |
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 extends @Nullable Object,E extends @Nullable Object> |
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 extends @Nullable Object,E extends @Nullable Object> |
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 |
|
| DoubleSubject.TolerantDoubleComparison |
A partially specified check about an approximate relationship to a double value 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 |
|
| 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.
|
| FloatSubject |
A subject for Float values.
|
| FloatSubject.TolerantFloatComparison |
A partially specified check about an approximate relationship to a float value using a
tolerance.
|
| GuavaOptionalSubject |
|
| IntegerSubject |
|
| IntegerSubject.TolerantIntegerComparison |
A partially specified check about an approximate relationship to a int actual value
using a tolerance.
|
| IntStreamSubject |
|
| IterableSubject |
|
| IterableSubject.UsingCorrespondence<A extends @Nullable Object,E extends @Nullable Object> |
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.
|
| LongStreamSubject |
|
| LongSubject |
A subject for Long values.
|
| LongSubject.TolerantLongComparison |
A partially specified check about an approximate relationship to a long value using a
tolerance.
|
| MapSubject |
A subject for Map values.
|
| MapSubject.UsingCorrespondence<A extends @Nullable Object,E extends @Nullable Object> |
A partially specified check in which the actual values (i.e. the values of the Map
under test) are compared to expected values using a Correspondence.
|
| MultimapSubject |
|
| MultimapSubject.UsingCorrespondence<A extends @Nullable Object,E extends @Nullable Object> |
A partially specified check in which the actual values (i.e. the values of the Multimap
under test) are compared to expected values using a Correspondence.
|
| MultisetSubject |
|
| ObjectArraySubject<T extends @Nullable Object> |
A subject for Object[] and more generically T[].
|
| OptionalDoubleSubject |
|
| OptionalIntSubject |
|
| OptionalLongSubject |
|
| OptionalSubject |
|
| Ordered |
|
| PathSubject |
A subject for Path values.
|
| PrimitiveBooleanArraySubject |
A subject for boolean[] values.
|
| PrimitiveByteArraySubject |
A subject for byte[] values.
|
| PrimitiveCharArraySubject |
A subject for char[] values.
|
| PrimitiveDoubleArraySubject |
A subject for double[] values.
|
| PrimitiveDoubleArraySubject.DoubleArrayAsIterable |
|
| PrimitiveFloatArraySubject |
A subject for float[] values.
|
| PrimitiveFloatArraySubject.FloatArrayAsIterable |
|
| PrimitiveIntArraySubject |
A subject for int[] values.
|
| PrimitiveLongArraySubject |
A subject for long[] values.
|
| PrimitiveShortArraySubject |
A subject for short[] values.
|
| 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 |
|
| StringSubject |
|
| StringSubject.CaseInsensitiveStringComparison |
Offers case-insensitive checks for string values.
|
| 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 |
A subject for Table values.
|
| ThrowableSubject |
|
| Truth |
The primary entry point for Truth, a library for fluent test
assertions.
|
| Truth8 |
Deprecated.
|
| TruthFailureSubject |
|
| TruthJUnit |
Provides a way to use Truth to perform JUnit "assumptions."
|