| 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 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T>
A special Verb implementation which wraps a SubjectFactory 
 | 
class  | 
Subject<S extends Subject<S,T>,T>
A  
Subject in Truth fits into the assertion fluent chain, taking the place
 of the "subject of the test". | 
class  | 
SubjectFactory<S extends Subject<S,T>,T>
A custom subject factory which will return a FooSubject (which is a  
Subject<Foo>). | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractArraySubject<S extends AbstractArraySubject<S,T>,T>
A common supertype for Array subjects, abstracting some common display and error infrastructure. 
 | 
class  | 
AtomicLongMapSubject
Propositions for  
AtomicLongMap subjects. | 
class  | 
BigDecimalSubject
Propositions for  
BigDecimal typed subjects. | 
class  | 
BooleanSubject
Propositions for boolean subjects. 
 | 
class  | 
ClassSubject
Propositions for  
Class subjects. | 
class  | 
ComparableSubject<S extends ComparableSubject<S,T>,T extends Comparable>
Propositions for  
Comparable typed subjects. | 
class  | 
DefaultSubject  | 
class  | 
DoubleSubject
Propositions for  
Double subjects. | 
class  | 
FloatSubject
Propositions for  
Float subjects. | 
class  | 
GuavaOptionalSubject
Propositions for Guava  
Optional subjects. | 
class  | 
IntegerSubject
Propositions for  
Integer subjects. | 
class  | 
IterableSubject
Propositions for  
Iterable subjects. | 
class  | 
ListMultimapSubject
Type-specific extensions of  
Multimap subjects for ListMultimap subjects. | 
class  | 
LongSubject
Propositions for  
long subjects. | 
class  | 
MapSubject
Propositions for  
Map subjects. | 
class  | 
MultimapSubject
Propositions for  
Multimap subjects. | 
class  | 
MultisetSubject
Propositions for  
Multiset subjects. | 
class  | 
ObjectArraySubject<T>
A Subject to handle testing propositions for  
Object[] and more generically T[]. | 
class  | 
PrimitiveBooleanArraySubject
A Subject to handle testing propositions for  
boolean[]. | 
class  | 
PrimitiveByteArraySubject
A Subject to handle testing propositions for  
byte[]. | 
class  | 
PrimitiveCharArraySubject
A Subject to handle testing propositions for  
char[]. | 
class  | 
PrimitiveDoubleArraySubject
A Subject to handle testing propositions for  
double[]. | 
class  | 
PrimitiveFloatArraySubject
A Subject to handle testing propositions for  
float[]. | 
class  | 
PrimitiveIntArraySubject
A Subject to handle testing propositions for  
int[]. | 
class  | 
PrimitiveLongArraySubject
A Subject to handle testing propositions for  
long[]. | 
class  | 
PrimitiveShortArraySubject
A Subject to handle testing propositions for  
short[]. | 
class  | 
SetMultimapSubject
Type-specific extensions of  
Multimap subjects for SetMultimap subjects. | 
class  | 
SortedMapSubject
Tests for  
SortedMap and NavigableMap objects. | 
class  | 
SortedSetSubject
Tests for  
SortedSet and NavigableSet objects. | 
class  | 
StringSubject
Propositions for string subjects. 
 | 
class  | 
TableSubject
Propositions for  
Table subjects. | 
class  | 
ThrowableSubject
Propositions for  
Throwable subjects. | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Subject<S,T>,T,SF extends SubjectFactory<S,T>>  | 
AbstractVerb.about(SF factory)
The recommended method of extension of Truth to new types, which is documented in  
com.google.common.truth.delegation.DelegationTest. | 
static <S extends Subject<S,T>,T>  | 
Truth.assertAbout(SubjectFactory<S,T> factory)
The recommended method of extension of Truth to new types, which is documented in  
com.google.common.truth.delegation.DelegationTest. | 
| Modifier and Type | Method and Description | 
|---|---|
static Subject<DefaultSubject,Object> | 
Truth.assertThat(Object target)  | 
Subject<DefaultSubject,Object> | 
TestVerb.that(Object target)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
IterableOfProtosSubject<S extends IterableOfProtosSubject<S,M,C>,M extends com.google.protobuf.Message,C extends Iterable<M>>
Truth subject for the iterables of protocol buffers. 
 | 
static class  | 
IterableOfProtosSubject.IterableOfMessagesSubject<M extends com.google.protobuf.Message>
Default implementation of  
IterableOfProtosSubject. | 
class  | 
LiteProtoSubject<S extends LiteProtoSubject<S,M>,M extends com.google.protobuf.MessageLite>
Truth subjects for the Lite version of Protocol Buffers. 
 | 
class  | 
ProtoSubject<S extends ProtoSubject<S,M>,M extends com.google.protobuf.Message>
Truth subject for the full version of Protocol Buffers. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Re2jSubjects.Re2jStringSubject
Subject for  
String subjects which you can use to assert things about Pattern regexes. | 
Copyright © 2016. All rights reserved.