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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiNuxeoCoreRunner
public MultiNuxeoCoreRunner(java.lang.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,
java.lang.Class<?> testClass,
java.lang.Class<?>[] classes,
RepositorySettings[] repoTypes)
throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
Copyright © 2010 Nuxeo SAS. All Rights Reserved.