private class NodeTestTask.DefaultDynamicTestExecutor extends java.lang.Object implements Node.DynamicTestExecutor
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.util.concurrent.Future<?>> |
futures |
Modifier | Constructor and Description |
---|---|
private |
DefaultDynamicTestExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
awaitFinished()
Block until all dynamic test descriptors submitted to this executor
are finished.
|
void |
execute(TestDescriptor dynamicTestDescriptor)
Submit a dynamic test descriptor for immediate execution.
|
public void execute(TestDescriptor dynamicTestDescriptor)
Node.DynamicTestExecutor
execute
in interface Node.DynamicTestExecutor
dynamicTestDescriptor
- the test descriptor to be executedpublic void awaitFinished() throws java.lang.InterruptedException
Node.DynamicTestExecutor
This method is useful if the node needs to perform actions in its
Node.execute(EngineExecutionContext, DynamicTestExecutor)
method
after all its dynamic children have finished.
awaitFinished
in interface Node.DynamicTestExecutor
java.lang.InterruptedException
- if interrupted while waiting