Class TimeoutInvocationFactory
java.lang.Object
org.junit.jupiter.engine.extension.TimeoutInvocationFactory
- Since:
- 5.9
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
(package private) static class
(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.junit.jupiter.api.extension.ExtensionContext.Store
-
Constructor Summary
ConstructorsConstructorDescriptionTimeoutInvocationFactory
(org.junit.jupiter.api.extension.ExtensionContext.Store store) -
Method Summary
Modifier and TypeMethodDescription(package private) <T> org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
<T> create
(org.junit.jupiter.api.Timeout.ThreadMode threadMode, TimeoutInvocationFactory.TimeoutInvocationParameters<T> timeoutInvocationParameters) private ScheduledExecutorService
-
Field Details
-
store
private final org.junit.jupiter.api.extension.ExtensionContext.Store store
-
-
Constructor Details
-
TimeoutInvocationFactory
TimeoutInvocationFactory(org.junit.jupiter.api.extension.ExtensionContext.Store store)
-
-
Method Details
-
create
<T> org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> create(org.junit.jupiter.api.Timeout.ThreadMode threadMode, TimeoutInvocationFactory.TimeoutInvocationParameters<T> timeoutInvocationParameters) -
getThreadExecutorForSameThreadInvocation
-