Package com.google.common.truth
Class PrimitiveDoubleArraySubject.IterableSubjectWithInheritedToString
- java.lang.Object
-
- com.google.common.truth.Subject
-
- com.google.common.truth.IterableSubject
-
- com.google.common.truth.PrimitiveDoubleArraySubject.IterableSubjectWithInheritedToString
-
- Enclosing class:
- PrimitiveDoubleArraySubject
private final class PrimitiveDoubleArraySubject.IterableSubjectWithInheritedToString extends IterableSubject
-
-
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>
-
-
Constructor Summary
Constructors Constructor Description IterableSubjectWithInheritedToString(FailureMetadata metadata, java.lang.Iterable<?> actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
actualCustomStringRepresentation()
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
-
-
-
-
Constructor Detail
-
IterableSubjectWithInheritedToString
IterableSubjectWithInheritedToString(FailureMetadata metadata, java.lang.Iterable<?> actual)
-
-
Method Detail
-
actualCustomStringRepresentation
protected java.lang.String 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
-
-