Uses of Interface
com.google.common.truth.Correspondence.DiffFormatter
Packages that use Correspondence.DiffFormatter
-
Uses of Correspondence.DiffFormatter in com.google.common.truth
Methods in com.google.common.truth with parameters of type Correspondence.DiffFormatterModifier and TypeMethodDescriptionCorrespondence.formattingDiffsUsing
(Correspondence.DiffFormatter<? super A, ? super E> formatter) Returns a new correspondence which is like this one, except that the given formatter may be used to format the difference between a pair of elements that do not correspond.<T extends @Nullable Object>
IterableSubject.UsingCorrespondence<T, T> IterableSubject.formattingDiffsUsing
(Correspondence.DiffFormatter<? super T, ? super T> formatter) Starts a method chain for a check in which failure messages may use the givenCorrespondence.DiffFormatter
to describe the difference between an actual element (i.e. an element of theIterable
under test) and the element it is expected to be equal to, but isn't.final <V extends @Nullable Object>
MapSubject.UsingCorrespondence<V, V> MapSubject.formattingDiffsUsing
(Correspondence.DiffFormatter<? super V, ? super V> formatter) Starts a method chain for a check in which failure messages may use the givenCorrespondence.DiffFormatter
to describe the difference between an actual map (i.e. a value in theMap
under test) and the value it is expected to be equal to, but isn't.