Uses of Class
com.google.common.truth.Subject
-
Packages that use Subject Package Description com.google.common.truth org.truth0.subjects -
-
Uses of Subject in com.google.common.truth
Classes in com.google.common.truth with type parameters of type Subject Modifier and Type Class Description static class
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T>
A special Verb implementation which wraps a SubjectFactoryclass
ComparableSubject<S extends Subject<S,T>,T extends java.lang.Comparable>
Propositions forComparable
typed subjects.class
Subject<S extends Subject<S,T>,T>
Propositions for arbitrarily typed subjects and for properties of Objectclass
SubjectFactory<S extends Subject<S,T>,T>
A custom subject factory which will return a FooSubject (which is a Subject). Subclasses of Subject in com.google.common.truth Modifier and Type Class Description class
AbstractArraySubject<S extends AbstractArraySubject<S,T>,T>
A common supertype for Array subjects, abstracting some common display and error infrastructure.class
BooleanSubject
Propositions for boolean subjects.class
ClassSubject
Propositions forClass
subjects.class
CollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends java.util.Collection<T>>
Propositions forCollection
subjects.class
ComparableSubject<S extends Subject<S,T>,T extends java.lang.Comparable>
Propositions forComparable
typed subjects.class
DefaultSubject
class
IntegerSubject
Propositions forInteger
subjects.class
IterableSubject<S extends IterableSubject<S,T,C>,T,C extends java.lang.Iterable<T>>
Propositions forIterable
subjects.class
ListSubject<S extends ListSubject<S,T,C>,T,C extends java.util.List<T>>
Propositions forList
subjects.class
LongSubject
Propositions forlong
subjects.class
MapSubject<S extends MapSubject<S,K,V,M>,K,V,M extends java.util.Map<K,V>>
Propositions forMap
subjects.class
ObjectArraySubject<T>
A Subject to handle testing propositions forObject[]
and more genericallyT[]
.class
OptionalSubject<T>
Propositions forOptional
<T>
subjects.class
PrimitiveBooleanArraySubject
A Subject to handle testing propositions forboolean[]
.class
PrimitiveByteArraySubject
A Subject to handle testing propositions forbyte[]
.class
PrimitiveCharArraySubject
A Subject to handle testing propositions forchar[]
.class
PrimitiveDoubleArraySubject
A Subject to handle testing propositions fordouble[]
.class
PrimitiveFloatArraySubject
A Subject to handle testing propositions forfloat[]
.class
PrimitiveIntArraySubject
A Subject to handle testing propositions forint[]
.class
PrimitiveLongArraySubject
A Subject to handle testing propositions forint[]
.class
StringSubject
Propositions for string subjects.Methods in com.google.common.truth with type parameters of type Subject Modifier and Type Method Description <S extends Subject<S,T>,T,SF extends SubjectFactory<S,T>>
AbstractVerb.DelegatedVerb<S,T>AbstractVerb. about(SF factory)
The recommended method of extension of Truth to new types, which is documented incom.google.common.truth.delegation.DelegationTest
.<S extends Subject<S,T>,SF extends SubjectFactory<S,T>>
SIteratingVerb. thatEach(SF factory)
private <S extends Subject<S,T>,SF extends SubjectFactory<S,T>>
SIteratingVerb. wrap(FailureStrategy fs, SF factory, java.lang.Iterable<T> data)
Methods in com.google.common.truth that return Subject Modifier and Type Method Description static Subject<DefaultSubject,java.lang.Object>
Truth. assertThat(java.lang.Object target)
Subject<DefaultSubject,java.lang.Object>
TestVerb. that(java.lang.Object target)
-
Uses of Subject in org.truth0.subjects
Classes in org.truth0.subjects with type parameters of type Subject Modifier and Type Class Description class
SubjectFactory<S extends Subject<S,T>,T>
Deprecated.useSubjectFactory
.Subclasses of Subject in org.truth0.subjects Modifier and Type Class Description class
Subject<S extends Subject<S,T>,T>
Deprecated.useSubject
.
-