Uses of Class
com.google.common.truth.Subject
Packages that use Subject
-
Uses of Subject in com.google.common.truth
Classes in com.google.common.truth with type parameters of type SubjectModifier and TypeClassDescriptionstatic 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 Comparable> Propositions forComparable
typed subjects.class
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.truthModifier and TypeClassDescriptionclass
AbstractArraySubject<S extends AbstractArraySubject<S,
T>, T> A common supertype for Array subjects, abstracting some common display and error infrastructure.class
Propositions for boolean subjects.class
Propositions forClass
subjects.class
CollectionSubject<S extends CollectionSubject<S,
T, C>, T, C extends Collection<T>> Propositions forCollection
subjects.class
ComparableSubject<S extends Subject<S,
T>, T extends Comparable> Propositions forComparable
typed subjects.class
class
Propositions forInteger
subjects.class
IterableSubject<S extends IterableSubject<S,
T, C>, T, C extends Iterable<T>> Propositions forIterable
subjects.class
ListSubject<S extends ListSubject<S,
T, C>, T, C extends List<T>> Propositions forList
subjects.class
Propositions forlong
subjects.class
MapSubject<S extends MapSubject<S,
K, V, M>, K, V, M extends Map<K, V>> Propositions forMap
subjects.class
A Subject to handle testing propositions forObject[]
and more genericallyT[]
.class
Propositions forOptional
<T>
subjects.class
A Subject to handle testing propositions forboolean[]
.class
A Subject to handle testing propositions forbyte[]
.class
A Subject to handle testing propositions forchar[]
.class
A Subject to handle testing propositions fordouble[]
.class
A Subject to handle testing propositions forfloat[]
.class
A Subject to handle testing propositions forint[]
.class
A Subject to handle testing propositions forint[]
.class
Propositions for string subjects.Methods in com.google.common.truth with type parameters of type SubjectModifier and TypeMethodDescription<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 ininvalid reference
com.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, Iterable<T> data) Methods in com.google.common.truth that return SubjectModifier and TypeMethodDescriptionstatic Subject
<DefaultSubject, Object> Truth.assertThat
(Object target) -
Uses of Subject in org.truth0.subjects
Classes in org.truth0.subjects with type parameters of type SubjectSubclasses of Subject in org.truth0.subjects
SubjectFactory
.