Class BaseEnvironmentProvider
java.lang.Object
org.talend.sdk.component.junit.environment.BaseEnvironmentProvider
- All Implemented Interfaces:
EnvironmentProvider
- Direct Known Subclasses:
ClassLoaderEnvironment
,ContextualEnvironment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AutoCloseable
doStart
(Class<?> clazz, Annotation[] annotations) getName()
final AutoCloseable
start
(Class<?> clazz, Annotation[] annotations) Starts the environment represented by this implementation.
-
Constructor Details
-
BaseEnvironmentProvider
public BaseEnvironmentProvider()
-
-
Method Details
-
start
Description copied from interface:EnvironmentProvider
Starts the environment represented by this implementation.- Specified by:
start
in interfaceEnvironmentProvider
- Parameters:
clazz
- the test class.annotations
- the current annotations which can own environment configuration.- Returns:
- a closeable to release current environment.
-
getName
-
doStart
-