Class TimeoutTracingInfoExtension

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.Extension

    public final class TimeoutTracingInfoExtension
    extends java.lang.Object
    implements org.junit.jupiter.api.extension.AfterEachCallback
    Junit extension which will print information about all threads if unit test method throws TimeoutException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterEach​(org.junit.jupiter.api.extension.ExtensionContext context)  
      • Methods inherited from class java.lang.Object

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

      • DEFAULT_TIMEOUT_SECONDS

        public static final long DEFAULT_TIMEOUT_SECONDS
    • Constructor Detail

      • TimeoutTracingInfoExtension

        public TimeoutTracingInfoExtension()
    • Method Detail

      • afterEach

        public void afterEach​(org.junit.jupiter.api.extension.ExtensionContext context)
        Specified by:
        afterEach in interface org.junit.jupiter.api.extension.AfterEachCallback