org.nuxeo.ecm.core.test
Class MultiNuxeoCoreRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<FeaturesRunner>
org.nuxeo.ecm.core.test.MultiNuxeoCoreRunner
- All Implemented Interfaces:
- Describable, Filterable, Sortable
public class MultiNuxeoCoreRunner
- extends ParentRunner<FeaturesRunner>
JUnit4 ParentRunner that knows how to run a test class on multiple backend
types.
To use it :
@RunWith(MultiNuxeoCoreRunner.class)
@SuiteClasses(SimpleSession.class)
@Repositories( { RepoType.H2, RepoType.JCR, RepoType.POSTGRES })
public class NuxeoSuiteTest {
}
With SimpleSession.class being a class to be run with NuxeoCoreRunner
MultiNuxeoCoreRunner
public MultiNuxeoCoreRunner(Class<?> testClass,
org.junit.runners.model.RunnerBuilder builder)
throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
MultiNuxeoCoreRunner
public MultiNuxeoCoreRunner(org.junit.runners.model.RunnerBuilder builder,
Class<?> testClass,
Class<?>[] classes,
RepositorySettings[] repoTypes)
throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
Copyright © 2011 Nuxeo SAS. All Rights Reserved.