Jump to: navigation, search


Revision as of 03:38, 12 April 2011 by Sebastian.paul.ext.siemens.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CDO test framework

There are a number of test models:

/org.eclipse.emf.cdo.tests.mango /org.eclipse.emf.cdo.tests.model1 /org.eclipse.emf.cdo.tests.model2 /org.eclipse.emf.cdo.tests.model3 /org.eclipse.emf.cdo.tests.model4 /org.eclipse.emf.cdo.tests.model4interfaces /org.eclipse.emf.cdo.tests.model5

And almost 1500 test cases mostly in these packages:

org.eclipse.emf.cdo.tests org.eclipse.emf.cdo.tests.bugzilla

You don't have to care for repository setup in most situations. Just call openSession() (once or multiple times) and write any client test logic on the returned session. The framework can execute these tests in multiple IScenarios, which are each specified in terms of currently 4 IConfig dimensions:

org.eclipse.emf.cdo.tests.config.IScenario.getContainerConfig() org.eclipse.emf.cdo.tests.config.IScenario.getRepositoryConfig() org.eclipse.emf.cdo.tests.config.IScenario.getSessionConfig() org.eclipse.emf.cdo.tests.config.IScenario.getModelConfig()