Package | Description |
---|---|
org.junit.jupiter.api.extension |
JUnit Jupiter API for writing extensions.
|
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.
|
Modifier and Type | Method and Description |
---|---|
default TestInstances |
ExtensionContext.getRequiredTestInstances()
Get the required test instances associated with the current test
or container.
|
Modifier and Type | Method and Description |
---|---|
Optional<TestInstances> |
ExtensionContext.getTestInstances()
Get the test instances associated with the current test or container,
if available.
|
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 |
---|---|
protected TestInstances |
ClassTestDescriptor.instantiateTestClass(Optional<TestInstances> outerInstances,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTestInstances |
Modifier and Type | Method and Description |
---|---|
TestInstances |
TestInstancesProvider.getTestInstances(Optional<ExtensionRegistry> childExtensionRegistry) |
Modifier and Type | Method and Description |
---|---|
static DefaultTestInstances |
DefaultTestInstances.of(TestInstances testInstances,
Object instance) |
Copyright © 2022. All rights reserved.