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, ExtensionContext extensionContext) protected abstract TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector) protected TestInstances
ClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector) protected TestInstances
NestedClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector) -
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, ExtensionRegistrar extensionRegistrar, ThrowableCollector throwableCollector) <T> T
InterceptingExecutableInvoker.invoke
(Constructor<T> constructor, Optional<Object> outerInstance, ExtensionContext 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
(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