@API(status=INTERNAL,
since="5.0")
public class TestFactoryTestDescriptor
extends TestMethodTestDescriptor
TestDescriptor for
@TestFactory methods.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DYNAMIC_CONTAINER_SEGMENT_TYPE |
static java.lang.String |
DYNAMIC_TEST_SEGMENT_TYPE |
| Constructor and Description |
|---|
TestFactoryTestDescriptor(org.junit.platform.engine.UniqueId uniqueId,
java.lang.Class<?> testClass,
java.lang.reflect.Method testMethod) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected void |
invokeTestMethod(JupiterEngineExecutionContext context,
org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor dynamicTestExecutor) |
boolean |
mayRegisterTests() |
execute, populateNewExtensionRegistry, preparedetermineDisplayName, executeAndMaskThrowable, getTags, populateNewExtensionRegistryFromExtendWith, shouldBeSkippedaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toStringpublic static final java.lang.String DYNAMIC_CONTAINER_SEGMENT_TYPE
public static final java.lang.String DYNAMIC_TEST_SEGMENT_TYPE
public TestFactoryTestDescriptor(org.junit.platform.engine.UniqueId uniqueId,
java.lang.Class<?> testClass,
java.lang.reflect.Method testMethod)
public org.junit.platform.engine.TestDescriptor.Type getType()
getType in interface org.junit.platform.engine.TestDescriptorgetType in class TestMethodTestDescriptorpublic boolean mayRegisterTests()
protected void invokeTestMethod(JupiterEngineExecutionContext context, org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor dynamicTestExecutor)
invokeTestMethod in class TestMethodTestDescriptorpublic 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()