Uses of Interface
org.junit.platform.engine.EngineExecutionListener
Packages that use EngineExecutionListener
Package
Description
Test descriptors used within the JUnit Jupiter test engine.
Internal classes for test execution within the JUnit Jupiter test engine.
Public API for test engines.
Support classes and base implementation for any
TestEngine
that wishes to organize test suites
hierarchically based on the
Node
abstraction.Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.Core package for the JUnit Vintage test engine.
Internal classes for test execution within the JUnit Vintage test engine.
-
Uses of EngineExecutionListener in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor declared as EngineExecutionListenerModifier and TypeFieldDescriptionprivate final EngineExecutionListener
AbstractExtensionContext.engineExecutionListener
Constructors in org.junit.jupiter.engine.descriptor with parameters of type EngineExecutionListenerModifierConstructorDescription(package private)
AbstractExtensionContext
(org.junit.jupiter.api.extension.ExtensionContext parent, EngineExecutionListener engineExecutionListener, T testDescriptor, JupiterConfiguration configuration, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) (package private)
ClassExtensionContext
(org.junit.jupiter.api.extension.ExtensionContext parent, EngineExecutionListener engineExecutionListener, ClassBasedTestDescriptor testDescriptor, org.junit.jupiter.api.TestInstance.Lifecycle lifecycle, JupiterConfiguration configuration, ThrowableCollector throwableCollector, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) (package private)
ClassExtensionContext
(org.junit.jupiter.api.extension.ExtensionContext parent, EngineExecutionListener engineExecutionListener, ClassBasedTestDescriptor testDescriptor, JupiterConfiguration configuration, ThrowableCollector throwableCollector, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) Create a newClassExtensionContext
withTestInstance.Lifecycle.PER_METHOD
.(package private)
DynamicExtensionContext
(org.junit.jupiter.api.extension.ExtensionContext parent, EngineExecutionListener engineExecutionListener, DynamicNodeTestDescriptor testDescriptor, JupiterConfiguration configuration, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) (package private)
JupiterEngineExtensionContext
(EngineExecutionListener engineExecutionListener, JupiterEngineDescriptor testDescriptor, JupiterConfiguration configuration, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) (package private)
MethodExtensionContext
(org.junit.jupiter.api.extension.ExtensionContext parent, EngineExecutionListener engineExecutionListener, TestMethodTestDescriptor testDescriptor, JupiterConfiguration configuration, ThrowableCollector throwableCollector, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) (package private)
TestTemplateExtensionContext
(org.junit.jupiter.api.extension.ExtensionContext parent, EngineExecutionListener engineExecutionListener, TestTemplateTestDescriptor testDescriptor, JupiterConfiguration configuration, org.junit.jupiter.api.extension.TestInstances testInstances, org.junit.jupiter.api.extension.ExecutableInvoker executableInvoker) -
Uses of EngineExecutionListener in org.junit.jupiter.engine.execution
Fields in org.junit.jupiter.engine.execution declared as EngineExecutionListenerModifier and TypeFieldDescription(package private) final EngineExecutionListener
JupiterEngineExecutionContext.State.executionListener
Methods in org.junit.jupiter.engine.execution that return EngineExecutionListenerConstructors in org.junit.jupiter.engine.execution with parameters of type EngineExecutionListenerModifierConstructorDescriptionJupiterEngineExecutionContext
(EngineExecutionListener executionListener, JupiterConfiguration configuration) (package private)
State
(EngineExecutionListener executionListener, JupiterConfiguration configuration) -
Uses of EngineExecutionListener in org.junit.platform.engine
Fields in org.junit.platform.engine declared as EngineExecutionListenerModifier and TypeFieldDescriptionprivate final EngineExecutionListener
ExecutionRequest.engineExecutionListener
static final EngineExecutionListener
EngineExecutionListener.NOOP
No-op implementation ofEngineExecutionListener
Methods in org.junit.platform.engine that return EngineExecutionListenerModifier and TypeMethodDescriptionExecutionRequest.getEngineExecutionListener()
Get theEngineExecutionListener
to be notified of test execution events.Methods in org.junit.platform.engine with parameters of type EngineExecutionListenerModifier and TypeMethodDescriptionstatic ExecutionRequest
ExecutionRequest.create
(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) Factory for creating an execution request.Constructors in org.junit.platform.engine with parameters of type EngineExecutionListenerModifierConstructorDescriptionExecutionRequest
(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) -
Uses of EngineExecutionListener in org.junit.platform.engine.support.hierarchical
Fields in org.junit.platform.engine.support.hierarchical declared as EngineExecutionListenerModifier and TypeFieldDescriptionprivate final EngineExecutionListener
NodeTestTaskContext.listener
Methods in org.junit.platform.engine.support.hierarchical that return EngineExecutionListenerModifier and TypeMethodDescription(package private) EngineExecutionListener
NodeTestTaskContext.getListener()
Methods in org.junit.platform.engine.support.hierarchical with parameters of type EngineExecutionListenerModifier and TypeMethodDescriptionFuture
<?> Node.DynamicTestExecutor.execute
(TestDescriptor testDescriptor, EngineExecutionListener executionListener) Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.Future
<?> NodeTestTask.DefaultDynamicTestExecutor.execute
(TestDescriptor testDescriptor, EngineExecutionListener executionListener) (package private) NodeTestTaskContext
NodeTestTaskContext.withListener
(EngineExecutionListener listener) Constructors in org.junit.platform.engine.support.hierarchical with parameters of type EngineExecutionListenerModifierConstructorDescriptionNodeTestTaskContext
(EngineExecutionListener listener, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory, NodeExecutionAdvisor executionAdvisor) -
Uses of EngineExecutionListener in org.junit.platform.launcher.core
Classes in org.junit.platform.launcher.core that implement EngineExecutionListenerModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
AnExecutionListenerAdapter
adapts aTestPlan
and a correspondingTestExecutionListener
to theEngineExecutionListener
API.(package private) class
Delays reporting of engine skipped/finished events so that exceptions thrown by engines can be reported to listeners.(package private) class
Prunes the stack trace in case of a failed event.Fields in org.junit.platform.launcher.core declared as EngineExecutionListenerModifier and TypeFieldDescriptionprivate final EngineExecutionListener
DelegatingEngineExecutionListener.delegate
Fields in org.junit.platform.launcher.core with type parameters of type EngineExecutionListenerModifier and TypeFieldDescriptionprivate final List
<EngineExecutionListener> CompositeEngineExecutionListener.engineExecutionListeners
Methods in org.junit.platform.launcher.core with type parameters of type EngineExecutionListenerModifier and TypeMethodDescriptionprivate static <T extends EngineExecutionListener>
voidCompositeEngineExecutionListener.notifyEach
(List<T> listeners, IterationOrder iterationOrder, Consumer<T> consumer, Supplier<String> description) Methods in org.junit.platform.launcher.core that return EngineExecutionListenerModifier and TypeMethodDescriptionprivate static EngineExecutionListener
EngineExecutionOrchestrator.buildEngineExecutionListener
(EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, TestPlan testPlan) private static EngineExecutionListener
EngineExecutionOrchestrator.selectExecutionListener
(EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) Methods in org.junit.platform.launcher.core that return types with arguments of type EngineExecutionListenerModifier and TypeMethodDescription(package private) static ListenerRegistry
<EngineExecutionListener> ListenerRegistry.forEngineExecutionListeners()
Methods in org.junit.platform.launcher.core with parameters of type EngineExecutionListenerModifier and TypeMethodDescriptionprivate static EngineExecutionListener
EngineExecutionOrchestrator.buildEngineExecutionListener
(EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, TestPlan testPlan) private void
EngineExecutionOrchestrator.execute
(TestDescriptor engineDescriptor, EngineExecutionListener listener, ConfigurationParameters configurationParameters, TestEngine testEngine) 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 static EngineExecutionListener
EngineExecutionOrchestrator.selectExecutionListener
(EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) Constructors in org.junit.platform.launcher.core with parameters of type EngineExecutionListenerModifierConstructorDescription(package private)
(package private)
OutcomeDelayingEngineExecutionListener
(EngineExecutionListener delegate, TestDescriptor engineDescriptor) (package private)
Constructor parameters in org.junit.platform.launcher.core with type arguments of type EngineExecutionListenerModifierConstructorDescription(package private)
CompositeEngineExecutionListener
(List<EngineExecutionListener> engineExecutionListeners) -
Uses of EngineExecutionListener in org.junit.platform.testkit.engine
Classes in org.junit.platform.testkit.engine that implement EngineExecutionListenerModifier and TypeClassDescriptionclass
ExecutionRecorder
is anEngineExecutionListener
that records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state viaEngineExecutionResults
.Methods in org.junit.platform.testkit.engine with parameters of type EngineExecutionListenerModifier and TypeMethodDescriptionprivate static void
EngineTestKit.executeDirectly
(TestEngine testEngine, EngineDiscoveryRequest discoveryRequest, EngineExecutionListener listener) private static void
EngineTestKit.executeUsingLauncherOrchestration
(TestEngine testEngine, LauncherDiscoveryRequest discoveryRequest, EngineExecutionListener listener) -
Uses of EngineExecutionListener in org.junit.vintage.engine
Methods in org.junit.vintage.engine with parameters of type EngineExecutionListenerModifier and TypeMethodDescriptionprivate void
VintageTestEngine.executeAllChildren
(VintageEngineDescriptor engineDescriptor, EngineExecutionListener engineExecutionListener) -
Uses of EngineExecutionListener in org.junit.vintage.engine.execution
Fields in org.junit.vintage.engine.execution declared as EngineExecutionListenerModifier and TypeFieldDescriptionprivate final EngineExecutionListener
RunnerExecutor.engineExecutionListener
private final EngineExecutionListener
RunListenerAdapter.listener
Constructors in org.junit.vintage.engine.execution with parameters of type EngineExecutionListenerModifierConstructorDescription(package private)
RunListenerAdapter
(TestRun testRun, EngineExecutionListener listener, TestSourceProvider testSourceProvider) RunnerExecutor
(EngineExecutionListener engineExecutionListener)