Uses of Interface
org.junit.jupiter.engine.extension.ExtensionRegistry
Package
Description
Test descriptors used within the JUnit Jupiter test engine.
Internal classes for test execution within the JUnit Jupiter test engine.
Test extensions specific to the JUnit Jupiter test engine.
-
Uses of ExtensionRegistry in org.junit.jupiter.engine.descriptor
Modifier and TypeMethodDescriptionprotected TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContextSupplier extensionContext) protected abstract TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionContextSupplier extensionContext, ExtensionRegistry registry, JupiterEngineExecutionContext context) protected TestInstances
ClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionContextSupplier extensionContext, ExtensionRegistry registry, JupiterEngineExecutionContext context) protected TestInstances
NestedClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionContextSupplier extensionContext, ExtensionRegistry registry, JupiterEngineExecutionContext context) -
Uses of ExtensionRegistry in org.junit.jupiter.engine.execution
Modifier and TypeMethodDescriptionConditionEvaluator.evaluate
(ExtensionRegistry extensionRegistry, JupiterConfiguration configuration, ExtensionContext context) Evaluate allExecutionCondition
extensions registered for the suppliedExtensionContext
.TestInstancesProvider.getTestInstances
(ExtensionRegistry extensionRegistry, JupiterEngineExecutionContext executionContext) <T> T
InterceptingExecutableInvoker.invoke
(Constructor<T> constructor, Optional<Object> outerInstance, ExtensionContextSupplier extensionContext, ExtensionRegistry extensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Constructor<T>, T> interceptorCall) Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.<T> T
InterceptingExecutableInvoker.invoke
(Method method, Object target, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Method, T> interceptorCall) Invoke the supplied method with dynamic parameter resolution.<T> T
InvocationInterceptorChain.invoke
(InvocationInterceptor.Invocation<T> invocation, ExtensionRegistry extensionRegistry, InvocationInterceptorChain.InterceptorCall<T> call) void
AfterEachMethodAdapter.invokeAfterEachMethod
(ExtensionContext context, ExtensionRegistry registry) void
BeforeEachMethodAdapter.invokeBeforeEachMethod
(ExtensionContext context, ExtensionRegistry registry) static Object[]
ParameterResolutionUtils.resolveParameters
(Executable executable, Optional<Object> target, Optional<Object> outerInstance, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry) Resolve the array of parameters for the supplied executable, target, and outer instance.static Object[]
ParameterResolutionUtils.resolveParameters
(Executable executable, Optional<Object> target, Optional<Object> outerInstance, ExtensionContextSupplier extensionContext, ExtensionRegistry extensionRegistry) static Object[]
ParameterResolutionUtils.resolveParameters
(Method method, Optional<Object> target, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry) Resolve the array of parameters for the supplied method and target.ModifierConstructorDescriptionDefaultExecutableInvoker
(ExtensionContext extensionContext, ExtensionRegistry extensionRegistry) -
Uses of ExtensionRegistry in org.junit.jupiter.engine.extension