Uses of Class
org.junit.jupiter.engine.extension.ExtensionRegistry
-
Packages that use ExtensionRegistry Package Description org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.org.junit.jupiter.engine.execution Internal classes for test execution within the JUnit Jupiter test engine.org.junit.jupiter.engine.extension Test extensions specific to the JUnit Jupiter test engine. -
-
Uses of ExtensionRegistry in org.junit.jupiter.engine.descriptor
Methods in org.junit.jupiter.engine.descriptor that return ExtensionRegistry Modifier and Type Method Description protected ExtensionRegistry
TestMethodTestDescriptor. populateNewExtensionRegistry(JupiterEngineExecutionContext context)
protected ExtensionRegistry
TestTemplateInvocationTestDescriptor. populateNewExtensionRegistry(JupiterEngineExecutionContext context)
Methods in org.junit.jupiter.engine.descriptor with parameters of type ExtensionRegistry Modifier and Type Method Description protected Object
ClassTestDescriptor. instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
protected Object
NestedClassTestDescriptor. instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
-
Uses of ExtensionRegistry in org.junit.jupiter.engine.execution
Methods in org.junit.jupiter.engine.execution that return ExtensionRegistry Modifier and Type Method Description ExtensionRegistry
JupiterEngineExecutionContext. getExtensionRegistry()
Methods in org.junit.jupiter.engine.execution with parameters of type ExtensionRegistry Modifier and Type Method Description ConditionEvaluationResult
ConditionEvaluator. evaluate(ExtensionRegistry extensionRegistry, ConfigurationParameters configurationParameters, ExtensionContext context)
Evaluate allExecutionCondition
extensions registered for the suppliedExtensionContext
.<T> T
ExecutableInvoker. invoke(Constructor<T> constructor, Object outerInstance, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry)
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.<T> T
ExecutableInvoker. invoke(Constructor<T> constructor, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry)
Invoke the supplied constructor with dynamic parameter resolution.Object
ExecutableInvoker. invoke(Method method, Object target, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry)
Invoke the supplied method on the supplied target object with dynamic parameter resolution.Object
ExecutableInvoker. invoke(Method method, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry)
Invoke the suppliedstatic
method with dynamic parameter resolution.void
AfterEachMethodAdapter. invokeAfterEachMethod(ExtensionContext context, ExtensionRegistry registry)
void
BeforeEachMethodAdapter. invokeBeforeEachMethod(ExtensionContext context, ExtensionRegistry registry)
JupiterEngineExecutionContext.Builder
JupiterEngineExecutionContext.Builder. withExtensionRegistry(ExtensionRegistry extensionRegistry)
Method parameters in org.junit.jupiter.engine.execution with type arguments of type ExtensionRegistry Modifier and Type Method Description Object
TestInstanceProvider. getTestInstance(Optional<ExtensionRegistry> childExtensionRegistry)
-
Uses of ExtensionRegistry in org.junit.jupiter.engine.extension
Methods in org.junit.jupiter.engine.extension that return ExtensionRegistry Modifier and Type Method Description static ExtensionRegistry
ExtensionRegistry. createRegistryFrom(ExtensionRegistry parentRegistry, List<Class<? extends Extension>> extensionTypes)
Factory for creating and populating a new registry from a list of extension types and a parent registry.static ExtensionRegistry
ExtensionRegistry. createRegistryWithDefaultExtensions(ConfigurationParameters configParams)
Factory for creating and populating a new root registry with the default extensions.Methods in org.junit.jupiter.engine.extension with parameters of type ExtensionRegistry Modifier and Type Method Description static ExtensionRegistry
ExtensionRegistry. createRegistryFrom(ExtensionRegistry parentRegistry, List<Class<? extends Extension>> extensionTypes)
Factory for creating and populating a new registry from a list of extension types and a parent registry.
-