public class ComponentExtension extends BaseComponentsHandler implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback, JUnit5InjectionSupport, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
ComponentsHandler
and auto register components from current project.BaseComponentsHandler.EmbeddedComponentManager, BaseComponentsHandler.Outputs, BaseComponentsHandler.State
Modifier and Type | Field and Description |
---|---|
static org.junit.jupiter.api.extension.ExtensionContext.Namespace |
NAMESPACE |
isolatedPackages, packageName, STATE
Constructor and Description |
---|
ComponentExtension() |
Modifier and Type | Method and Description |
---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
beforeAll(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
doInject(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
doStart(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
doStop(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
Class<? extends Annotation> |
injectionMarker() |
asManager, collect, collect, collect, collect, collect, collectAsList, collectAsList, createMapper, createProcessor, findService, findService, getCollectedData, getTestPlugins, injectServices, process, resetState, setInputData, start, withIsolatedPackage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findInstance, findInstance, postProcessTestInstance, resolveParameter, supports, supportsParameter
public static final org.junit.jupiter.api.extension.ExtensionContext.Namespace NAMESPACE
public ComponentExtension()
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
beforeAll
in interface org.junit.jupiter.api.extension.BeforeAllCallback
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
afterAll
in interface org.junit.jupiter.api.extension.AfterAllCallback
public Class<? extends Annotation> injectionMarker()
injectionMarker
in interface JUnit5InjectionSupport
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
beforeEach
in interface org.junit.jupiter.api.extension.BeforeEachCallback
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
afterEach
in interface org.junit.jupiter.api.extension.AfterEachCallback
public void doStart(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
public void doStop(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
public void doInject(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
1.1.8-SNAPSHOT - Copyright © 2018 Talend Component Kit Documentation