public class MultiRepositoriesCoreFeature extends SimpleFeature
Constructor and Description |
---|
MultiRepositoriesCoreFeature() |
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 |
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(String name) |
RepositorySettings |
getRepository(String name) |
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
void |
setRepositorySettings(RepositorySettings settings) |
void |
start(FeaturesRunner runner)
Features are initialized.
|
afterTeardown, beforeMethodRun, beforeSetup, stop, testCreated
public RepositorySettings getRepository(String name)
public BackendType getBackendType(String name)
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 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 © 2013 Nuxeo SA. All Rights Reserved.