Class MavenDIExtension
java.lang.Object
org.apache.maven.testing.di.MavenDIExtension
org.apache.maven.api.di.testing.MavenDIExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension
@Deprecated(since="4.0.0-rc-6",
forRemoval=true)
public class MavenDIExtension
extends MavenDIExtension
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.di.InjectorsetupContainer(org.junit.jupiter.api.extension.ExtensionContext context) Deprecated, for removal: This API element is subject to removal in a future version.Creates and configures the DI container for test execution.Methods inherited from class MavenDIExtension
afterEach, beforeEach, getBasedir, getContext, getInjector, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, release, setContext
-
Constructor Details
-
MavenDIExtension
public MavenDIExtension()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setupContainer
protected org.apache.maven.di.Injector setupContainer(org.junit.jupiter.api.extension.ExtensionContext context) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:MavenDIExtensionCreates and configures the DI container for test execution. Performs component discovery and sets up basic bindings.- Overrides:
setupContainerin classMavenDIExtension
-
MavenDIExtensioninstead