Class HierarchicalTestExecutor<C extends EngineExecutionContext>
- java.lang.Object
-
- org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor<C>
-
- Type Parameters:
C- the type ofEngineExecutionContextused by theHierarchicalTestEngine
class HierarchicalTestExecutor<C extends EngineExecutionContext> extends java.lang.ObjectImplementation core of allTestEnginesthat wish to use theNodeabstraction as the driving principle for structuring and executing test suites.A
HierarchicalTestExecutoris instantiated by a concrete implementation ofHierarchicalTestEngineand takes care of executing nodes in the hierarchy in the appropriate order as well as firing the necessary events in theEngineExecutionListener.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private HierarchicalTestExecutorServiceexecutorServiceprivate ExecutionRequestrequestprivate CrootContextprivate ThrowableCollector.FactorythrowableCollectorFactory
-
Constructor Summary
Constructors Constructor Description HierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.concurrent.Future<java.lang.Void>execute()
-
-
-
Field Detail
-
request
private final ExecutionRequest request
-
rootContext
private final C extends EngineExecutionContext rootContext
-
executorService
private final HierarchicalTestExecutorService executorService
-
throwableCollectorFactory
private final ThrowableCollector.Factory throwableCollectorFactory
-
-
Constructor Detail
-
HierarchicalTestExecutor
HierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory)
-
-