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.
|
Modifier and Type | Method and 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. |
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. |
Modifier and Type | Method and 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) |
Copyright © 2020. All rights reserved.