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
  • Constructor Details

    • IterableSubjectWithInheritedToString

      IterableSubjectWithInheritedToString(FailureMetadata metadata, Iterable<?> actual)
  • Method Details

    • actualCustomStringRepresentation

      protected 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 class IterableSubject