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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
<T> private final ScheduledExecutorService
private final TimeoutDuration
-
Constructor Summary
ConstructorsConstructorDescriptionSameThreadTimeoutInvocation
(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> delegate, TimeoutDuration timeout, ScheduledExecutorService executor, Supplier<String> descriptionSupplier) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
skip
-
Field Details
-
delegate
-
timeout
-
executor
-
descriptionSupplier
-
-
Constructor Details
-
SameThreadTimeoutInvocation
SameThreadTimeoutInvocation(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> delegate, TimeoutDuration timeout, ScheduledExecutorService executor, Supplier<String> descriptionSupplier)
-
-
Method Details