Class ExecutableTestDescriptor

    • 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
    • Field Summary

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

        children
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ExecutableTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId, String displayName)  
    • Constructor Detail

      • ExecutableTestDescriptor

        protected ExecutableTestDescriptor​(org.junit.platform.engine.UniqueId uniqueId,
                                           String displayName)
    • Method Detail

      • throttle

        protected void throttle()
      • setExecutionRequest

        protected void setExecutionRequest​(org.junit.platform.engine.ExecutionRequest executionRequest)
      • getExecutionRequest

        protected org.junit.platform.engine.ExecutionRequest getExecutionRequest()
      • getParent

        public <T> T getParent​(Class<T> clazz)
      • getStopWatch

        public StopWatch getStopWatch()
      • setTestInstance

        protected void setTestInstance​(Object testInstance)
      • getTestInstance

        public Object getTestInstance()
      • execute

        public abstract void execute​(org.junit.platform.engine.ExecutionRequest executionRequest)
        Method to execute the test descriptor
        Parameters:
        executionRequest - executionRequest