| Modifier and Type | Field and Description |
|---|---|
| private final EvaluatedArgumentSet | |
| private final ParameterizedClassContext | |
| private final int | |
| private final ArgumentSetLifecycleMethod | |
| private final ResolutionCache |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractParameterizedClassInvocationLifecycleMethodInvoker(ParameterizedClassContext declarationContext, EvaluatedArgumentSet arguments, int invocationIndex, ResolutionCache resolutionCache, ArgumentSetLifecycleMethod lifecycleMethod)
|
| Modifier and Type | Method and Description |
|---|---|
| public TestInstantiationAwareExtension. | getTestInstantiationExtensionContextScope(ExtensionContext rootContext)
Overrides default org. Determine whether this extension should receive a test-method scoped
|
| protected void | |
| private boolean | |
| public Object | resolveParameter(ParameterContext parameterContext, ExtensionContext extensionContext)
Implements org. Resolve an argument for the |
| public boolean | supportsParameter(ParameterContext parameterContext, ExtensionContext extensionContext)
Implements org. Determine if this resolver supports resolution of an argument for the
|
| arguments | back to summary |
|---|---|
| private final EvaluatedArgumentSet arguments | |
| declarationContext | back to summary |
|---|---|
| private final ParameterizedClassContext declarationContext | |
| invocationIndex | back to summary |
|---|---|
| private final int invocationIndex | |
| lifecycleMethod | back to summary |
|---|---|
| private final ArgumentSetLifecycleMethod lifecycleMethod | |
| resolutionCache | back to summary |
|---|---|
| private final ResolutionCache resolutionCache | |
| AbstractParameterizedClassInvocationLifecycleMethodInvoker | back to summary |
|---|---|
| pack-priv AbstractParameterizedClassInvocationLifecycleMethodInvoker(ParameterizedClassContext declarationContext, EvaluatedArgumentSet arguments, int invocationIndex, ResolutionCache resolutionCache, ArgumentSetLifecycleMethod lifecycleMethod) | |
| getTestInstantiationExtensionContextScope | back to summary |
|---|---|
| public TestInstantiationAwareExtension. Overrides default org. Determine whether this extension should receive a test-method scoped
If an extension returns
When a test-method scoped
Note The behavior which is enabled by returning
| |
| invoke | back to summary |
|---|---|
| protected void invoke(ExtensionContext context) | |
| isCorrectTestClass | back to summary |
|---|---|
| private boolean isCorrectTestClass(ExtensionContext context) | |
| resolveParameter | back to summary |
|---|---|
| public Object resolveParameter(ParameterContext parameterContext, ExtensionContext extensionContext) throws ParameterResolutionException Implements org. Doc from org. Resolve an argument for the This method is only called by the framework if The
| |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(ParameterContext parameterContext, ExtensionContext extensionContext) throws ParameterResolutionException Implements org. Doc from org. Determine if this resolver supports resolution of an argument for the
The
| |