public static class Expect.ExpectationGatherer extends FailureStrategy
Constructor and Description |
---|
ExpectationGatherer() |
ExpectationGatherer(boolean showStackTrace) |
Modifier and Type | Method and Description |
---|---|
void |
fail(String message) |
void |
fail(String message,
Throwable cause) |
void |
failComparing(String message,
CharSequence expected,
CharSequence actual) |
List<com.google.common.truth.Expect.ExpectationFailure> |
getMessages() |
String |
toString() |
public ExpectationGatherer()
public ExpectationGatherer(boolean showStackTrace)
public void fail(String message)
fail
in class FailureStrategy
public void failComparing(String message, CharSequence expected, CharSequence actual)
failComparing
in class FailureStrategy
public void fail(String message, Throwable cause)
fail
in class FailureStrategy
public List<com.google.common.truth.Expect.ExpectationFailure> getMessages()
Copyright © 2017. All rights reserved.