Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.test
Class MultiNuxeoCoreRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<FeaturesRunner>
          extended by 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


Constructor Summary
MultiNuxeoCoreRunner(Class<?> testClass, org.junit.runners.model.RunnerBuilder builder)
           
MultiNuxeoCoreRunner(org.junit.runners.model.RunnerBuilder builder, Class<?> testClass, Class<?>[] classes, RepositorySettings[] repoTypes)
           
 
Method Summary
 
Methods inherited from class org.junit.runners.ParentRunner
filter, getDescription, getTestClass, run, setScheduler, sort
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.