Package org.talend.sdk.component.junit
Class SimpleComponentRule
- java.lang.Object
-
- org.talend.sdk.component.junit.BaseComponentsHandler
-
- org.talend.sdk.component.junit.SimpleComponentRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
,ComponentsHandler
public class SimpleComponentRule extends BaseComponentsHandler implements org.junit.rules.TestRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.talend.sdk.component.junit.BaseComponentsHandler
BaseComponentsHandler.EmbeddedComponentManager, BaseComponentsHandler.Outputs, BaseComponentsHandler.State
-
-
Field Summary
-
Fields inherited from class org.talend.sdk.component.junit.BaseComponentsHandler
isolatedPackages, packageName, STATE
-
-
Constructor Summary
Constructors Constructor Description SimpleComponentRule(String packageName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
SimpleComponentRule
withIsolatedPackage(String pck, String... packages)
-
Methods inherited from class org.talend.sdk.component.junit.BaseComponentsHandler
asManager, collect, collect, collect, collect, collect, collectAsList, collectAsList, createMapper, createProcessor, findService, findService, getCollectedData, getTestPlugins, injectServices, process, resetState, setInputData, start
-
-
-
-
Constructor Detail
-
SimpleComponentRule
public SimpleComponentRule(String packageName)
-
-
Method Detail
-
withIsolatedPackage
public SimpleComponentRule withIsolatedPackage(String pck, String... packages)
- Overrides:
withIsolatedPackage
in classBaseComponentsHandler
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
- Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
-