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