Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.test.runner.web
Class WebDriverFeature

java.lang.Object
  extended by org.nuxeo.runtime.test.runner.SimpleFeature
      extended by org.nuxeo.runtime.test.runner.web.WebDriverFeature
All Implemented Interfaces:
RunnerFeature

public class WebDriverFeature
extends SimpleFeature


Constructor Summary
WebDriverFeature()
           
 
Method Summary
 void configure(FeaturesRunner runner, com.google.inject.Binder binder)
          Configures Guice bindings if any is required by the feature.
 void initialize(FeaturesRunner runner)
          Called when preparing to run the test class.
 void stop(FeaturesRunner runner)
          Before exiting the test.
 
Methods inherited from class org.nuxeo.runtime.test.runner.SimpleFeature
afterMethodRun, afterRun, beforeMethodRun, beforeRun, start, testCreated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDriverFeature

public WebDriverFeature()
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

configure

public void configure(FeaturesRunner runner,
                      com.google.inject.Binder binder)
Description copied from interface: RunnerFeature
Configures Guice bindings if any is required by the feature. This is called after the framework is started and before Guice module is built. The tests are launched after guice module is built.

Specified by:
configure in interface RunnerFeature
Overrides:
configure in class SimpleFeature

stop

public void stop(FeaturesRunner runner)
          throws Exception
Description copied from interface: RunnerFeature
Before exiting the test.

Specified by:
stop in interface RunnerFeature
Overrides:
stop in class SimpleFeature
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.