Class TestFactoryTestDescriptor

  • All Implemented Interfaces:
    Filterable


    @API(status=INTERNAL,
         since="5.0")
    public class TestFactoryTestDescriptor
    extends TestMethodTestDescriptor
    implements Filterable
    TestDescriptor for @TestFactory methods.
    Since:
    5.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.junit.platform.engine.support.hierarchical.Node

        org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor, org.junit.platform.engine.support.hierarchical.Node.SkipResult
      • Nested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor

        org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor
    • Constructor Summary

      Constructors 
      Constructor Description
      TestFactoryTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId, java.lang.Class<?> testClass, java.lang.reflect.Method testMethod)  
    • 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
    • Constructor Detail

      • TestFactoryTestDescriptor

        public TestFactoryTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId,
                                         java.lang.Class<?> testClass,
                                         java.lang.reflect.Method testMethod)
    • Method Detail

      • mayRegisterTests

        public boolean mayRegisterTests​()
      • getTags

        public final java.util.Set<org.junit.platform.engine.TestTag> getTags​()
        Overrides:
        getTags in class org.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​()