Assertion, LoggingAssert, SoftAssertpublic interface IAssertLifecycle
| Modifier and Type | Method | Description |
|---|---|---|
void |
executeAssert(IAssert<?> assertCommand) |
Run the assert command in parameter.
|
void |
onAfterAssert(IAssert<?> assertCommand) |
Invoked after an assert is run.
|
void |
onAssertFailure(IAssert<?> assertCommand) |
Deprecated.
use onAssertFailure(IAssert assertCommand, AssertionError ex) instead of.
|
void |
onAssertFailure(IAssert<?> assertCommand,
java.lang.AssertionError ex) |
Invoked when an assert fails.
|
void |
onAssertSuccess(IAssert<?> assertCommand) |
Invoked when an assert succeeds.
|
void |
onBeforeAssert(IAssert<?> assertCommand) |
Invoked before an assert is run.
|
void executeAssert(IAssert<?> assertCommand)
void onAssertSuccess(IAssert<?> assertCommand)
void onAssertFailure(IAssert<?> assertCommand)
void onAssertFailure(IAssert<?> assertCommand, java.lang.AssertionError ex)
void onBeforeAssert(IAssert<?> assertCommand)
void onAfterAssert(IAssert<?> assertCommand)