Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
com.google.common.truth.extensions.re2j |
Class and Description |
---|
AbstractArraySubject
A common supertype for Array subjects, abstracting some common display and error infrastructure.
|
AbstractVerb
A parent type for some infrastructure used in the Verb.
|
AbstractVerb.DelegatedVerb
A special Verb implementation which wraps a SubjectFactory
|
AtomicLongMapSubject
Propositions for
AtomicLongMap subjects. |
BigDecimalSubject
Propositions for
BigDecimal typed subjects. |
BooleanSubject
Propositions for boolean subjects.
|
ClassSubject
Propositions for
Class subjects. |
ComparableSubject
Propositions for
Comparable typed subjects. |
Correspondence
Determines whether an instance of type
A corresponds in some way to an instance of type
E . |
DefaultSubject |
DoubleSubject
Propositions for
Double subjects. |
DoubleSubject.TolerantDoubleComparison
A partially specified proposition about an approximate relationship to a
double subject
using a tolerance. |
Expect |
Expect.ExpectationGatherer |
FailureContext
An abstract type which holds a context message and formats it on demand.
|
FailureStrategy |
FloatSubject
Propositions for
Float subjects. |
FloatSubject.TolerantFloatComparison
A partially specified proposition about an approximate relationship to a
float subject
using a tolerance. |
GuavaOptionalSubject
Propositions for Guava
Optional subjects. |
IntegerSubject
Propositions for
Integer subjects. |
IterableSubject
Propositions for
Iterable subjects. |
IterableSubject.UsingCorrespondence
A partially specified proposition in which the actual elements (normally the elements of the
Iterable under test) are compared to expected elements using a Correspondence . |
ListMultimapSubject
Type-specific extensions of
Multimap subjects for ListMultimap subjects. |
LongSubject
Propositions for
long subjects. |
MapSubject
Propositions for
Map subjects. |
MapSubject.UsingCorrespondence
A partially specified proposition in which the actual values (i.e.
|
MultimapSubject
Propositions for
Multimap subjects. |
MultimapSubject.UsingCorrespondence
A partially specified proposition in which the actual values (i.e.
|
MultisetSubject
Propositions for
Multiset subjects. |
ObjectArraySubject
A Subject to handle testing propositions for
Object[] and more generically T[] . |
Ordered |
PrimitiveBooleanArraySubject
A Subject to handle testing propositions for
boolean[] . |
PrimitiveByteArraySubject
A Subject to handle testing propositions for
byte[] . |
PrimitiveCharArraySubject
A Subject to handle testing propositions for
char[] . |
PrimitiveDoubleArraySubject
A Subject to handle testing propositions for
double[] . |
PrimitiveDoubleArraySubject.TolerantPrimitiveDoubleArrayComparison
A partially specified proposition about an approximate relationship to a
double[]
subject using a tolerance. |
PrimitiveFloatArraySubject
A Subject to handle testing propositions for
float[] . |
PrimitiveFloatArraySubject.TolerantPrimitiveFloatArrayComparison
A partially specified proposition about an approximate relationship to a
float[]
subject using a tolerance. |
PrimitiveIntArraySubject
A Subject to handle testing propositions for
int[] . |
PrimitiveLongArraySubject
A Subject to handle testing propositions for
long[] . |
PrimitiveShortArraySubject
A Subject to handle testing propositions for
short[] . |
SetMultimapSubject
Type-specific extensions of
Multimap subjects for SetMultimap subjects. |
SortedMapSubject
Tests for
SortedMap and NavigableMap objects. |
SortedSetSubject
Tests for
SortedSet and NavigableSet objects. |
StringSubject
Propositions for string subjects.
|
Subject
A
Subject in Truth fits into the assertion fluent chain, taking the place
of the "subject of the test". |
SubjectFactory
A custom subject factory which will return a FooSubject (which is a
Subject<Foo> ). |
TableSubject
Propositions for
Table subjects. |
TestVerb |
ThrowableSubject
Propositions for
Throwable subjects. |
Class and Description |
---|
Correspondence
Determines whether an instance of type
A corresponds in some way to an instance of type
E . |
FailureStrategy |
IntegerSubject
Propositions for
Integer subjects. |
IterableSubject.UsingCorrespondence
A partially specified proposition in which the actual elements (normally the elements of the
Iterable under test) are compared to expected elements using a Correspondence . |
Ordered |
Subject
A
Subject in Truth fits into the assertion fluent chain, taking the place
of the "subject of the test". |
SubjectFactory
A custom subject factory which will return a FooSubject (which is a
Subject<Foo> ). |
Class and Description |
---|
Subject
A
Subject in Truth fits into the assertion fluent chain, taking the place
of the "subject of the test". |
SubjectFactory
A custom subject factory which will return a FooSubject (which is a
Subject<Foo> ). |
Copyright © 2016. All rights reserved.