public interface ExecutionFailure extends ExecutionResult
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExecutionFailure.Failure |
| Modifier and Type | Method and Description |
|---|---|
ExecutionFailure |
assertHasCause(java.lang.String description)
Asserts that the reported failure has the given cause (ie the bit after the description).
|
ExecutionFailure |
assertHasDescription(java.lang.String context)
Asserts that the reported failure has the given description (ie the bit after '* What went wrong').
|
ExecutionFailure |
assertThatCause(org.hamcrest.Matcher<? super java.lang.String> matcher)
Asserts that the reported failure has the given cause (ie the bit after the description).
|
assertHasPostBuildOutput, assertNotOutput, assertOutputContains, assertResultVisited, assertTaskNotExecuted, assertTaskNotSkipped, assertTasksExecuted, assertTasksExecutedAndNotSkipped, assertTaskSkipped, assertTasksNotSkipped, assertTasksSkipped, assertThatOutput, getOutput, getPlainTextOutputExecutionFailure assertHasCause(java.lang.String description)
Error messages are normalized to use new-line char as line separator.
ExecutionFailure assertThatCause(org.hamcrest.Matcher<? super java.lang.String> matcher)
Error messages are normalized to use new-line char as line separator.
ExecutionFailure assertHasDescription(java.lang.String context)
Error messages are normalized to use new-line char as line separator.