@API(value=Internal) public class TestTemplateInvocationTestDescriptor extends MethodTestDescriptor
TestDescriptor
for a @TestTemplate
invocation.Node.DynamicTestExecutor, Node.SkipResult
TestDescriptor.Type, TestDescriptor.Visitor
Modifier and Type | Field and Description |
---|---|
static String |
SEGMENT_TYPE |
Modifier and Type | Method and Description |
---|---|
void |
after(JupiterEngineExecutionContext context)
Execute the after behavior of this node.
|
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.
|
Set<TestTag> |
getTags()
Get the set of tags associated with this descriptor.
|
Class<?> |
getTestClass() |
Method |
getTestMethod() |
protected ExtensionRegistry |
populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
execute, getType, invokeTestMethod, prepare, shouldBeSkipped
determineDisplayName, executeAndMaskThrowable, getTags, isLeaf, populateNewExtensionRegistryFromExtendWith, shouldContainerBeSkipped, shouldTestBeSkipped
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
before, execute
accept, getDescendants, hasTests, isContainer, isRoot, isTest, prune, pruneTree
public static final String SEGMENT_TYPE
protected ExtensionRegistry populateNewExtensionRegistry(JupiterEngineExecutionContext context)
populateNewExtensionRegistry
in class MethodTestDescriptor
public void after(JupiterEngineExecutionContext context)
Node
This 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 Set<TestTag> getTags()
TestDescriptor
getTags
in interface TestDescriptor
getTags
in class AbstractTestDescriptor
null
but potentially emptyTestTag
public final Class<?> getTestClass()
public final Method getTestMethod()
public String getLegacyReportingName()
TestDescriptor
The default implementation simply delegates to TestDescriptor.getDisplayName()
.
null
or blank