EngineExecutionContext used by this engine
TestEngine implementations that wish
to organize test suites hierarchically based on the Node abstraction.
Node
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract C | Returns: the initial context that will be passed to nodes in the hierarchythe request about to be executed request)Create the initial execution context for executing the supplied request. |
| protected HierarchicalTestExecutorService | createExecutorService(ExecutionRequest
the request about to be executed request)Create the executor service to use for executing the supplied request. |
| protected ThrowableCollector. | createThrowableCollectorFactory(ExecutionRequest
the request about to be executed request)Create the factory for creating
|
| public final void | execute(ExecutionRequest request)
Implements org. Create an executor
service; create an initial execution
context; execute the behavior of all nodes in the
hierarchy starting with the supplied |
| HierarchicalTestEngine | back to summary |
|---|---|
| public HierarchicalTestEngine() | |
| createExecutionContext | back to summary |
|---|---|
| protected abstract C createExecutionContext(ExecutionRequest request) Create the initial execution context for executing the supplied request.
| |
| createExecutorService | back to summary |
|---|---|
| protected HierarchicalTestExecutorService createExecutorService(ExecutionRequest request) Create the executor service to use for executing the supplied request. An engine may use the information in the supplied request such as the contained configuration parameters to decide what kind of service to return or how to configure it. By default, this method returns an instance of
| |
| createThrowableCollectorFactory | back to summary |
|---|---|
| protected ThrowableCollector. Create the factory for creating
An engine may use the information in the supplied request such as the contained configuration parameters to decide what kind of factory to return or how to configure it. By default, this method returns a factory that always creates instances of
| |
| execute | back to summary |
|---|---|
| public final void execute(ExecutionRequest request) Implements org. Create an executor
service; create an initial execution
context; execute the behavior of all nodes in the
hierarchy starting with the supplied Supports cancellation via the
| |