Package com.google.common.truth
Class ActualValueInference.SubjectEntry
java.lang.Object
com.google.common.truth.ActualValueInference.StackEntry
com.google.common.truth.ActualValueInference.SubjectEntry
- Direct Known Subclasses:
AutoValue_ActualValueInference_SubjectEntry
- Enclosing class:
- ActualValueInference
An entry for a
Subject
(or a similar object derived with a Subject
, like Ordered
).
The entry contains the "root actual value" of the assertion. In an assertion like
assertThat(e).hasMessageThat().contains("foo")
, the root actual value is the Throwable
e
, even though the contains
assertion operates on a string message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract ActualValueInference.StackEntry
(package private) final boolean
final String
toString()
Methods inherited from class com.google.common.truth.ActualValueInference.StackEntry
description, type
-
Constructor Details
-
SubjectEntry
SubjectEntry()
-
-
Method Details
-
actualValue
- Overrides:
actualValue
in classActualValueInference.StackEntry
-
isSubject
final boolean isSubject()- Overrides:
isSubject
in classActualValueInference.StackEntry
-
toString
-