public abstract class AssertionVerifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERIFY_METHOD_NAME |
Constructor and Description |
---|
AssertionVerifier() |
Modifier and Type | Method and Description |
---|---|
static void |
verify(java.lang.Object truthValue,
java.lang.String text,
ValueRecorder recorder)
Verifies that the given value is true according to Groovy truth,
throwing a PowerAssertionError with a cleaned-up stacktrace and
helpful detail message otherwise.
|
public static final java.lang.String VERIFY_METHOD_NAME
public static void verify(java.lang.Object truthValue, java.lang.String text, ValueRecorder recorder)
truthValue
- the value of an assertion's truth expressiontext
- the source text of the assertionrecorder
- a ValueRecorder used for rendering failed assertions