Uses of Interface
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
| Package | Description |
|---|---|
| org.junit.jupiter.api.extension |
JUnit Jupiter API for writing extensions.
|
-
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 voidInvocationInterceptor. interceptAfterAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of an@AfterAllmethod.default voidInvocationInterceptor. interceptAfterEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of an@AfterEachmethod.default voidInvocationInterceptor. interceptBeforeAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of a@BeforeAllmethod.default voidInvocationInterceptor. interceptBeforeEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of a@BeforeEachmethod.default voidInvocationInterceptor. interceptDynamicTest(InvocationInterceptor.Invocation<java.lang.Void> invocation, DynamicTestInvocationContext invocationContext, ExtensionContext extensionContext)Intercept the invocation of aDynamicTest.default voidInvocationInterceptor. interceptDynamicTest(InvocationInterceptor.Invocation<java.lang.Void> invocation, ExtensionContext extensionContext)Deprecated.default <T> TInvocationInterceptor. interceptTestClassConstructor(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Constructor<T>> invocationContext, ExtensionContext extensionContext)Intercept the invocation of a test class constructor.default <T> TInvocationInterceptor. interceptTestFactoryMethod(InvocationInterceptor.Invocation<T> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of a@TestFactorymethod, such as a@RepeatedTestor@ParameterizedTestmethod.default voidInvocationInterceptor. interceptTestMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of a@Testmethod.default voidInvocationInterceptor. interceptTestTemplateMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation, ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext, ExtensionContext extensionContext)Intercept the invocation of a@TestTemplatemethod.
InvocationInterceptor.interceptDynamicTest(Invocation, DynamicTestInvocationContext, ExtensionContext)instead