Class SameThreadTimeoutInvocation<T>

java.lang.Object
org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation<T>
All Implemented Interfaces:
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>

class SameThreadTimeoutInvocation<T> extends Object implements org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>
Since:
5.5
  • Field Details

    • delegate

      private final org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> delegate
    • timeout

      private final TimeoutDuration timeout
    • executor

      private final ScheduledExecutorService executor
    • descriptionSupplier

      private final Supplier<String> descriptionSupplier
  • Constructor Details

  • Method Details

    • proceed

      public T proceed() throws Throwable
      Specified by:
      proceed in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>
      Throws:
      Throwable