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 | Description |
---|---|---|
protected ExtensionRegistry |
TestMethodTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
|
protected ExtensionRegistry |
TestTemplateInvocationTestDescriptor.populateNewExtensionRegistry(JupiterEngineExecutionContext context) |
|
protected ExtensionRegistry |
JupiterTestDescriptor.populateNewExtensionRegistryFromExtendWith(java.lang.reflect.AnnotatedElement annotatedElement,
ExtensionRegistry existingExtensionRegistry) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Object |
ClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
|
protected java.lang.Object |
NestedClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
|
protected ExtensionRegistry |
JupiterTestDescriptor.populateNewExtensionRegistryFromExtendWith(java.lang.reflect.AnnotatedElement annotatedElement,
ExtensionRegistry existingExtensionRegistry) |
Modifier and Type | Method | Description |
---|---|---|
ExtensionRegistry |
JupiterEngineExecutionContext.getExtensionRegistry() |
Modifier and Type | Method | Description |
---|---|---|
ConditionEvaluationResult |
ConditionEvaluator.evaluate(ExtensionRegistry extensionRegistry,
ConfigurationParameters configurationParameters,
ExtensionContext context) |
Evaluate all
ExecutionCondition extensions registered for the
supplied ExtensionContext . |
<T> T |
ExecutableInvoker.invoke(java.lang.reflect.Constructor<T> constructor,
java.lang.Object outerInstance,
ExtensionContext extensionContext,
ExtensionRegistry extensionRegistry) |
Invoke the supplied constructor with the supplied outer instance and
dynamic parameter resolution.
|
<T> T |
ExecutableInvoker.invoke(java.lang.reflect.Constructor<T> constructor,
ExtensionContext extensionContext,
ExtensionRegistry extensionRegistry) |
Invoke the supplied constructor with dynamic parameter resolution.
|
java.lang.Object |
ExecutableInvoker.invoke(java.lang.reflect.Method method,
java.lang.Object target,
ExtensionContext extensionContext,
ExtensionRegistry extensionRegistry) |
Invoke the supplied method on the supplied target object with dynamic parameter
resolution.
|
java.lang.Object |
ExecutableInvoker.invoke(java.lang.reflect.Method method,
ExtensionContext extensionContext,
ExtensionRegistry extensionRegistry) |
Invoke the supplied
static 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) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
TestInstanceProvider.getTestInstance(java.util.Optional<ExtensionRegistry> childExtensionRegistry) |
Modifier and Type | Method | Description |
---|---|---|
static ExtensionRegistry |
ExtensionRegistry.createRegistryFrom(ExtensionRegistry 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 ExtensionRegistry |
ExtensionRegistry.createRegistryWithDefaultExtensions(ConfigurationParameters configParams) |
Factory for creating and populating a new root registry with the default
extensions.
|
Modifier and Type | Method | Description |
---|---|---|
static ExtensionRegistry |
ExtensionRegistry.createRegistryFrom(ExtensionRegistry 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.
|