Package com.google.common.truth
Class MultimapSubject.IterableEntries
java.lang.Object
com.google.common.truth.Subject
com.google.common.truth.IterableSubject
com.google.common.truth.MultimapSubject.IterableEntries
- Enclosing class:
MultimapSubject
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.truth.IterableSubject
IterableSubject.ElementFactGrouping, IterableSubject.UsingCorrespondence<A,
E> Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.EqualityCheck, Subject.Factory<SubjectT extends Subject,
ActualT> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIterableEntries
(FailureMetadata metadata, MultimapSubject multimapSubject, Iterable<?> actual) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Supplies the direct string representation of the actual value to other methods which may prefix or otherwise position it in an error message.Methods inherited from class com.google.common.truth.IterableSubject
comparingElementsUsing, contains, containsAnyIn, containsAnyIn, containsAnyOf, containsAtLeast, containsAtLeastElementsIn, containsAtLeastElementsIn, containsExactly, containsExactlyElementsIn, containsExactlyElementsIn, containsNoDuplicates, containsNoneIn, containsNoneIn, containsNoneOf, doesNotContain, hasSize, isEmpty, isEqualTo, isInOrder, isInOrder, isInStrictOrder, isInStrictOrder, isNoneOf, isNotEmpty, isNotIn
Methods inherited from class com.google.common.truth.Subject
actual, actualCustomStringRepresentationForPackageMembersToCall, butWas, check, check, checkNoNeedToDisplayBothValues, equals, fail, fail, fail, failEqualityCheckForEqualsWithoutDescription, failWithActual, failWithActual, failWithActual, failWithActual, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutActual, failWithoutActual, failWithoutActual, failWithoutSubject, hashCode, ignoreCheck, isAnyOf, isIn, isInstanceOf, isNotEqualTo, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString, typeDescription
-
Field Details
-
stringRepresentation
-
-
Constructor Details
-
IterableEntries
IterableEntries(FailureMetadata metadata, MultimapSubject multimapSubject, Iterable<?> actual)
-
-
Method Details
-
actualCustomStringRepresentation
Description copied from class:Subject
Supplies the direct string representation of the actual value to other methods which may prefix or otherwise position it in an error message. This should only be overridden to provide an improved string representation of the value under test, as it would appear in any given error message, and should not be used for additional prefixing.Subjects should override this with care.
By default, this returns
String.ValueOf(getActualValue())
.- Overrides:
actualCustomStringRepresentation
in classIterableSubject
-