Class CurrentTestDescriptor


  • public class CurrentTestDescriptor
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.junit.platform.engine.TestDescriptor get()  
      static void runWithDescriptor​(org.junit.platform.engine.TestDescriptor currentDescriptor, java.lang.Runnable executable)  
      static <T> T runWithDescriptor​(org.junit.platform.engine.TestDescriptor currentDescriptor, java.util.function.Supplier<T> executable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CurrentTestDescriptor

        public CurrentTestDescriptor()
    • Method Detail

      • runWithDescriptor

        public static void runWithDescriptor​(org.junit.platform.engine.TestDescriptor currentDescriptor,
                                             java.lang.Runnable executable)
      • runWithDescriptor

        public static <T> T runWithDescriptor​(org.junit.platform.engine.TestDescriptor currentDescriptor,
                                              java.util.function.Supplier<T> executable)
      • get

        public static org.junit.platform.engine.TestDescriptor get()