@API(status=INTERNAL,
since="5.0")
public class TestTemplateInvocationTestDescriptor
extends TestMethodTestDescriptor
TestDescriptor for a @TestTemplate
invocation.Node.DynamicTestExecutor, Node.SkipResultTestDescriptor.Type, TestDescriptor.Visitor| Modifier and Type | Field and Description |
|---|---|
private TestTemplateInvocationContext |
invocationContext |
static java.lang.String |
SEGMENT_TYPE |
children| Constructor and Description |
|---|
TestTemplateInvocationTestDescriptor(UniqueId uniqueId,
java.lang.Class<?> testClass,
java.lang.reflect.Method templateMethod,
TestTemplateInvocationContext invocationContext,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(JupiterEngineExecutionContext context)
Execute the after behavior of this node.
|
protected ExtensionRegistry |
populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
execute, getType, invokeTestMethod, preparegetLegacyReportingName, getTags, getTestClass, getTestMethoddetermineDisplayName, executeAndMaskThrowable, getTags, populateNewExtensionRegistryFromExtendWith, shouldBeSkippedaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, containsTests, getDescendants, isContainer, isRoot, isTest, mayRegisterTests, prunepublic static final java.lang.String SEGMENT_TYPE
private TestTemplateInvocationContext invocationContext
TestTemplateInvocationTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method templateMethod, TestTemplateInvocationContext invocationContext, int index)
protected ExtensionRegistry populateNewExtensionRegistry(JupiterEngineExecutionContext context)
populateNewExtensionRegistry in class TestMethodTestDescriptorpublic void after(JupiterEngineExecutionContext context)
NodeThis method will be called once after execution of this node.
context - the context to execute inNode.before(C),
Node.execute(C, org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor)