Uses of Interface
com.google.common.truth.CustomSubjectBuilder.Factory
Packages that use CustomSubjectBuilder.Factory
Package
Description
Truth is a library for performing assertions in
tests:
Custom subjects for testing Protocol
Buffer instances.
-
Uses of CustomSubjectBuilder.Factory in com.google.common.truth
Methods in com.google.common.truth with parameters of type CustomSubjectBuilder.FactoryModifier and TypeMethodDescriptionfinal <CustomSubjectBuilderT extends CustomSubjectBuilder>
CustomSubjectBuilderTStandardSubjectBuilder.about
(CustomSubjectBuilder.Factory<CustomSubjectBuilderT> factory) A generic, advanced method of extension of Truth to new types, which is documented onCustomSubjectBuilder
.static <CustomSubjectBuilderT extends CustomSubjectBuilder>
CustomSubjectBuilderTTruth.assertAbout
(CustomSubjectBuilder.Factory<CustomSubjectBuilderT> factory) A generic, advanced method of extension of Truth to new types, which is documented onCustomSubjectBuilder
. -
Uses of CustomSubjectBuilder.Factory in com.google.common.truth.extensions.proto
Methods in com.google.common.truth.extensions.proto that return CustomSubjectBuilder.FactoryModifier and TypeMethodDescriptionProtoTruth.protos()
Returns aCustomSubjectBuilder.Factory
, akin to aSubject.Factory
, which can be used to assert on multiple types of Protos and collections containing them.