Interface HierarchicalTestExecutorService.TestTask
- Enclosing interface:
HierarchicalTestExecutorService
public static interface HierarchicalTestExecutorService.TestTask
An executable task that represents a single test or container.
- Since:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute this task.Get the execution mode of this task.Get the resource lock of this task.default TestDescriptorGet the test descriptor of this task.
-
Method Details
-
getExecutionMode
Node.ExecutionMode getExecutionMode()Get the execution mode of this task. -
getResourceLock
ResourceLock getResourceLock()Get the resource lock of this task. -
getTestDescriptor
Get the test descriptor of this task.- Throws:
UnsupportedOperationException- if not supported for this TestTask implementation- Since:
- 6.0
-
execute
void execute()Execute this task.
-