Class WebDriverFeature
- java.lang.Object
-
- org.nuxeo.runtime.test.runner.web.WebDriverFeature
-
- All Implemented Interfaces:
RunnerFeature
public class WebDriverFeature extends Object implements RunnerFeature
-
-
Constructor Summary
Constructors Constructor Description WebDriverFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.test.runner.RunnerFeature
afterMethodRun, afterRun, afterTeardown, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, beforeSetup, start, testCreated
-
-
-
-
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 interfaceRunnerFeature
- 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 interfaceRunnerFeature
-
stop
public void stop(FeaturesRunner runner)
Description copied from interface:RunnerFeature
Before exiting the test.- Specified by:
stop
in interfaceRunnerFeature
-
-