Module org.junit.platform.engine
Class HierarchicalTestExecutor<C extends EngineExecutionContext>
java.lang.Object
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor<C>
- Type Parameters:
C- the type ofEngineExecutionContextused by theHierarchicalTestEngine
Implementation core of all
TestEngines that wish to
use the Node abstraction as the driving principle for structuring
and executing test suites.
A HierarchicalTestExecutor is instantiated by a concrete
implementation of HierarchicalTestEngine and takes care of
executing nodes in the hierarchy in the appropriate order as well as
firing the necessary events in the EngineExecutionListener.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HierarchicalTestExecutorServiceprivate final ExecutionRequestprivate final Cprivate final ThrowableCollector.Factory -
Constructor Summary
ConstructorsConstructorDescriptionHierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory) -
Method Summary
-
Field Details
-
request
-
rootContext
-
executorService
-
throwableCollectorFactory
-
-
Constructor Details
-
HierarchicalTestExecutor
HierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory)
-
-
Method Details
-
execute
-