Uses of Interface
org.junit.jupiter.api.extension.TestInstances
Package
Description
JUnit Jupiter API for writing extensions.
Test descriptors used within the JUnit Jupiter test engine.
Internal classes for test execution within the JUnit Jupiter test engine.
-
Uses of TestInstances in org.junit.jupiter.api.extension
Modifier and TypeMethodDescriptiondefault TestInstances
ExtensionContext.getRequiredTestInstances()
Get the required test instances associated with the current test or container.Modifier and TypeMethodDescriptionExtensionContext.getTestInstances()
Get the test instances associated with the current test or container, if available. -
Uses of TestInstances in org.junit.jupiter.engine.descriptor
Modifier and TypeMethodDescriptionprotected TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContextSupplier extensionContext) protected abstract TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionContextSupplier extensionContext, ExtensionRegistry registry, JupiterEngineExecutionContext context) protected TestInstances
ClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionContextSupplier extensionContext, ExtensionRegistry registry, JupiterEngineExecutionContext context) protected TestInstances
NestedClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionContextSupplier extensionContext, ExtensionRegistry registry, JupiterEngineExecutionContext context) Modifier and TypeMethodDescriptionprotected TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContextSupplier extensionContext) -
Uses of TestInstances in org.junit.jupiter.engine.execution
Modifier and TypeMethodDescriptiondefault TestInstances
TestInstancesProvider.getTestInstances
(JupiterEngineExecutionContext context) TestInstancesProvider.getTestInstances
(ExtensionRegistry extensionRegistry, JupiterEngineExecutionContext executionContext) Modifier and TypeMethodDescriptionstatic DefaultTestInstances
DefaultTestInstances.of
(TestInstances testInstances, Object instance)