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 ExtensionRegistry |
TestTemplateInvocationTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
protected ExtensionRegistry |
TestMethodTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
protected TestInstances |
ClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
protected TestInstances |
NestedClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
protected TestInstances |
ClassTestDescriptor.instantiateTestClass(Optional<TestInstances> outerInstances,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
Modifier and Type | Method and Description |
---|---|
ExtensionRegistry |
JupiterEngineExecutionContext.getExtensionRegistry() |
Modifier and Type | Method and Description |
---|---|
ConditionEvaluationResult |
ConditionEvaluator.evaluate(ExtensionRegistry extensionRegistry,
JupiterConfiguration configuration,
ExtensionContext context)
Evaluate all
ExecutionCondition extensions registered for the
supplied ExtensionContext . |
<T> T |
ExecutableInvoker.invoke(Constructor<T> constructor,
ExtensionContext extensionContext,
ExtensionRegistry extensionRegistry)
Invoke the supplied constructor with dynamic parameter resolution.
|
<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.
|
Object |
ExecutableInvoker.invoke(Method method,
ExtensionContext extensionContext,
ExtensionRegistry extensionRegistry)
Invoke the supplied
static method 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.
|
void |
AfterEachMethodAdapter.invokeAfterEachMethod(ExtensionContext context,
ExtensionRegistry registry) |
void |
BeforeEachMethodAdapter.invokeBeforeEachMethod(ExtensionContext context,
ExtensionRegistry registry) |
JupiterEngineExecutionContext.Builder |
JupiterEngineExecutionContext.Builder.withExtensionRegistry(ExtensionRegistry extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
TestInstances |
TestInstancesProvider.getTestInstances(Optional<ExtensionRegistry> childExtensionRegistry) |
Modifier and Type | Method and 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(JupiterConfiguration configuration)
Factory for creating and populating a new root registry with the default
extensions.
|
Modifier and Type | Method and 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.
|
Copyright © 2023. All rights reserved.