Module org.junit.platform.engine
Class NodeTestTaskContext
- java.lang.Object
-
- org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
-
class NodeTestTaskContext extends java.lang.Object
- Since:
- 1.3.1
-
-
Field Summary
Fields Modifier and Type Field Description private NodeExecutionAdvisor
executionAdvisor
private HierarchicalTestExecutorService
executorService
private EngineExecutionListener
listener
private ThrowableCollector.Factory
throwableCollectorFactory
-
Constructor Summary
Constructors Constructor Description NodeTestTaskContext(EngineExecutionListener listener, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory, NodeExecutionAdvisor executionAdvisor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) NodeExecutionAdvisor
getExecutionAdvisor()
(package private) HierarchicalTestExecutorService
getExecutorService()
(package private) EngineExecutionListener
getListener()
(package private) ThrowableCollector.Factory
getThrowableCollectorFactory()
(package private) NodeTestTaskContext
withListener(EngineExecutionListener listener)
-
-
-
Field Detail
-
listener
private final EngineExecutionListener listener
-
executorService
private final HierarchicalTestExecutorService executorService
-
throwableCollectorFactory
private final ThrowableCollector.Factory throwableCollectorFactory
-
executionAdvisor
private final NodeExecutionAdvisor executionAdvisor
-
-
Constructor Detail
-
NodeTestTaskContext
public NodeTestTaskContext(EngineExecutionListener listener, HierarchicalTestExecutorService executorService, ThrowableCollector.Factory throwableCollectorFactory, NodeExecutionAdvisor executionAdvisor)
-
-
Method Detail
-
withListener
NodeTestTaskContext withListener(EngineExecutionListener listener)
-
getListener
EngineExecutionListener getListener()
-
getExecutorService
HierarchicalTestExecutorService getExecutorService()
-
getThrowableCollectorFactory
ThrowableCollector.Factory getThrowableCollectorFactory()
-
getExecutionAdvisor
NodeExecutionAdvisor getExecutionAdvisor()
-
-