All Classes Interface Summary Class Summary
Class |
Description |
BigDecimalSubject |
Propositions for BigDecimal typed subjects.
|
BooleanSubject |
Propositions for boolean subjects.
|
ClassSubject |
Propositions for Class subjects.
|
ComparableSubject<T extends java.lang.Comparable<?>> |
Propositions for Comparable typed subjects.
|
Correspondence<A extends @Nullable java.lang.Object,E extends @Nullable java.lang.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 java.lang.Object,E extends @Nullable java.lang.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 java.lang.Object,E extends @Nullable java.lang.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 |
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 |
Propositions for Integer subjects.
|
IntegerSubject.TolerantIntegerComparison |
A partially specified check about an approximate relationship to a int subject using a
tolerance.
|
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 |
Propositions for Iterable subjects.
|
IterableSubject.UsingCorrespondence<A extends @Nullable java.lang.Object,E extends @Nullable java.lang.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 .
|
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.
|
LongSubject.TolerantLongComparison |
A partially specified check about an approximate relationship to a long subject using a
tolerance.
|
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 Multimap s containing protocol
buffers as values.
|
MultimapWithProtoValuesSubject<M extends Message> |
Truth subject for Multimap s with protocol buffers for values.
|
MultisetSubject |
|
ObjectArraySubject<T extends @Nullable java.lang.Object> |
A Subject for Object[] and more generically T[] .
|
OptionalDoubleSubject |
Propositions for Java 8 OptionalDouble subjects.
|
OptionalIntSubject |
Propositions for Java 8 OptionalInt subjects.
|
OptionalLongSubject |
Propositions for Java 8 OptionalLong subjects.
|
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 |
Propositions for Throwable subjects.
|
Truth |
The primary entry point for Truth, a library for fluent test
assertions.
|
Truth8 |
Deprecated.
|
TruthFailureSubject |
Subject for AssertionError objects thrown by Truth.
|
TruthJUnit |
Provides a way to use Truth to perform JUnit "assumptions."
|