Uses of Interface
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Packages that use InvocationInterceptor.Invocation Package Description org.junit.jupiter.api.extension JUnit Jupiter API for writing extensions.org.junit.jupiter.engine.execution Internal classes for test execution within the JUnit Jupiter test engine.org.junit.jupiter.engine.extension Test extensions specific to the JUnit Jupiter test engine. -
-
Uses of InvocationInterceptor.Invocation in org.junit.jupiter.api.extension
Methods in org.junit.jupiter.api.extension with parameters of type InvocationInterceptor.Invocation Modifier and Type Method Description default void
InvocationInterceptor. interceptAfterAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of an@AfterAll
method.default void
InvocationInterceptor. interceptAfterEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of an@AfterEach
method.default void
InvocationInterceptor. interceptBeforeAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of a@BeforeAll
method.default void
InvocationInterceptor. interceptBeforeEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of a@BeforeEach
method.default void
InvocationInterceptor. interceptDynamicTest(InvocationInterceptor.Invocation<java.lang.Void> invocation, ExtensionContext extensionContext)
Intercept the invocation of aDynamicTest
.default <T> T
InvocationInterceptor. interceptTestClassConstructor(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Constructor<T>> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of a test class constructor.default <T> T
InvocationInterceptor. interceptTestFactoryMethod(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of a@TestFactory
method.default void
InvocationInterceptor. interceptTestMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of a@Test
method.default void
InvocationInterceptor. interceptTestTemplateMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Intercept the invocation of a@TestTemplate
method. -
Uses of InvocationInterceptor.Invocation in org.junit.jupiter.engine.execution
Classes in org.junit.jupiter.engine.execution that implement InvocationInterceptor.Invocation Modifier and Type Class Description (package private) class
ConstructorInvocation<T>
private static class
InvocationInterceptorChain.InterceptedInvocation<T>
private static class
InvocationInterceptorChain.ValidatingInvocation<T>
(package private) class
MethodInvocation<T>
Fields in org.junit.jupiter.engine.execution declared as InvocationInterceptor.Invocation Modifier and Type Field Description private InvocationInterceptor.Invocation<T>
InvocationInterceptorChain.ValidatingInvocation. delegate
private InvocationInterceptor.Invocation<T>
InvocationInterceptorChain.InterceptedInvocation. invocation
Methods in org.junit.jupiter.engine.execution that return InvocationInterceptor.Invocation Modifier and Type Method Description private <T> InvocationInterceptor.Invocation<T>
InvocationInterceptorChain. chainInterceptors(InvocationInterceptor.Invocation<T> invocation, InvocationInterceptorChain.InterceptorCall<T> call, java.util.List<InvocationInterceptor> interceptors)
Methods in org.junit.jupiter.engine.execution with parameters of type InvocationInterceptor.Invocation Modifier and Type Method Description T
ExecutableInvoker.ReflectiveInterceptorCall. apply(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<E> invocationContext, ExtensionContext extensionContext)
void
ExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall. apply(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
T
InvocationInterceptorChain.InterceptorCall. apply(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<T> invocation)
void
InvocationInterceptorChain.VoidInterceptorCall. apply(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<java.lang.Void> invocation)
private <T> T
InvocationInterceptorChain. chainAndInvoke(InvocationInterceptor.Invocation<T> invocation, InvocationInterceptorChain.InterceptorCall<T> call, java.util.List<InvocationInterceptor> interceptors)
private <T> InvocationInterceptor.Invocation<T>
InvocationInterceptorChain. chainInterceptors(InvocationInterceptor.Invocation<T> invocation, InvocationInterceptorChain.InterceptorCall<T> call, java.util.List<InvocationInterceptor> interceptors)
private <E extends java.lang.reflect.Executable,T>
TExecutableInvoker. invoke(InvocationInterceptor.Invocation<T> originalInvocation, ReflectiveInvocationContext<E> invocationContext, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry, ExecutableInvoker.ReflectiveInterceptorCall<E,T> call)
<T> T
InvocationInterceptorChain. invoke(InvocationInterceptor.Invocation<T> invocation, ExtensionRegistry extensionRegistry, InvocationInterceptorChain.InterceptorCall<T> call)
private <T> T
InvocationInterceptorChain. proceed(InvocationInterceptor.Invocation<T> invocation)
Constructors in org.junit.jupiter.engine.execution with parameters of type InvocationInterceptor.Invocation Constructor Description InterceptedInvocation(InvocationInterceptor.Invocation<T> invocation, InvocationInterceptorChain.InterceptorCall<T> call, InvocationInterceptor interceptor)
ValidatingInvocation(InvocationInterceptor.Invocation<T> delegate, java.util.List<InvocationInterceptor> interceptors)
-
Uses of InvocationInterceptor.Invocation in org.junit.jupiter.engine.extension
Classes in org.junit.jupiter.engine.extension that implement InvocationInterceptor.Invocation Modifier and Type Class Description (package private) class
TimeoutInvocation<T>
Fields in org.junit.jupiter.engine.extension declared as InvocationInterceptor.Invocation Modifier and Type Field Description private InvocationInterceptor.Invocation<T>
TimeoutInvocation. delegate
Methods in org.junit.jupiter.engine.extension that return InvocationInterceptor.Invocation Modifier and Type Method Description private <T> InvocationInterceptor.Invocation<T>
TimeoutExtension. decorate(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext, TimeoutDuration timeout)
Methods in org.junit.jupiter.engine.extension with parameters of type InvocationInterceptor.Invocation Modifier and Type Method Description private <T> InvocationInterceptor.Invocation<T>
TimeoutExtension. decorate(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext, TimeoutDuration timeout)
private <T> T
TimeoutExtension. intercept(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext, TimeoutDuration explicitTimeout, TimeoutExtension.TimeoutProvider defaultTimeoutProvider)
void
TimeoutExtension. interceptAfterAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
void
TimeoutExtension. interceptAfterEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
void
TimeoutExtension. interceptBeforeAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
void
TimeoutExtension. interceptBeforeEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
private void
TimeoutExtension. interceptLifecycleMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext, TimeoutExtension.TimeoutProvider defaultTimeoutProvider)
private <T> T
TimeoutExtension. interceptTestableMethod(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext, TimeoutExtension.TimeoutProvider defaultTimeoutProvider)
<T> T
TimeoutExtension. interceptTestFactoryMethod(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
void
TimeoutExtension. interceptTestMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
void
TimeoutExtension. interceptTestTemplateMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
Constructors in org.junit.jupiter.engine.extension with parameters of type InvocationInterceptor.Invocation Constructor Description TimeoutInvocation(InvocationInterceptor.Invocation<T> delegate, TimeoutDuration timeout, java.util.concurrent.ScheduledExecutorService executor, java.util.function.Supplier<java.lang.String> descriptionSupplier)
-