public class TransactionalFeature extends SimpleFeature
| Modifier and Type | Field and Description |
|---|---|
protected String |
autoactivationValue |
protected TransactionalConfig |
config |
protected Class<? extends RepositoryFactory> |
defaultFactory |
protected boolean |
nsOwner |
protected boolean |
txStarted |
| Constructor and Description |
|---|
TransactionalFeature() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTeardown(FeaturesRunner runner)
After the call of the @After methods
|
void |
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods
|
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
afterMethodRun, afterRun, beforeMethodRun, beforeRun, configure, start, stop, testCreatedprotected TransactionalConfig config
protected String autoactivationValue
protected boolean nsOwner
protected boolean txStarted
protected Class<? extends RepositoryFactory> defaultFactory
public TransactionalFeature()
public void initialize(FeaturesRunner runner) throws Exception
RunnerFeatureinitialize in interface RunnerFeatureinitialize in class SimpleFeatureExceptionpublic void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeaturebeforeSetup in interface RunnerFeaturebeforeSetup in class SimpleFeatureExceptionpublic void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeatureafterTeardown in interface RunnerFeatureafterTeardown in class SimpleFeatureExceptionCopyright © 2016 Nuxeo SA. All rights reserved.