Node<JupiterEngineExecutionContext>, TestDescriptor@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 | Description |
|---|---|---|
static java.lang.String |
SEGMENT_TYPE |
children| Modifier and Type | Method | Description |
|---|---|---|
void |
after(JupiterEngineExecutionContext context) |
Execute the after behavior of this node.
|
java.lang.String |
getLegacyReportingName() |
Get the name of this descriptor in a format that is suitable for legacy
reporting infrastructure — for example, for reporting systems built
on the Ant-based XML reporting format for JUnit 4.
|
java.util.Set<TestTag> |
getTags() |
Get the set of tags associated with this descriptor.
|
java.lang.Class<?> |
getTestClass() |
|
java.lang.reflect.Method |
getTestMethod() |
|
protected ExtensionRegistry |
populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toStringcleanUp, determineDisplayName, executeAndMaskThrowable, getTags, shouldBeSkippedclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, containsTests, getDescendants, isContainer, isRoot, isTest, mayRegisterTests, pruneexecute, getType, invokeTestMethod, preparepublic static final java.lang.String SEGMENT_TYPE
public java.lang.String getLegacyReportingName()
TestDescriptorThe default implementation simply delegates to TestDescriptor.getDisplayName().
getLegacyReportingName in interface TestDescriptornull or blankprotected 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)public final java.util.Set<TestTag> getTags()
TestDescriptorgetTags in interface TestDescriptorgetTags in class AbstractTestDescriptornull
but potentially emptyTestTagpublic final java.lang.Class<?> getTestClass()
public final java.lang.reflect.Method getTestMethod()