class DynamicTestTestDescriptor extends DynamicNodeTestDescriptor
TestDescriptor for a DynamicTest.Node.DynamicTestExecutor, Node.ExecutionMode, Node.Invocation<C extends EngineExecutionContext>, Node.SkipResultTestDescriptor.Type, TestDescriptor.Visitor| Modifier and Type | Field and Description |
|---|---|
private DynamicTest |
dynamicTest |
configurationchildren| Constructor and Description |
|---|
DynamicTestTestDescriptor(UniqueId uniqueId,
int index,
DynamicTest dynamicTest,
TestSource source,
JupiterConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
JupiterEngineExecutionContext |
execute(JupiterEngineExecutionContext context,
Node.DynamicTestExecutor dynamicTestExecutor)
Execute the behavior of this node.
|
TestDescriptor.Type |
getType()
Determine the
TestDescriptor.Type of this descriptor. |
getLegacyReportingName, prepare, shouldBeSkippedcleanUp, executeAndMaskThrowable, getDefaultChildExecutionMode, getExclusiveResourcesFromAnnotation, getExecutionMode, getExecutionModeFromAnnotation, getExplicitExecutionMode, getTags, toExecutionModeaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitafter, around, before, getExclusiveResources, nodeFinished, nodeSkippedaccept, containsTests, getDescendants, isContainer, isRoot, isTest, mayRegisterTests, pruneprivate final DynamicTest dynamicTest
DynamicTestTestDescriptor(UniqueId uniqueId, int index, DynamicTest dynamicTest, TestSource source, JupiterConfiguration configuration)
public TestDescriptor.Type getType()
TestDescriptorTestDescriptor.Type of this descriptor.null.TestDescriptor.isContainer(),
TestDescriptor.isTest()public JupiterEngineExecutionContext execute(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) throws java.lang.Exception
NodeContainers typically do not implement this method since the
HierarchicalTestEngine handles execution of their children.
The supplied dynamicTestExecutor may be used to submit
additional dynamic tests for immediate execution.
The default implementation returns the supplied context unmodified.
context - the context to execute indynamicTestExecutor - the executor to submit dynamic tests tojava.lang.ExceptionNode.before(C),
Node.after(C)