@API(value=Internal) public class TestTemplateTestDescriptor extends JupiterTestDescriptor
TestDescriptor for @TestTemplate
methods.| Constructor and Description |
|---|
TestTemplateTestDescriptor(org.junit.platform.engine.UniqueId uniqueId,
java.lang.Class<?> testClass,
java.lang.reflect.Method templateMethod) |
| Modifier and Type | Method and Description |
|---|---|
JupiterEngineExecutionContext |
execute(JupiterEngineExecutionContext context,
org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor dynamicTestExecutor) |
java.lang.String |
getLegacyReportingName() |
java.util.Set<org.junit.platform.engine.TestTag> |
getTags() |
java.lang.Class<?> |
getTestClass() |
java.lang.reflect.Method |
getTestMethod() |
org.junit.platform.engine.TestDescriptor.Type |
getType() |
boolean |
hasTests() |
boolean |
isLeaf() |
JupiterEngineExecutionContext |
prepare(JupiterEngineExecutionContext context) |
org.junit.platform.engine.support.hierarchical.Node.SkipResult |
shouldBeSkipped(JupiterEngineExecutionContext context) |
determineDisplayName, executeAndMaskThrowable, getTags, populateNewExtensionRegistryFromExtendWith, shouldContainerBeSkipped, shouldTestBeSkippedaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic TestTemplateTestDescriptor(org.junit.platform.engine.UniqueId uniqueId,
java.lang.Class<?> testClass,
java.lang.reflect.Method templateMethod)
public org.junit.platform.engine.TestDescriptor.Type getType()
public boolean hasTests()
public boolean isLeaf()
isLeaf in interface org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>isLeaf in class JupiterTestDescriptorpublic JupiterEngineExecutionContext prepare(JupiterEngineExecutionContext context) throws java.lang.Exception
java.lang.Exceptionpublic org.junit.platform.engine.support.hierarchical.Node.SkipResult shouldBeSkipped(JupiterEngineExecutionContext context) throws java.lang.Exception
java.lang.Exceptionpublic JupiterEngineExecutionContext execute(JupiterEngineExecutionContext context, org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor dynamicTestExecutor) throws java.lang.Exception
java.lang.Exceptionpublic final java.util.Set<org.junit.platform.engine.TestTag> getTags()
getTags in interface org.junit.platform.engine.TestDescriptorgetTags in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptorpublic final java.lang.Class<?> getTestClass()
public final java.lang.reflect.Method getTestMethod()
public java.lang.String getLegacyReportingName()