Interface Node.DynamicTestExecutor
-
- Enclosing interface:
- Node<C extends EngineExecutionContext>
public static interface Node.DynamicTestExecutorExecutor for additional, dynamic test descriptors discovered during execution of aNode.The test descriptors will be executed by the same
HierarchicalTestExecutorthat executes the submitting node.This interface is not intended to be implemented by clients.
- See Also:
Node.execute(EngineExecutionContext, DynamicTestExecutor),HierarchicalTestExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidawaitFinished()Block until all dynamic test descriptors submitted to this executor are finished.voidexecute(TestDescriptor testDescriptor)Submit a dynamic test descriptor for immediate execution.
-
-
-
Method Detail
-
execute
void execute(TestDescriptor testDescriptor)
Submit a dynamic test descriptor for immediate execution.- Parameters:
testDescriptor- the test descriptor to be executed
-
awaitFinished
void awaitFinished() throws InterruptedExceptionBlock until all dynamic test descriptors submitted to this executor are finished.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.- Throws:
InterruptedException- if interrupted while waiting
-
-