| Package | Description |
|---|---|
| org.junit.platform.engine |
Public API for test engines.
|
| org.junit.platform.testkit.engine |
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform. |
| Modifier and Type | Field and Description |
|---|---|
private TestExecutionResult.Status |
TestExecutionResult.status |
| Modifier and Type | Method and Description |
|---|---|
TestExecutionResult.Status |
TestExecutionResult.getStatus()
Get the status of this result.
|
static TestExecutionResult.Status |
TestExecutionResult.Status.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestExecutionResult.Status[] |
TestExecutionResult.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
TestExecutionResult(TestExecutionResult.Status status,
java.lang.Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.stream.Stream<Event> |
Events.finishedEventsByStatus(TestExecutionResult.Status status) |
private java.util.stream.Stream<Execution> |
Executions.finishedExecutionsByStatus(TestExecutionResult.Status status) |
private static org.assertj.core.api.Condition<Event> |
EventConditions.finishedWithCause(TestExecutionResult.Status expectedStatus,
org.assertj.core.api.Condition<java.lang.Throwable>... conditions) |
static org.assertj.core.api.Condition<TestExecutionResult> |
TestExecutionResultConditions.status(TestExecutionResult.Status expectedStatus)
Create a new
Condition that matches if and only if a
TestExecutionResult's status is equal to the supplied Status. |