Class JupiterTestDescriptor

    • 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 inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        children
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanUp​(JupiterEngineExecutionContext context)  
      org.junit.platform.engine.support.hierarchical.Node.ExecutionMode getExecutionMode()  
      abstract JupiterEngineExecutionContext prepare​(JupiterEngineExecutionContext context)
      Must be overridden and return a new context so cleanUp() does not accidentally close the parent context.
      org.junit.platform.engine.support.hierarchical.Node.SkipResult shouldBeSkipped​(JupiterEngineExecutionContext context)  
      static org.junit.platform.engine.support.hierarchical.Node.ExecutionMode toExecutionMode​(org.junit.jupiter.api.parallel.ExecutionMode mode)  
      • Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, 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.support.hierarchical.Node

        after, around, before, execute, getExclusiveResources, nodeFinished, nodeSkipped
      • Methods inherited from interface org.junit.platform.engine.TestDescriptor

        accept, getDescendants, getLegacyReportingName, getType, isContainer, isRoot, isTest, mayRegisterTests, prune
    • Method Detail

      • getExecutionMode

        public org.junit.platform.engine.support.hierarchical.Node.ExecutionMode getExecutionMode()
        Specified by:
        getExecutionMode in interface org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>
      • toExecutionMode

        public static org.junit.platform.engine.support.hierarchical.Node.ExecutionMode toExecutionMode​(org.junit.jupiter.api.parallel.ExecutionMode mode)
      • shouldBeSkipped

        public org.junit.platform.engine.support.hierarchical.Node.SkipResult shouldBeSkipped​(JupiterEngineExecutionContext context)
                                                                                       throws java.lang.Exception
        Specified by:
        shouldBeSkipped in interface org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>
        Throws:
        java.lang.Exception