Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.test
Class TransactionalFeature

java.lang.Object
  extended by org.nuxeo.runtime.test.runner.SimpleFeature
      extended by org.nuxeo.ecm.core.test.TransactionalFeature
All Implemented Interfaces:
RunnerFeature

public class TransactionalFeature
extends SimpleFeature


Constructor Summary
TransactionalFeature()
           
 
Method Summary
 void afterRun(FeaturesRunner runner)
          After tests were run.
 void beforeRun(FeaturesRunner runner)
          Before running tests.
 void initialize(FeaturesRunner runner)
          Called when preparing to run the test class.
 void start(FeaturesRunner runner)
          Features are initialized.
 
Methods inherited from class org.nuxeo.runtime.test.runner.SimpleFeature
afterMethodRun, beforeMethodRun, configure, stop, testCreated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalFeature

public TransactionalFeature()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.