Uses of Class
com.google.common.truth.FailureMetadata
Packages that use FailureMetadata
Package
Description
Truth is a library for performing assertions in
tests:
Custom subjects for testing Protocol
Buffer instances.
-
Uses of FailureMetadata in com.google.common.truth
Methods in com.google.common.truth that return FailureMetadataModifier and TypeMethodDescriptionprotected final FailureMetadata
CustomSubjectBuilder.metadata()
Methods in com.google.common.truth with parameters of type FailureMetadataModifier and TypeMethodDescriptionSubject.Factory.createSubject
(FailureMetadata metadata, @Nullable ActualT actual) Creates a newSubject
.CustomSubjectBuilder.Factory.createSubjectBuilder
(FailureMetadata metadata) Creates a newCustomSubjectBuilder
of the appropriate type.Constructors in com.google.common.truth with parameters of type FailureMetadataModifierConstructorDescriptionprotected
ComparableSubject
(FailureMetadata metadata, @Nullable T actual) Constructor for use by subclasses.protected
CustomSubjectBuilder
(FailureMetadata metadata) Constructor for use by subclasses.protected
IntegerSubject
(FailureMetadata metadata, @Nullable Integer actual) Constructor for use by subclasses.protected
IterableSubject
(FailureMetadata metadata, @Nullable Iterable<?> actual) Constructor for use by subclasses.protected
LongSubject
(FailureMetadata metadata, @Nullable Long actual) Constructor for use by subclasses.protected
MapSubject
(FailureMetadata metadata, @Nullable Map<?, ?> map) Constructor for use by subclasses.protected
MultimapSubject
(FailureMetadata metadata, @Nullable Multimap<?, ?> actual) Constructor for use by subclasses.protected
StringSubject
(FailureMetadata metadata, @Nullable String actual) Constructor for use by subclasses.protected
Subject
(FailureMetadata metadata, @Nullable Object actual) Constructor for use by subclasses.protected
ThrowableSubject
(FailureMetadata metadata, @Nullable Throwable actual) Constructor for use by subclasses. -
Uses of FailureMetadata in com.google.common.truth.extensions.proto
Constructors in com.google.common.truth.extensions.proto with parameters of type FailureMetadataModifierConstructorDescriptionprotected
IterableOfProtosSubject
(FailureMetadata failureMetadata, @Nullable Iterable<M> messages) protected
LiteProtoSubject
(FailureMetadata failureMetadata, @Nullable MessageLite messageLite) protected
MapWithProtoValuesSubject
(FailureMetadata failureMetadata, @Nullable Map<?, M> map) protected
MultimapWithProtoValuesSubject
(FailureMetadata failureMetadata, @Nullable Multimap<?, M> multimap) protected
ProtoSubject
(FailureMetadata failureMetadata, @Nullable Message message)