Uses of Interface
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
Package
Description
JUnit Jupiter API for writing extensions.
Internal classes for test execution within the JUnit Jupiter test engine.
-
Uses of InvocationInterceptor.Invocation in org.junit.jupiter.api.extension
Modifier and TypeMethodDescriptiondefault void
InvocationInterceptor.interceptAfterAllMethod
(InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of an@AfterAll
method.default void
InvocationInterceptor.interceptAfterEachMethod
(InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of an@AfterEach
method.default void
InvocationInterceptor.interceptBeforeAllMethod
(InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of a@BeforeAll
method.default void
InvocationInterceptor.interceptBeforeEachMethod
(InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of a@BeforeEach
method.default void
InvocationInterceptor.interceptDynamicTest
(InvocationInterceptor.Invocation<Void> invocation, DynamicTestInvocationContext invocationContext, ExtensionContext extensionContext) Intercept the invocation of aDynamicTest
.default void
InvocationInterceptor.interceptDynamicTest
(InvocationInterceptor.Invocation<Void> invocation, ExtensionContext extensionContext) Deprecated.default <T> T
InvocationInterceptor.interceptTestClassConstructor
(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<Constructor<T>> invocationContext, ExtensionContext extensionContext) Intercept the invocation of a test class constructor.default <T> T
InvocationInterceptor.interceptTestFactoryMethod
(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of a@TestFactory
method, such as a@RepeatedTest
or@ParameterizedTest
method.default void
InvocationInterceptor.interceptTestMethod
(InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of a@Test
method.default void
InvocationInterceptor.interceptTestTemplateMethod
(InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) Intercept the invocation of a@TestTemplate
method. -
Uses of InvocationInterceptor.Invocation in org.junit.jupiter.engine.execution
Modifier and TypeMethodDescriptionInterceptingExecutableInvoker.ReflectiveInterceptorCall.apply
(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<E> invocationContext, ExtensionContext extensionContext) void
InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall.apply
(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext) InvocationInterceptorChain.InterceptorCall.apply
(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<T> invocation) void
InvocationInterceptorChain.VoidInterceptorCall.apply
(InvocationInterceptor interceptor, InvocationInterceptor.Invocation<Void> invocation) <T> T
InvocationInterceptorChain.invoke
(InvocationInterceptor.Invocation<T> invocation, ExtensionRegistry extensionRegistry, InvocationInterceptorChain.InterceptorCall<T> call)
InvocationInterceptor.interceptDynamicTest(Invocation, DynamicTestInvocationContext, ExtensionContext)
instead