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, ExtensionContext extensionContext)
protected abstract TestInstances
ClassBasedTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector)
protected TestInstances
ClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector)
protected TestInstances
NestedClassTestDescriptor.instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector)
Modifier and TypeMethodDescriptionprotected TestInstances
ClassBasedTestDescriptor.instantiateTestClass(Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContext extensionContext)
-
Uses of TestInstances in org.junit.jupiter.engine.execution
Modifier and TypeMethodDescriptionTestInstancesProvider.getTestInstances(ExtensionRegistry extensionRegistry, ExtensionRegistrar extensionRegistrar, ThrowableCollector throwableCollector)
default TestInstances
TestInstancesProvider.getTestInstances(MutableExtensionRegistry extensionRegistry, ThrowableCollector throwableCollector)
Modifier and TypeMethodDescriptionstatic DefaultTestInstances
DefaultTestInstances.of(TestInstances testInstances, Object instance)