| AbstractArraySubject |
A common supertype for Array subjects, abstracting some common display and error infrastructure.
|
| ActualValueInference.DescribedEntry |
An entry that contains a description of how it was created.
|
| ActualValueInference.FrameInfo |
A value class to represent a frame.
|
| ActualValueInference.InferredType |
This is the type used for type inference.
|
| ActualValueInference.Invocation |
A method invocation.
|
| ActualValueInference.Invocation.Builder |
|
| ActualValueInference.Nullable |
|
| ActualValueInference.OpaqueEntry |
An entry that we know nothing about except for its type.
|
| ActualValueInference.StackEntry |
|
| ActualValueInference.SubjectEntry |
An entry for a Subject (or a similar object derived with a Subject, like Ordered).
|
| AssertionErrorWithFacts |
An AssertionError composed of structured Fact instances and other string
messages.
|
| BigDecimalSubject |
Propositions for BigDecimal typed subjects.
|
| BooleanSubject |
Propositions for boolean subjects.
|
| ClassSubject |
Propositions for Class subjects.
|
| ComparableSubject |
Propositions for Comparable typed subjects.
|
| ComparisonFailureWithFacts |
An AssertionError (usually a JUnit ComparisonFailure, but not under GWT) composed
of structured Fact instances and other string messages.
|
| Correspondence |
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 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 functional interface to be used format the diff between a pair of objects of types A
and E.
|
| Correspondence.ExceptionStore |
Helper object to store exceptions encountered while executing a Correspondence method.
|
| Correspondence.StoredException |
|
| 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 |
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.
|
| ErrorWithFacts |
Supertype of Truth's AssertionError subclasses that are created from a list of Fact instances.
|
| Expect |
A TestRule that batches up all failures encountered during a test, and reports them all
together at the end (similar to ErrorCollector).
|
| Expect.ExpectationGatherer |
|
| Expect.TestPhase |
|
| ExpectFailure.SimpleSubjectBuilderCallback |
|
| 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."
|
| Facts |
Helper class that wraps a collection of Fact instances to make them easier to build.
|
| FailureMetadata |
An opaque, immutable object containing state from the previous calls in the fluent assertion
chain.
|
| FailureMetadata.OldAndNewValuesAreSimilar |
Whether the value of the original subject and the value of the derived subject are "similar
enough" that we don't need to display both.
|
| FailureMetadata.Step |
|
| FailureStrategy |
Defines what to do when a check fails.
|
| FloatSubject |
Propositions for Float subjects.
|
| FloatSubject.TolerantFloatComparison |
A partially specified check about an approximate relationship to a float subject using
a tolerance.
|
| GraphMatching.HopcroftKarp |
|
| GuavaOptionalSubject |
Propositions for Guava Optional subjects.
|
| IntegerSubject |
Propositions for Integer subjects.
|
| IntStreamSubject |
Propositions for IntStream subjects.
|
| IterableSubject |
Propositions for Iterable subjects.
|
| IterableSubject.ElementFactGrouping |
Whether to output each missing/unexpected item as its own Fact or to group all those
items together into a single Fact.
|
| IterableSubject.PairwiseChecker |
|
| IterableSubject.UsingCorrespondence |
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.
|
| IterableSubject.UsingCorrespondence.Pairer |
|
| IterableSubject.UsingCorrespondence.Pairing |
An description of a pairing between expected and actual values.
|
| LazyMessage |
|
| LongStreamSubject |
Propositions for LongStream subjects.
|
| LongSubject |
Propositions for long subjects.
|
| MapSubject |
Propositions for Map subjects.
|
| MapSubject.MapDifference |
|
| MapSubject.UsingCorrespondence |
A partially specified check in which the actual values (i.e.
|
| MapSubject.ValueDifference |
|
| MapSubject.ValueTester |
|
| MultimapSubject |
Propositions for Multimap subjects.
|
| MultimapSubject.UsingCorrespondence |
A partially specified check in which the actual values (i.e.
|
| MultisetSubject |
Propositions for Multiset subjects.
|
| ObjectArraySubject |
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.
|
| Platform.JUnitTestRule |
Wrapping interface of TestRule to be used within truth.
|
| Platform.PlatformComparisonFailure |
|
| 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[].
|
| SimpleSubjectBuilder |
In a fluent assertion chain, exposes the most common that method, which accepts a value
under test and returns a Subject.
|
| StackTraceCleaner.StackFrameType |
Enum of the package or class-name based categories of stack frames that might be removed or
collapsed by the cleaner.
|
| StackTraceCleaner.StackTraceElementWrapper |
Wrapper around a StackTraceElement for calculating and holding the metadata used to
clean the stack trace.
|
| StandardSubjectBuilder |
|
| StreamSubject |
Propositions for Stream subjects.
|
| StringSubject |
Propositions for string subjects.
|
| StringSubject.CaseInsensitiveStringComparison |
Case insensitive propositions for string subjects.
|
| Subject |
An object that lets you perform checks on the value under test.
|
| Subject.ComparisonResult |
The result of comparing two objects for equality.
|
| Subject.EqualityCheck |
|
| Subject.Factory |
In a fluent assertion chain, the argument to the common overload of about, the method that specifies what kind of
Subject to create.
|
| SubjectUtils.DuplicateGroupedAndTyped |
Missing or unexpected values from a collection assertion, with equal objects grouped together
and, in some cases, type information added.
|
| SubjectUtils.NonHashingMultiset |
|
| TableSubject |
Propositions for Table subjects.
|
| ThrowableSubject |
Propositions for Throwable subjects.
|
| Truth.SimpleAssertionError |
An AssertionError that (a) always supports a cause, even under old versions of Android
and (b) omits "java.lang.AssertionError:" from the beginning of its toString() representation.
|
| TruthFailureSubject |
Subject for AssertionError objects thrown by Truth.
|