public class CoreFeature extends SimpleFeature
Constructor and Description |
---|
CoreFeature() |
Modifier and Type | Method and Description |
---|---|
void |
afterRun(FeaturesRunner runner)
After tests were run.
|
void |
afterTeardown(FeaturesRunner runner)
After the call of the @After methods
|
void |
beforeRun(FeaturesRunner runner)
Before running tests.
|
void |
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods
|
void |
configure(FeaturesRunner runner,
com.google.inject.Binder binder)
Configures Guice bindings if any is required by the feature.
|
BackendType |
getBackendType() |
RepositorySettings |
getRepository() |
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
void |
setRepositorySettings(RepositorySettings settings) |
void |
start(FeaturesRunner runner)
Features are initialized.
|
afterMethodRun, beforeMethodRun, stop, testCreated
public RepositorySettings getRepository()
public BackendType getBackendType()
public void initialize(FeaturesRunner runner) throws Exception
RunnerFeature
initialize
in interface RunnerFeature
initialize
in class SimpleFeature
Exception
public void start(FeaturesRunner runner) throws Exception
RunnerFeature
start
in interface RunnerFeature
start
in class SimpleFeature
Exception
public void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeature
configure
in interface RunnerFeature
configure
in class SimpleFeature
public void beforeRun(FeaturesRunner runner) throws Exception
RunnerFeature
beforeRun
in interface RunnerFeature
beforeRun
in class SimpleFeature
Exception
public void afterRun(FeaturesRunner runner) throws Exception
RunnerFeature
afterRun
in interface RunnerFeature
afterRun
in class SimpleFeature
Exception
public void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeature
beforeSetup
in interface RunnerFeature
beforeSetup
in class SimpleFeature
runner
- TODOException
public void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeature
afterTeardown
in interface RunnerFeature
afterTeardown
in class SimpleFeature
runner
- TODOException
public void setRepositorySettings(RepositorySettings settings)
Copyright © 2013 Nuxeo SA. All Rights Reserved.