| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Node. | |
| private @Nullable C | |
| private final Runnable | |
| private static final Logger | |
| private final Node | |
| private static final Runnable | |
| private @Nullable C | |
| private @Nullable Node. | |
| private boolean | |
| private final NodeTestTaskContext | |
| private final TestDescriptor | |
| private @Nullable ThrowableCollector |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Node. | |
| private void | |
| public void | execute()
Implements org. Execute this task. |
| private void | |
| public Node. | getExecutionMode()
Implements org. Get the execution mode of this task. |
| public ResourceLock | getResourceLock()
Implements org. Get the resource lock of this task. |
| public TestDescriptor | getTestDescriptor()
Overrides default org. Get the test descriptor of this task. |
| private void | |
| private void | |
| private C | |
| private Node. | |
| private ThrowableCollector | |
| pack-priv void | |
| public String |
| CANCELLED_SKIP_RESULT | back to summary |
|---|---|
| pack-priv static final Node. | |
| context | back to summary |
|---|---|
| private @Nullable C context | |
| finalizer | back to summary |
|---|---|
| private final Runnable finalizer | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| node | back to summary |
|---|---|
| private final Node<C> node | |
| NOOP | back to summary |
|---|---|
| private static final Runnable NOOP | |
| parentContext | back to summary |
|---|---|
| private @Nullable C parentContext | |
| skipResult | back to summary |
|---|---|
| private @Nullable Node. | |
| started | back to summary |
|---|---|
| private boolean started | |
| taskContext | back to summary |
|---|---|
| private final NodeTestTaskContext taskContext | |
| testDescriptor | back to summary |
|---|---|
| private final TestDescriptor testDescriptor | |
| throwableCollector | back to summary |
|---|---|
| private @Nullable ThrowableCollector throwableCollector | |
| NodeTestTask | back to summary |
|---|---|
| pack-priv NodeTestTask(NodeTestTaskContext taskContext, TestDescriptor testDescriptor) | |
| NodeTestTask | back to summary |
|---|---|
| pack-priv NodeTestTask(NodeTestTaskContext taskContext, TestDescriptor testDescriptor, Runnable finalizer) | |
| checkWhetherSkipped | back to summary |
|---|---|
| private Node. | |
| cleanUp | back to summary |
|---|---|
| private void cleanUp() | |
| execute | back to summary |
|---|---|
| public void execute() Implements org. Doc from org. Execute this task.
| |
| executeRecursively | back to summary |
|---|---|
| private void executeRecursively() | |
| getExecutionMode | back to summary |
|---|---|
| public Node. Implements org. Get the execution mode of this task.
| |
| getResourceLock | back to summary |
|---|---|
| public ResourceLock getResourceLock() Implements org. Get the resource lock of this task.
| |
| getTestDescriptor | back to summary |
|---|---|
| public TestDescriptor getTestDescriptor() Overrides default org. Get the test descriptor of this task.
| |
| prepare | back to summary |
|---|---|
| private void prepare() | |
| reportCompletion | back to summary |
|---|---|
| private void reportCompletion() | |
| requiredContext | back to summary |
|---|---|
| private C requiredContext() | |
| requiredSkipResult | back to summary |
|---|---|
| private Node. | |
| requiredThrowableCollector | back to summary |
|---|---|
| private ThrowableCollector requiredThrowableCollector() | |
| setParentContext | back to summary |
|---|---|
| pack-priv void setParentContext(@Nullable C parentContext) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | awaitFinished()
Implements org. Block until all dynamic test descriptors submitted to this executor are finished. |
| public void | execute(TestDescriptor testDescriptor)
Implements org. Submit a dynamic test descriptor for immediate execution. |
| public Future | execute(TestDescriptor testDescriptor, EngineExecutionListener executionListener)
Implements org. Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener. |
| unfinishedTasks | back to summary |
|---|---|
| private final Map<UniqueId, NodeTestTask. | |
| DefaultDynamicTestExecutor | back to summary |
|---|---|
| private DefaultDynamicTestExecutor() | |
| awaitFinished | back to summary |
|---|---|
| public void awaitFinished() throws InterruptedException Implements org. Doc from org. Block until all dynamic test descriptors submitted to this executor are finished. This method is useful if the node needs to perform actions in its
| |
| execute | back to summary |
|---|---|
| public void execute(TestDescriptor testDescriptor) Implements org. Doc from org. Submit a dynamic test descriptor for immediate execution.
| |
| execute | back to summary |
|---|---|
| public Future Implements org. Doc from org. Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final NodeTestTask. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static NodeTestTask. | |
| public static NodeTestTask. |
| UNSCHEDULED | back to summary |
|---|---|
| public static final NodeTestTask. | |
| awaitFinished | back to summary |
|---|---|
| public void awaitFinished() throws CancellationException, ExecutionException, InterruptedException | |
| scheduled | back to summary |
|---|---|
| public static NodeTestTask. | |
| unscheduled | back to summary |
|---|---|
| public static NodeTestTask. | |