diff options
author | Stefan Winkler | 2011-12-15 11:26:57 +0000 |
---|---|---|
committer | Stefan Winkler | 2011-12-15 11:26:57 +0000 |
commit | f5cd908ee487c4e4bf80722b0ad27958a342aa75 (patch) | |
tree | a33daf043bf6df8bb1061f2c2aa525b20e34b48c /plugins/org.eclipse.emf.cdo.tests.db | |
parent | 6a8157025439c0f2c43f9153acd5e9be9f863bce (diff) | |
download | cdo-f5cd908ee487c4e4bf80722b0ad27958a342aa75.tar.gz cdo-f5cd908ee487c4e4bf80722b0ad27958a342aa75.tar.xz cdo-f5cd908ee487c4e4bf80722b0ad27958a342aa75.zip |
[237158] Provide Performance TestCase
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237158
Added DB-store test scenario
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.db')
2 files changed, 51 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.db/CDO Performance Tests (H2 non-audit).launch b/plugins/org.eclipse.emf.cdo.tests.db/CDO Performance Tests (H2 non-audit).launch new file mode 100644 index 0000000000..c298a87ed8 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.db/CDO Performance Tests (H2 non-audit).launch @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.jdt.junit.launchconfig"> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> +<listEntry value="/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/performance/AllPerformanceTestsH2NonAudit.java"/> +</listAttribute> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> +<listEntry value="1"/> +</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=""/> +<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/> +<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.cdo.tests.db.performance.AllPerformanceTestsH2NonAudit"/> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.emf.cdo.tests.db"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms40m -Xmx1024m -Dorg.eclipse.net4j.util.om.trace.disable=true"/> +</launchConfiguration> diff --git a/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/performance/AllPerformanceTestsH2NonAudit.java b/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/performance/AllPerformanceTestsH2NonAudit.java new file mode 100644 index 0000000000..32b3689c3e --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/performance/AllPerformanceTestsH2NonAudit.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Stefan Winkler - initial API and implementation + */ +package org.eclipse.emf.cdo.tests.db.performance; + +import org.eclipse.emf.cdo.common.CDOCommonRepository.IDGenerationLocation; +import org.eclipse.emf.cdo.tests.db.H2Config; +import org.eclipse.emf.cdo.tests.performance.AllPerformanceTests; + +import junit.framework.Test; +import junit.framework.TestSuite; + +/** + * @author Stefan Winkler + */ +public class AllPerformanceTestsH2NonAudit extends AllPerformanceTests +{ + public static Test suite() + { + return new AllPerformanceTestsH2NonAudit().getTestSuite(AllPerformanceTestsH2NonAudit.class.getName()); + } + + @Override + protected void initConfigSuites(TestSuite parent) + { + addScenario(parent, COMBINED, new H2Config(false, false, false, false, IDGenerationLocation.STORE), JVM, NATIVE); + } +} |