Top Description Fields Constructors Methods
org.junit.platform.engine.support.hierarchical

pack-priv Class HierarchicalTestExecutor<C extends EngineExecutionContext>

extends Object
Class Inheritance
Type Parameters
<C>
the type of EngineExecutionContext used by the HierarchicalTestEngine
Imports
java.util.concurrent.Future, org.junit.platform.engine.EngineExecutionListener, .ExecutionRequest, .TestDescriptor, .TestEngine

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

Modifier and TypeField and Description
private final HierarchicalTestExecutorService
private final ExecutionRequest
private final C
private final ThrowableCollector.Factory

Constructor Summary

AccessConstructor and Description
pack-priv
HierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory)

Method Summary

Modifier and TypeMethod and Description
pack-priv Future<Void>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

executorServiceback to summary
private final HierarchicalTestExecutorService executorService
requestback to summary
private final ExecutionRequest request
rootContextback to summary
private final C rootContext
throwableCollectorFactoryback to summary
private final ThrowableCollector.Factory throwableCollectorFactory

Constructor Detail

HierarchicalTestExecutorback to summary
pack-priv HierarchicalTestExecutor(ExecutionRequest request, C rootContext, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory)

Method Detail

executeback to summary
pack-priv Future<Void> execute()