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 TestInstancesExtensionContext. 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 java.util.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
Fields in org.junit.jupiter.engine.descriptor declared as TestInstances Modifier and Type Field Description private TestInstancesClassExtensionContext. testInstancesprivate TestInstancesMethodExtensionContext. testInstancesprivate TestInstancesTestTemplateExtensionContext. testInstancesMethods in org.junit.jupiter.engine.descriptor that return types with arguments of type TestInstances Modifier and Type Method Description java.util.Optional<TestInstances>ClassExtensionContext. getTestInstances()java.util.Optional<TestInstances>DynamicExtensionContext. getTestInstances()java.util.Optional<TestInstances>JupiterEngineExtensionContext. getTestInstances()java.util.Optional<TestInstances>MethodExtensionContext. getTestInstances()java.util.Optional<TestInstances>TestTemplateExtensionContext. getTestInstances()Methods in org.junit.jupiter.engine.descriptor with parameters of type TestInstances Modifier and Type Method Description (package private) voidClassExtensionContext. setTestInstances(TestInstances testInstances)(package private) voidMethodExtensionContext. setTestInstances(TestInstances testInstances)Method parameters in org.junit.jupiter.engine.descriptor with type arguments of type TestInstances Modifier and Type Method Description protected TestInstancesClassBasedTestDescriptor. instantiateTestClass(java.util.Optional<TestInstances> outerInstances, ExtensionRegistry registry, ExtensionContext extensionContext)Constructors in org.junit.jupiter.engine.descriptor with parameters of type TestInstances Constructor Description TestTemplateExtensionContext(ExtensionContext parent, EngineExecutionListener engineExecutionListener, TestTemplateTestDescriptor testDescriptor, JupiterConfiguration configuration, TestInstances testInstances) -
Uses of TestInstances in org.junit.jupiter.engine.execution
Classes in org.junit.jupiter.engine.execution that implement TestInstances Modifier and Type Class Description classDefaultTestInstancesMethods in org.junit.jupiter.engine.execution that return TestInstances Modifier and Type Method Description TestInstancesTestInstancesProvider. getTestInstances(ExtensionRegistry extensionRegistry, ExtensionRegistrar extensionRegistrar)default TestInstancesTestInstancesProvider. getTestInstances(MutableExtensionRegistry extensionRegistry)Methods in org.junit.jupiter.engine.execution with parameters of type TestInstances Modifier and Type Method Description static DefaultTestInstancesDefaultTestInstances. of(TestInstances testInstances, java.lang.Object instance)
-