Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2018-05-02 12:03:20 +0000
committerEike Stepper2018-05-02 12:03:20 +0000
commit7bc3406e5f95c4b3d5e9ffaac4b5a02efe927147 (patch)
tree4ff4e028be1f79343df552c8a0f31c081d582653 /plugins
parent337b745af75ab864630044b9dc525096dbd95b51 (diff)
downloadcdo-7bc3406e5f95c4b3d5e9ffaac4b5a02efe927147.tar.gz
cdo-7bc3406e5f95c4b3d5e9ffaac4b5a02efe927147.tar.xz
cdo-7bc3406e5f95c4b3d5e9ffaac4b5a02efe927147.zip
[Releng] Enhance AllTestsDBH2All
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.db/CDO AllTests (H2 ALL).launch3
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/AllTestsDBH2All.java23
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);
}

Back to the top