Uses of Interface
org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Packages that use 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.org.junit.jupiter.engine.extension Test extensions specific to 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<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 <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 ReflectiveInvocationContext in org.junit.jupiter.engine.execution
Classes in org.junit.jupiter.engine.execution that implement ReflectiveInvocationContext Modifier and Type Class Description (package private) class
ConstructorInvocation<T>
(package private) class
MethodInvocation<T>
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<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
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)
-
Uses of ReflectiveInvocationContext in org.junit.jupiter.engine.extension
Methods in org.junit.jupiter.engine.extension with parameters of type ReflectiveInvocationContext 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 java.lang.String
TimeoutExtension. describe(ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)
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)
-