Class TestFactoryTestDescriptor
- java.lang.Object
-
- org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
- org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
-
- org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
- org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
- All Implemented Interfaces:
Filterable
@API(status=INTERNAL, since="5.0") public class TestFactoryTestDescriptor extends TestMethodTestDescriptor implements FilterableTestDescriptorfor@TestFactorymethods.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDYNAMIC_CONTAINER_SEGMENT_TYPEstatic java.lang.StringDYNAMIC_TEST_SEGMENT_TYPE
-
Constructor Summary
Constructors Constructor Description TestFactoryTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicDescendantFiltergetDynamicDescendantFilter()java.lang.StringgetLegacyReportingName()java.util.Set<org.junit.platform.engine.TestTag>getTags()java.lang.Class<?>getTestClass()java.lang.reflect.MethodgetTestMethod()org.junit.platform.engine.TestDescriptor.TypegetType()protected voidinvokeTestMethod(JupiterEngineExecutionContext context, org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor dynamicTestExecutor)booleanmayRegisterTests()-
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
-
Methods inherited from class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
cleanUp, determineDisplayName, executeAndMaskThrowable, getTags, shouldBeSkipped
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.junit.platform.engine.TestDescriptor
accept, containsTests, getDescendants, isContainer, isRoot, isTest, prune
-
Methods inherited from class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
execute, populateNewExtensionRegistry, prepare
-
-
-
-
Field Detail
-
DYNAMIC_CONTAINER_SEGMENT_TYPE
public static final java.lang.String DYNAMIC_CONTAINER_SEGMENT_TYPE
- See Also:
- Constant Field Values
-
DYNAMIC_TEST_SEGMENT_TYPE
public static final java.lang.String DYNAMIC_TEST_SEGMENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDynamicDescendantFilter
public DynamicDescendantFilter getDynamicDescendantFilter()
- Specified by:
getDynamicDescendantFilterin interfaceFilterable
-
getType
public org.junit.platform.engine.TestDescriptor.Type getType()
- Overrides:
getTypein classTestMethodTestDescriptor
-
mayRegisterTests
public boolean mayRegisterTests()
-
invokeTestMethod
protected void invokeTestMethod(JupiterEngineExecutionContext context, org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor dynamicTestExecutor)
- Overrides:
invokeTestMethodin classTestMethodTestDescriptor
-
getTags
public final java.util.Set<org.junit.platform.engine.TestTag> getTags()
- Overrides:
getTagsin classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
getTestClass
public final java.lang.Class<?> getTestClass()
-
getTestMethod
public final java.lang.reflect.Method getTestMethod()
-
getLegacyReportingName
public java.lang.String getLegacyReportingName()
-
-