| Package | Description |
|---|---|
| org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
| org.junit.jupiter.engine.execution |
Internal classes for test execution within the JUnit Jupiter test engine.
|
| org.junit.platform.engine |
Public API for test engines.
|
| org.junit.platform.engine.support.hierarchical |
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction. |
| org.junit.platform.launcher.core |
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder. |
| org.junit.platform.testkit.engine |
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform. |
| org.junit.vintage.engine |
Core package for the JUnit Vintage test engine.
|
| org.junit.vintage.engine.execution |
Internal classes for test execution within the JUnit Vintage test engine.
|
| Modifier and Type | Field and Description |
|---|---|
private EngineExecutionListener |
AbstractExtensionContext.engineExecutionListener |
| Modifier and Type | Field and Description |
|---|---|
(package private) EngineExecutionListener |
JupiterEngineExecutionContext.State.executionListener |
| Modifier and Type | Method and Description |
|---|---|
EngineExecutionListener |
JupiterEngineExecutionContext.getExecutionListener() |
| Constructor and Description |
|---|
JupiterEngineExecutionContext(EngineExecutionListener executionListener,
JupiterConfiguration configuration) |
State(EngineExecutionListener executionListener,
JupiterConfiguration configuration) |
| Modifier and Type | Field and Description |
|---|---|
private EngineExecutionListener |
ExecutionRequest.engineExecutionListener |
static EngineExecutionListener |
EngineExecutionListener.NOOP
No-op implementation of
EngineExecutionListener |
| Modifier and Type | Method and Description |
|---|---|
EngineExecutionListener |
ExecutionRequest.getEngineExecutionListener()
Get the
EngineExecutionListener to be notified of test execution
events. |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionRequest |
ExecutionRequest.create(TestDescriptor rootTestDescriptor,
EngineExecutionListener engineExecutionListener,
ConfigurationParameters configurationParameters)
Factory for creating an execution request.
|
| Constructor and Description |
|---|
ExecutionRequest(TestDescriptor rootTestDescriptor,
EngineExecutionListener engineExecutionListener,
ConfigurationParameters configurationParameters) |
| Modifier and Type | Field and Description |
|---|---|
private EngineExecutionListener |
NodeTestTaskContext.listener |
| Modifier and Type | Method and Description |
|---|---|
(package private) EngineExecutionListener |
NodeTestTaskContext.getListener() |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<?> |
Node.DynamicTestExecutor.execute(TestDescriptor testDescriptor,
EngineExecutionListener executionListener)
Submit a dynamic test descriptor for immediate execution with a
custom, potentially no-op, execution listener.
|
java.util.concurrent.Future<?> |
NodeTestTask.DefaultDynamicTestExecutor.execute(TestDescriptor testDescriptor,
EngineExecutionListener executionListener) |
(package private) NodeTestTaskContext |
NodeTestTaskContext.withListener(EngineExecutionListener listener) |
| Constructor and Description |
|---|
NodeTestTaskContext(EngineExecutionListener listener,
HierarchicalTestExecutorService executorService,
ThrowableCollector.Factory throwableCollectorFactory,
NodeExecutionAdvisor executionAdvisor) |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
CompositeEngineExecutionListener |
(package private) class |
DelegatingEngineExecutionListener |
(package private) class |
ExecutionListenerAdapter
An
ExecutionListenerAdapter adapts a TestPlan and a corresponding
TestExecutionListener to the EngineExecutionListener API. |
(package private) class |
OutcomeDelayingEngineExecutionListener
Delays reporting of engine skipped/finished events so that exceptions thrown
by engines can be reported to listeners.
|
(package private) class |
StackTracePruningEngineExecutionListener
Prunes the stack trace in case of a failed event.
|
| Modifier and Type | Field and Description |
|---|---|
private EngineExecutionListener |
DelegatingEngineExecutionListener.delegate |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<EngineExecutionListener> |
CompositeEngineExecutionListener.engineExecutionListeners |
| Modifier and Type | Method and Description |
|---|---|
private static <T extends EngineExecutionListener> |
CompositeEngineExecutionListener.notifyEach(java.util.List<T> listeners,
IterationOrder iterationOrder,
java.util.function.Consumer<T> consumer,
java.util.function.Supplier<java.lang.String> description) |
| Modifier and Type | Method and Description |
|---|---|
private static EngineExecutionListener |
EngineExecutionOrchestrator.buildEngineExecutionListener(EngineExecutionListener parentEngineExecutionListener,
TestExecutionListener testExecutionListener,
TestPlan testPlan) |
private static EngineExecutionListener |
EngineExecutionOrchestrator.selectExecutionListener(EngineExecutionListener engineExecutionListener,
ConfigurationParameters configurationParameters) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static ListenerRegistry<EngineExecutionListener> |
ListenerRegistry.forEngineExecutionListeners() |
| Modifier and Type | Method and Description |
|---|---|
private static EngineExecutionListener |
EngineExecutionOrchestrator.buildEngineExecutionListener(EngineExecutionListener parentEngineExecutionListener,
TestExecutionListener testExecutionListener,
TestPlan testPlan) |
private void |
EngineExecutionOrchestrator.execute(InternalTestPlan internalTestPlan,
EngineExecutionListener parentEngineExecutionListener,
TestExecutionListener testExecutionListener) |
void |
EngineExecutionOrchestrator.execute(LauncherDiscoveryResult discoveryResult,
EngineExecutionListener engineExecutionListener)
Executes tests for the supplied discovery results and notifies the supplied listener of execution events.
|
void |
EngineExecutionOrchestrator.execute(LauncherDiscoveryResult discoveryResult,
EngineExecutionListener engineExecutionListener,
TestExecutionListener testExecutionListener)
Executes tests for the supplied discoveryResult and notifies the supplied engineExecutionListener and
testExecutionListener of execution
events.
|
private void |
EngineExecutionOrchestrator.execute(TestDescriptor engineDescriptor,
EngineExecutionListener listener,
ConfigurationParameters configurationParameters,
TestEngine testEngine) |
private static EngineExecutionListener |
EngineExecutionOrchestrator.selectExecutionListener(EngineExecutionListener engineExecutionListener,
ConfigurationParameters configurationParameters) |
| Constructor and Description |
|---|
DelegatingEngineExecutionListener(EngineExecutionListener delegate) |
OutcomeDelayingEngineExecutionListener(EngineExecutionListener delegate,
TestDescriptor engineDescriptor) |
StackTracePruningEngineExecutionListener(EngineExecutionListener delegate) |
| Constructor and Description |
|---|
CompositeEngineExecutionListener(java.util.List<EngineExecutionListener> engineExecutionListeners) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutionRecorder
ExecutionRecorder is an EngineExecutionListener that records
data from every event that occurs during the engine execution lifecycle and
provides functionality for retrieving execution state via
EngineExecutionResults. |
| Modifier and Type | Method and Description |
|---|---|
private static void |
EngineTestKit.executeDirectly(TestEngine testEngine,
EngineDiscoveryRequest discoveryRequest,
EngineExecutionListener listener) |
private static void |
EngineTestKit.executeUsingLauncherOrchestration(TestEngine testEngine,
LauncherDiscoveryRequest discoveryRequest,
EngineExecutionListener listener) |
| Modifier and Type | Method and Description |
|---|---|
private void |
VintageTestEngine.executeAllChildren(VintageEngineDescriptor engineDescriptor,
EngineExecutionListener engineExecutionListener) |
| Modifier and Type | Field and Description |
|---|---|
private EngineExecutionListener |
RunnerExecutor.engineExecutionListener |
private EngineExecutionListener |
RunListenerAdapter.listener |
| Constructor and Description |
|---|
RunListenerAdapter(TestRun testRun,
EngineExecutionListener listener,
TestSourceProvider testSourceProvider) |
RunnerExecutor(EngineExecutionListener engineExecutionListener) |