public class CoreFeature extends SimpleFeature
Constructor and Description |
---|
CoreFeature() |
Modifier and Type | Method and Description |
---|---|
void |
afterMethodRun(FeaturesRunner runner,
org.junit.runners.model.FrameworkMethod method,
Object test)
After a test method was ran.
|
void |
afterRun(FeaturesRunner runner)
After tests were run.
|
void |
beforeMethodRun(FeaturesRunner runner,
org.junit.runners.model.FrameworkMethod method,
Object test)
Before a test method is invoked.
|
void |
beforeRun(FeaturesRunner runner)
Before running tests.
|
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.
|
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 beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeature
beforeMethodRun
in interface RunnerFeature
beforeMethodRun
in class SimpleFeature
Exception
public void afterRun(FeaturesRunner runner) throws Exception
RunnerFeature
afterRun
in interface RunnerFeature
afterRun
in class SimpleFeature
Exception
public void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeature
afterMethodRun
in interface RunnerFeature
afterMethodRun
in class SimpleFeature
Exception
public void setRepositorySettings(RepositorySettings settings)
Copyright © 2011 Nuxeo SA. All Rights Reserved.