Uses of Interface
org.junit.platform.engine.EngineExecutionListener
-
Packages that use EngineExecutionListener 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 anyTestEngine
that wishes to organize test suites hierarchically based on theNode
abstraction.org.junit.platform.launcher.core Core support classes for theLauncher
including theLauncherFactory
and theLauncherDiscoveryRequestBuilder
.org.junit.platform.testkit.engine Test Kit for testing the execution of aTestEngine
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. -
-
Uses of EngineExecutionListener in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor declared as EngineExecutionListener Modifier and Type Field Description private EngineExecutionListener
AbstractExtensionContext. engineExecutionListener
-
Uses of EngineExecutionListener in org.junit.jupiter.engine.execution
Fields in org.junit.jupiter.engine.execution declared as EngineExecutionListener Modifier and Type Field Description (package private) EngineExecutionListener
JupiterEngineExecutionContext.State. executionListener
Methods in org.junit.jupiter.engine.execution that return EngineExecutionListener Modifier and Type Method Description EngineExecutionListener
JupiterEngineExecutionContext. getExecutionListener()
Constructors in org.junit.jupiter.engine.execution with parameters of type EngineExecutionListener Constructor Description JupiterEngineExecutionContext(EngineExecutionListener executionListener, JupiterConfiguration configuration)
State(EngineExecutionListener executionListener, JupiterConfiguration configuration)
-
Uses of EngineExecutionListener in org.junit.platform.engine
Fields in org.junit.platform.engine declared as EngineExecutionListener Modifier and Type Field Description private EngineExecutionListener
ExecutionRequest. engineExecutionListener
static EngineExecutionListener
EngineExecutionListener. NOOP
No-op implementation ofEngineExecutionListener
Methods in org.junit.platform.engine that return EngineExecutionListener Modifier and Type Method Description EngineExecutionListener
ExecutionRequest. getEngineExecutionListener()
Get theEngineExecutionListener
to be notified of test execution events.Methods in org.junit.platform.engine with parameters of type EngineExecutionListener Modifier and Type Method Description static 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 EngineExecutionListener Constructor Description ExecutionRequest(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 EngineExecutionListener Modifier and Type Field Description private EngineExecutionListener
NodeTestTaskContext. listener
Methods in org.junit.platform.engine.support.hierarchical that return EngineExecutionListener Modifier and Type Method Description (package private) EngineExecutionListener
NodeTestTaskContext. getListener()
Methods in org.junit.platform.engine.support.hierarchical with parameters of type EngineExecutionListener Modifier and Type Method 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)
Constructors in org.junit.platform.engine.support.hierarchical with parameters of type EngineExecutionListener Constructor Description NodeTestTaskContext(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 EngineExecutionListener Modifier and Type Class Description (package private) class
CompositeEngineExecutionListener
(package private) class
DelegatingEngineExecutionListener
(package private) class
ExecutionListenerAdapter
AnExecutionListenerAdapter
adapts aTestPlan
and a correspondingTestExecutionListener
to theEngineExecutionListener
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.Fields in org.junit.platform.launcher.core declared as EngineExecutionListener Modifier and Type Field Description private EngineExecutionListener
DelegatingEngineExecutionListener. delegate
Fields in org.junit.platform.launcher.core with type parameters of type EngineExecutionListener Modifier and Type Field Description private java.util.List<EngineExecutionListener>
CompositeEngineExecutionListener. engineExecutionListeners
Methods in org.junit.platform.launcher.core with type parameters of type EngineExecutionListener Modifier and Type Method Description private static <T extends EngineExecutionListener>
voidCompositeEngineExecutionListener. notifyEach(java.util.List<T> listeners, IterationOrder iterationOrder, java.util.function.Consumer<T> consumer, java.util.function.Supplier<java.lang.String> description)
Methods in org.junit.platform.launcher.core that return EngineExecutionListener Modifier and Type Method Description private 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 EngineExecutionListener Modifier and Type Method Description (package private) static ListenerRegistry<EngineExecutionListener>
ListenerRegistry. forEngineExecutionListeners()
Methods in org.junit.platform.launcher.core with parameters of type EngineExecutionListener Modifier and Type Method Description private 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 EngineExecutionListener Constructor Description DelegatingEngineExecutionListener(EngineExecutionListener delegate)
OutcomeDelayingEngineExecutionListener(EngineExecutionListener delegate, TestDescriptor engineDescriptor)
StackTracePruningEngineExecutionListener(EngineExecutionListener delegate)
Constructor parameters in org.junit.platform.launcher.core with type arguments of type EngineExecutionListener Constructor Description CompositeEngineExecutionListener(java.util.List<EngineExecutionListener> engineExecutionListeners)
-
Uses of EngineExecutionListener in org.junit.platform.testkit.engine
Classes in org.junit.platform.testkit.engine that implement EngineExecutionListener Modifier and Type Class Description class
ExecutionRecorder
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 EngineExecutionListener Modifier and Type Method Description private 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 EngineExecutionListener Modifier and Type Method Description private 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 EngineExecutionListener Modifier and Type Field Description private EngineExecutionListener
RunnerExecutor. engineExecutionListener
private EngineExecutionListener
RunListenerAdapter. listener
Constructors in org.junit.vintage.engine.execution with parameters of type EngineExecutionListener Constructor Description RunListenerAdapter(TestRun testRun, EngineExecutionListener listener, TestSourceProvider testSourceProvider)
RunnerExecutor(EngineExecutionListener engineExecutionListener)
-