| Package | Description |
|---|---|
| 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 java.util.List<Execution> |
Executions.executions |
| Modifier and Type | Method and Description |
|---|---|
static Execution |
Execution.finished(TestDescriptor testDescriptor,
java.time.Instant startInstant,
java.time.Instant endInstant,
TestExecutionResult executionResult)
Create a new instance of an
Execution that finished with the
provided TestExecutionResult. |
static Execution |
Execution.skipped(TestDescriptor testDescriptor,
java.time.Instant startInstant,
java.time.Instant endInstant,
java.lang.String skipReason)
Create a new instance of an
Execution that was skipped with the
provided skipReason. |
| Modifier and Type | Method and Description |
|---|---|
org.assertj.core.api.ListAssert<Execution> |
Executions.assertThatExecutions()
Shortcut for
org.assertj.core.api.Assertions.assertThat(executions.list()). |
private static java.util.List<Execution> |
Executions.createExecutions(java.util.List<Event> events)
Create executions from the supplied list of events.
|
private java.util.stream.Stream<Execution> |
Executions.executionsByTerminationInfo(java.util.function.Predicate<TerminationInfo> predicate) |
java.util.stream.Stream<Execution> |
Executions.filter(java.util.function.Predicate<? super Execution> predicate)
Shortcut for
executions.stream().filter(predicate). |
private java.util.stream.Stream<Execution> |
Executions.finishedExecutions() |
private java.util.stream.Stream<Execution> |
Executions.finishedExecutionsByStatus(TestExecutionResult.Status status) |
java.util.List<Execution> |
Executions.list()
Get the executions as a
List. |
java.util.stream.Stream<Execution> |
Executions.stream()
Get the executions as a
Stream. |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<Execution> |
Executions.filter(java.util.function.Predicate<? super Execution> predicate)
Shortcut for
executions.stream().filter(predicate). |
<R> java.util.stream.Stream<R> |
Executions.map(java.util.function.Function<? super Execution,? extends R> mapper)
Shortcut for
executions.stream().map(mapper). |
| Constructor and Description |
|---|
Executions(java.util.stream.Stream<Execution> executions,
java.lang.String category) |