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 | 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 void |
InvocationInterceptor.interceptDynamicTest(InvocationInterceptor.Invocation<Void> invocation,
ExtensionContext extensionContext) |
Intercept the invocation of a
DynamicTest . |
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 | 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) |
|
T |
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) |
Copyright © 2019. All rights reserved.