Class TestNGEngineDescriptor

  • All Implemented Interfaces:
    org.junit.platform.engine.TestDescriptor

    class TestNGEngineDescriptor
    extends org.junit.platform.engine.support.descriptor.EngineDescriptor
    • Nested Class Summary

      • 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
      TestNGEngineDescriptor​(org.junit.platform.engine.UniqueId uniqueId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChild​(org.junit.platform.engine.TestDescriptor child)  
      private java.util.stream.Stream<ClassDescriptor> classDescriptors()  
      ClassDescriptor findClassDescriptor​(java.lang.Class<?> testClass)  
      (package private) java.util.Set<ClassDescriptor> getClassDescriptors()  
      (package private) java.util.List<java.lang.String> getQualifiedMethodNames()  
      (package private) java.lang.Class<?>[] getTestClasses()  
      TestDescriptorFactory getTestDescriptorFactory()  
      (package private) void prepareExecution()  
      void removeChild​(org.junit.platform.engine.TestDescriptor child)  
      • Methods inherited from class org.junit.platform.engine.support.descriptor.EngineDescriptor

        getType
      • Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeFromHierarchy, setParent, toString
      • 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, getAncestors, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
    • Field Detail

      • classDescriptorsByTestClass

        private final java.util.Map<java.lang.Class<?>,​ClassDescriptor> classDescriptorsByTestClass
    • Constructor Detail

      • TestNGEngineDescriptor

        public TestNGEngineDescriptor​(org.junit.platform.engine.UniqueId uniqueId)
    • Method Detail

      • 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
      • findClassDescriptor

        public ClassDescriptor findClassDescriptor​(java.lang.Class<?> testClass)
      • getClassDescriptors

        java.util.Set<ClassDescriptor> getClassDescriptors()
      • getTestClasses

        java.lang.Class<?>[] getTestClasses()
      • getQualifiedMethodNames

        java.util.List<java.lang.String> getQualifiedMethodNames()
      • prepareExecution

        void prepareExecution()
      • classDescriptors

        private java.util.stream.Stream<ClassDescriptor> classDescriptors()