C
- the type of EngineExecutionContext
used by the
HierarchicalTestEngine
class HierarchicalTestExecutor<C extends EngineExecutionContext>
extends java.lang.Object
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
.
Modifier and Type | Field and Description |
---|---|
private HierarchicalTestExecutorService |
executorService |
private ExecutionRequest |
request |
private C |
rootContext |
private ThrowableCollector.Factory |
throwableCollectorFactory |
Constructor and Description |
---|
HierarchicalTestExecutor(ExecutionRequest request,
C rootContext,
HierarchicalTestExecutorService executorService,
ThrowableCollector.Factory throwableCollectorFactory) |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.concurrent.Future<java.lang.Void> |
execute() |
private final ExecutionRequest request
private final C extends EngineExecutionContext rootContext
private final HierarchicalTestExecutorService executorService
private final ThrowableCollector.Factory throwableCollectorFactory
HierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory)