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.
|
Modifier and Type | Method and Description |
---|---|
protected MutableExtensionRegistry |
TestTemplateInvocationTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
protected MutableExtensionRegistry |
TestMethodTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
(package private) static MutableExtensionRegistry |
ExtensionUtils.populateNewExtensionRegistryFromExtendWithAnnotation(MutableExtensionRegistry parentRegistry,
java.lang.reflect.AnnotatedElement annotatedElement)
Populate a new
MutableExtensionRegistry from extension types declared via
@ExtendWith on the supplied AnnotatedElement . |
Modifier and Type | Method and Description |
---|---|
(package private) static MutableExtensionRegistry |
ExtensionUtils.populateNewExtensionRegistryFromExtendWithAnnotation(MutableExtensionRegistry parentRegistry,
java.lang.reflect.AnnotatedElement annotatedElement)
Populate a new
MutableExtensionRegistry from extension types declared via
@ExtendWith on the supplied AnnotatedElement . |
Modifier and Type | Field and Description |
---|---|
(package private) MutableExtensionRegistry |
JupiterEngineExecutionContext.State.extensionRegistry |
Modifier and Type | Method and Description |
---|---|
MutableExtensionRegistry |
JupiterEngineExecutionContext.getExtensionRegistry() |
Modifier and Type | Method and Description |
---|---|
default TestInstances |
TestInstancesProvider.getTestInstances(MutableExtensionRegistry extensionRegistry) |
JupiterEngineExecutionContext.Builder |
JupiterEngineExecutionContext.Builder.withExtensionRegistry(MutableExtensionRegistry extensionRegistry) |
Modifier and Type | Field and Description |
---|---|
private MutableExtensionRegistry |
MutableExtensionRegistry.parent |
Modifier and Type | Method and Description |
---|---|
static MutableExtensionRegistry |
MutableExtensionRegistry.createRegistryFrom(MutableExtensionRegistry parentRegistry,
java.util.List<java.lang.Class<? extends Extension>> extensionTypes)
Factory for creating and populating a new registry from a list of
extension types and a parent registry.
|
static MutableExtensionRegistry |
MutableExtensionRegistry.createRegistryWithDefaultExtensions(JupiterConfiguration configuration)
Factory for creating and populating a new root registry with the default
extensions.
|
Modifier and Type | Method and Description |
---|---|
static MutableExtensionRegistry |
MutableExtensionRegistry.createRegistryFrom(MutableExtensionRegistry parentRegistry,
java.util.List<java.lang.Class<? extends Extension>> extensionTypes)
Factory for creating and populating a new registry from a list of
extension types and a parent registry.
|
private static void |
MutableExtensionRegistry.registerAutoDetectedExtensions(MutableExtensionRegistry extensionRegistry) |
Constructor and Description |
---|
MutableExtensionRegistry(MutableExtensionRegistry parent) |