diff options
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests.db/CDO AllTests (H2 ALL).launch | 3 | ||||
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/AllTestsDBH2All.java | 23 |
2 files changed, 26 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.db/CDO AllTests (H2 ALL).launch b/plugins/org.eclipse.emf.cdo.tests.db/CDO AllTests (H2 ALL).launch index b0ca4b8b58..358f86aa29 100644 --- a/plugins/org.eclipse.emf.cdo.tests.db/CDO AllTests (H2 ALL).launch +++ b/plugins/org.eclipse.emf.cdo.tests.db/CDO AllTests (H2 ALL).launch @@ -10,6 +10,9 @@ <listEntry value="org.eclipse.debug.ui.launchGroup.debug"/> <listEntry value="org.eclipse.debug.ui.launchGroup.run"/> </listAttribute> +<listAttribute key="org.eclipse.eclemma.core.SCOPE_IDS"> +<listEntry value="=org.eclipse.emf.cdo.server.db/src"/> +</listAttribute> <stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> <booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> <stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> diff --git a/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/AllTestsDBH2All.java b/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/AllTestsDBH2All.java index 4ca53ca581..fc9b826952 100644 --- a/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/AllTestsDBH2All.java +++ b/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/AllTestsDBH2All.java @@ -21,6 +21,8 @@ import junit.framework.TestSuite; */ public class AllTestsDBH2All extends DBConfigs { + private static final boolean ALL_SCENARIOS = false; + public static Test suite() { return new AllTestsDBH2All().getTestSuite(); @@ -29,8 +31,29 @@ public class AllTestsDBH2All extends DBConfigs @Override protected void initConfigSuites(TestSuite parent) { + // OMPlatform.INSTANCE.setDebugging(true); + // org.eclipse.emf.cdo.server.internal.db.bundle.OM.BUNDLE.getDebugSupport().setDebugging(true); + // org.eclipse.emf.cdo.server.internal.db.bundle.OM.DEBUG.setEnabled(true); + // org.eclipse.emf.cdo.server.internal.db.bundle.OM.DEBUG_UNITS.setEnabled(true); + addScenario(parent, new H2Config(), JVM, NATIVE); + + if (ALL_SCENARIOS) + { + addScenario(parent, new H2Config().idGenerationLocation(IDGenerationLocation.CLIENT), JVM, NATIVE); + addScenario(parent, new H2Config().supportingAudits(true), JVM, NATIVE); + addScenario(parent, new H2Config().supportingAudits(true).idGenerationLocation(IDGenerationLocation.CLIENT), JVM, NATIVE); + } + addScenario(parent, new H2Config().supportingAudits(true).withRanges(true), JVM, NATIVE); + + if (ALL_SCENARIOS) + { + addScenario(parent, new H2Config().supportingAudits(true).withRanges(true).idGenerationLocation(IDGenerationLocation.CLIENT), JVM, NATIVE); + addScenario(parent, new H2Config().supportingBranches(true), JVM, NATIVE); + addScenario(parent, new H2Config().supportingBranches(true).idGenerationLocation(IDGenerationLocation.CLIENT), JVM, NATIVE); + } + addScenario(parent, new H2Config().supportingBranches(true).withRanges(true), JVM, NATIVE); addScenario(parent, new H2Config().supportingBranches(true).withRanges(true).idGenerationLocation(IDGenerationLocation.CLIENT), JVM, NATIVE); } |