Class ClassTestDescriptor

  • All Implemented Interfaces:
    org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>, org.junit.platform.engine.TestDescriptor

    @API(status=INTERNAL,
         since="5.0")
    public class ClassTestDescriptor
    extends ClassBasedTestDescriptor
    TestDescriptor for tests based on Java classes.

    Default Display Names

    The default display name for a top-level or nested static test class is the fully qualified name of the class with the package name and leading dot (".") removed.

    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.ExecutionMode, org.junit.platform.engine.support.hierarchical.Node.Invocation<C extends org.junit.platform.engine.support.hierarchical.EngineExecutionContext>, 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SEGMENT_TYPE  
      • Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        children
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId, java.lang.Class<?> testClass, JupiterConfiguration configuration)  
    • Constructor Detail

      • ClassTestDescriptor

        public ClassTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId,
                                   java.lang.Class<?> testClass,
                                   JupiterConfiguration configuration)