Class ClassDescriptor

java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.support.testng.engine.ClassDescriptor
All Implemented Interfaces:
org.junit.platform.engine.TestDescriptor

class ClassDescriptor extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
  • Field Details

  • Constructor Details

    • ClassDescriptor

      ClassDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> testClass, Set<org.junit.platform.engine.TestTag> tags)
  • Method Details

    • determineDisplayName

      private static String determineDisplayName(Class<?> testClass)
    • getLegacyReportingName

      public String getLegacyReportingName()
    • getTestClass

      Class<?> getTestClass()
    • getType

      public org.junit.platform.engine.TestDescriptor.Type getType()
    • getTags

      public Set<org.junit.platform.engine.TestTag> getTags()
      Specified by:
      getTags in interface org.junit.platform.engine.TestDescriptor
      Overrides:
      getTags in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
    • addChild

      public void addChild(org.junit.platform.engine.TestDescriptor child)
      Specified by:
      addChild in interface org.junit.platform.engine.TestDescriptor
      Overrides:
      addChild in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
    • removeChild

      public void removeChild(org.junit.platform.engine.TestDescriptor child)
      Specified by:
      removeChild in interface org.junit.platform.engine.TestDescriptor
      Overrides:
      removeChild in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
    • toChildKey

      private String toChildKey(org.junit.platform.engine.TestDescriptor child)
    • findMethodDescriptor

      public Optional<MethodDescriptor> findMethodDescriptor(org.testng.ITestResult result)
    • includeTestMethod

      public void includeTestMethod(String methodName)
    • selectEntireClass

      public void selectEntireClass()
    • prepareExecution

      public void prepareExecution()