org.nuxeo.ecm.core.test
Class TransactionalFeature
java.lang.Object
org.nuxeo.runtime.test.runner.SimpleFeature
org.nuxeo.ecm.core.test.TransactionalFeature
- All Implemented Interfaces:
- RunnerFeature
public class TransactionalFeature
- extends SimpleFeature
TransactionalFeature
public TransactionalFeature()
initialize
public void initialize(FeaturesRunner runner)
throws Exception
- Description copied from interface:
RunnerFeature
- Called when preparing to run the test class. Framework is not started at this point.
Here is time for the feature to configure the runner from annotations on the test class.
- Specified by:
initialize
in interface RunnerFeature
- Overrides:
initialize
in class SimpleFeature
- Throws:
Exception
start
public void start(FeaturesRunner runner)
throws Exception
- Description copied from interface:
RunnerFeature
- Features are initialized. Runner is ready to create the injector.
- Specified by:
start
in interface RunnerFeature
- Overrides:
start
in class SimpleFeature
- Throws:
Exception
beforeRun
public void beforeRun(FeaturesRunner runner)
throws Exception
- Description copied from interface:
RunnerFeature
- Before running tests. At this point Guice modules are registered and injector created.
- Specified by:
beforeRun
in interface RunnerFeature
- Overrides:
beforeRun
in class SimpleFeature
- Throws:
Exception
afterRun
public void afterRun(FeaturesRunner runner)
throws Exception
- Description copied from interface:
RunnerFeature
- After tests were run.
- Specified by:
afterRun
in interface RunnerFeature
- Overrides:
afterRun
in class SimpleFeature
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.