Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2018-10-18 16:34:32 +0000
committerQuentin Le Menez2018-10-18 16:34:32 +0000
commit9f8fddd820e0f9f4488f1dbebce270d97bab2ba6 (patch)
treef4cc76bbcd0f3d65f9259a5d46faed95b9d28a71 /cdo/benchmarks/org.eclipse.papyrus.cdo.benchmarks/src/org/eclipse/papyrus/cdo/benchmarks/tests/CDOUniqueIndexCreationTest.java
parentecd1dcd809a49ab48ee59032ea4d0aadf91cf6dc (diff)
downloadorg.eclipse.papyrus-collaborativemodeling-9f8fddd820e0f9f4488f1dbebce270d97bab2ba6.tar.gz
org.eclipse.papyrus-collaborativemodeling-9f8fddd820e0f9f4488f1dbebce270d97bab2ba6.tar.xz
org.eclipse.papyrus-collaborativemodeling-9f8fddd820e0f9f4488f1dbebce270d97bab2ba6.zip
[Releng] Update the repository architecture
- Move all the sub-modules to the root - Delete the now obsolete root releng configuration Change-Id: I32352bbc949111c523b606107ac3fa3110e2dd95 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'cdo/benchmarks/org.eclipse.papyrus.cdo.benchmarks/src/org/eclipse/papyrus/cdo/benchmarks/tests/CDOUniqueIndexCreationTest.java')
-rwxr-xr-xcdo/benchmarks/org.eclipse.papyrus.cdo.benchmarks/src/org/eclipse/papyrus/cdo/benchmarks/tests/CDOUniqueIndexCreationTest.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/cdo/benchmarks/org.eclipse.papyrus.cdo.benchmarks/src/org/eclipse/papyrus/cdo/benchmarks/tests/CDOUniqueIndexCreationTest.java b/cdo/benchmarks/org.eclipse.papyrus.cdo.benchmarks/src/org/eclipse/papyrus/cdo/benchmarks/tests/CDOUniqueIndexCreationTest.java
new file mode 100755
index 00000000..55739ab6
--- /dev/null
+++ b/cdo/benchmarks/org.eclipse.papyrus.cdo.benchmarks/src/org/eclipse/papyrus/cdo/benchmarks/tests/CDOUniqueIndexCreationTest.java
@@ -0,0 +1,50 @@
+/*****************************************************************************
+ * Copyright (c) 2018 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.cdo.benchmarks.tests;
+
+import org.eclipse.gmf.runtime.emf.type.core.IHintedType;
+
+/**
+ * @author VL222926
+ *
+ */
+public class CDOUniqueIndexCreationTest extends AbstractUniqueIndexCreationTest {
+
+ /**
+ * @see org.eclipse.papyrus.cdo.benchmarks.tests.AbstractPerfTest#createPapyrusModelCreation()
+ *
+ * @return
+ */
+ @Override
+ protected IPapyrusModelCreation createPapyrusModelCreation() {
+ return new CDOPapyrusModelCreation();
+ }
+
+ /**
+ * @see org.eclipse.papyrus.cdo.benchmarks.tests.AbstractPerfTest#createTimeExecutionHelper(int, IHintedType)
+ *
+ * @param nbClasses
+ * @return
+ */
+ @Override
+ protected ExecutionTimeHelper createTimeExecutionHelper(int nbClasses, IHintedType elementType) {
+ final String id = elementType.getId();
+ ExecutionTimeHelper helper = new ExecutionTimeHelper("CDO Project: Create " + nbClasses + " " + id + " with Unique Index.", ExecutionTimeHelper.CDO_TYPE, nbClasses, id);
+ merger.addTimeHelper(helper);
+ return helper;
+ }
+
+}

Back to the top