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 |
TestMethodTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
protected ExtensionRegistry |
TestTemplateInvocationTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
protected ExtensionRegistry |
JupiterTestDescriptor.populateNewExtensionRegistryFromExtendWith(AnnotatedElement annotatedElement,
ExtensionRegistry existingExtensionRegistry) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
protected Object |
NestedClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
protected ExtensionRegistry |
JupiterTestDescriptor.populateNewExtensionRegistryFromExtendWith(AnnotatedElement annotatedElement,
ExtensionRegistry existingExtensionRegistry) |
Modifier and Type | Method and Description |
---|---|
ExtensionRegistry |
JupiterEngineExecutionContext.getExtensionRegistry() |
Modifier and Type | Method and Description |
---|---|
ConditionEvaluationResult |
ConditionEvaluator.evaluate(ExtensionRegistry extensionRegistry,
ConfigurationParameters configurationParameters,
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 |
---|---|
Object |
TestInstanceProvider.getTestInstance(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(ConfigurationParameters configParams)
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.
|