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 classAbstractVerb.DelegatedVerb<S extends Subject<S,T>,T>A special Verb implementation which wraps a SubjectFactoryclassComparableSubject<S extends Subject<S,T>,T extends java.lang.Comparable>Propositions forComparabletyped subjects.classSubject<S extends Subject<S,T>,T>Propositions for arbitrarily typed subjects and for properties of ObjectclassSubjectFactory<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 classAbstractArraySubject<S extends AbstractArraySubject<S,T>,T>A common supertype for Array subjects, abstracting some common display and error infrastructure.classBooleanSubjectPropositions for boolean subjects.classClassSubjectPropositions forClasssubjects.classCollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends java.util.Collection<T>>Propositions forCollectionsubjects.classComparableSubject<S extends Subject<S,T>,T extends java.lang.Comparable>Propositions forComparabletyped subjects.classDefaultSubjectclassIntegerSubjectPropositions forIntegersubjects.classIterableSubject<S extends IterableSubject<S,T,C>,T,C extends java.lang.Iterable<T>>Propositions forIterablesubjects.classListSubject<S extends ListSubject<S,T,C>,T,C extends java.util.List<T>>Propositions forListsubjects.classLongSubjectPropositions forlongsubjects.classMapSubject<S extends MapSubject<S,K,V,M>,K,V,M extends java.util.Map<K,V>>Propositions forMapsubjects.classObjectArraySubject<T>A Subject to handle testing propositions forObject[]and more genericallyT[].classOptionalSubject<T>Propositions forOptional<T>subjects.classPrimitiveBooleanArraySubjectA Subject to handle testing propositions forboolean[].classPrimitiveByteArraySubjectA Subject to handle testing propositions forbyte[].classPrimitiveCharArraySubjectA Subject to handle testing propositions forchar[].classPrimitiveDoubleArraySubjectA Subject to handle testing propositions fordouble[].classPrimitiveFloatArraySubjectA Subject to handle testing propositions forfloat[].classPrimitiveIntArraySubjectA Subject to handle testing propositions forint[].classPrimitiveLongArraySubjectA Subject to handle testing propositions forint[].classStringSubjectPropositions 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 classSubjectFactory<S extends Subject<S,T>,T>Deprecated.useSubjectFactory.Subclasses of Subject in org.truth0.subjects Modifier and Type Class Description classSubject<S extends Subject<S,T>,T>Deprecated.useSubject.
-