Uses of Interface
org.junit.jupiter.api.extension.ReflectiveInvocationContext
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.
|
-
Uses of ReflectiveInvocationContext in org.junit.jupiter.api.extension
Methods in org.junit.jupiter.api.extension with parameters of type ReflectiveInvocationContext Modifier and Type Method Description default 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 <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 ReflectiveInvocationContext in org.junit.jupiter.engine.execution
Methods in org.junit.jupiter.engine.execution with parameters of type ReflectiveInvocationContext 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<Void> invocation, ReflectiveInvocationContext<Method> invocationContext, ExtensionContext extensionContext)