Uses of Interface
org.junit.jupiter.api.extension.TestInstances
-
Packages that use TestInstances 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. -
-
Uses of TestInstances in org.junit.jupiter.api.extension
Methods in org.junit.jupiter.api.extension that return TestInstances Modifier and Type Method Description default TestInstances
ExtensionContext. getRequiredTestInstances()
Get the required test instances associated with the current test or container.Methods in org.junit.jupiter.api.extension that return types with arguments of type TestInstances Modifier and Type Method Description Optional<TestInstances>
ExtensionContext. getTestInstances()
Get the test instances associated with the current test or container, if available. -
Uses of TestInstances in org.junit.jupiter.engine.descriptor
Methods in org.junit.jupiter.engine.descriptor that return TestInstances Modifier and Type Method Description protected TestInstances
ClassTestDescriptor. instantiateTestClass(Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContext extensionContext)
protected TestInstances
ClassTestDescriptor. instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
protected TestInstances
NestedClassTestDescriptor. instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
Method parameters in org.junit.jupiter.engine.descriptor with type arguments of type TestInstances Modifier and Type Method Description protected TestInstances
ClassTestDescriptor. instantiateTestClass(Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContext extensionContext)
-
Uses of TestInstances in org.junit.jupiter.engine.execution
Classes in org.junit.jupiter.engine.execution that implement TestInstances Modifier and Type Class Description class
DefaultTestInstances
Methods in org.junit.jupiter.engine.execution that return TestInstances Modifier and Type Method Description TestInstances
TestInstancesProvider. getTestInstances(Optional<ExtensionRegistry> childExtensionRegistry)
Methods in org.junit.jupiter.engine.execution with parameters of type TestInstances Modifier and Type Method Description static DefaultTestInstances
DefaultTestInstances. of(TestInstances testInstances, Object instance)
-