|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.test.runner.SimpleFeature org.nuxeo.ecm.core.test.CoreFeature
public class CoreFeature
The core feature provides deployments needed to have a nuxeo core running. Several annotations can be used:
Constructor Summary | |
---|---|
CoreFeature()
|
Method Summary | |
---|---|
void |
afterMethodRun(FeaturesRunner runner,
org.junit.runners.model.FrameworkMethod method,
java.lang.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()
|
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. |
Methods inherited from class org.nuxeo.runtime.test.runner.SimpleFeature |
---|
beforeMethodRun, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreFeature()
Method Detail |
---|
public RepositorySettings getRepository()
public BackendType getBackendType()
public void initialize(FeaturesRunner runner) throws java.lang.Exception
RunnerFeature
initialize
in interface RunnerFeature
initialize
in class SimpleFeature
java.lang.Exception
public void start(FeaturesRunner runner) throws java.lang.Exception
RunnerFeature
start
in interface RunnerFeature
start
in class SimpleFeature
java.lang.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 java.lang.Exception
RunnerFeature
beforeRun
in interface RunnerFeature
beforeRun
in class SimpleFeature
java.lang.Exception
public void afterRun(FeaturesRunner runner) throws java.lang.Exception
RunnerFeature
afterRun
in interface RunnerFeature
afterRun
in class SimpleFeature
java.lang.Exception
public void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, java.lang.Object test) throws java.lang.Exception
RunnerFeature
afterMethodRun
in interface RunnerFeature
afterMethodRun
in class SimpleFeature
java.lang.Exception
public void setRepositorySettings(RepositorySettings settings)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |