Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2018-02-15 11:10:08 -0500
committerQuentin Le Menez2018-03-11 10:42:01 -0400
commitba98ab1ef4202d0489df0ae2dd2aee8fe6f378d4 (patch)
tree5b68b2fd4d2a6880266ccecb9d8cda14b6cb4d48 /tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests
parent78ad0c42795a50af4352c87fc2ac17813a4dac28 (diff)
downloadorg.eclipse.papyrus-ba98ab1ef4202d0489df0ae2dd2aee8fe6f378d4.tar.gz
org.eclipse.papyrus-ba98ab1ef4202d0489df0ae2dd2aee8fe6f378d4.tar.xz
org.eclipse.papyrus-ba98ab1ef4202d0489df0ae2dd2aee8fe6f378d4.zip
Bug 531190 - [Releng] Remove generated tests framework and plugins
- Remove the generated tests framework - Remove the associated dev plugins and nature to the tests plugins - Remove the xtend files for test generation - Remove the outdated all encompassing test suite - Rewire the dev menu plugin to plain old src instead of src/main/java - Move the junit framework plugins to the root of the junit test folder Change-Id: Id2c0c18762c7c917de93430d3ace2f48940c1297 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests')
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/.project6
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF3
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/model/.gitignore1
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/pom.xml2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/src/org/eclipse/papyrus/uml/diagram/timing/tests/generation/TimingDiagramGenerateTestsWorkflow.xtend94
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/test-gen/.gitignore2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/xtend-gen/.gitignore2
7 files changed, 2 insertions, 108 deletions
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/.project b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/.project
index 483711a39a0..3c97fa2b945 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/.project
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/.project
@@ -25,16 +25,10 @@
<arguments>
</arguments>
</buildCommand>
- <buildCommand>
- <name>org.eclipse.papyrus.dev.tests.framework.builder</name>
- <arguments>
- </arguments>
- </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
- <nature>org.eclipse.papyrus.dev.tests.framework.nature</nature>
</natures>
</projectDescription>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF
index d01218ab6ee..86c8eaf5148 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF
@@ -16,7 +16,6 @@ Require-Bundle: org.eclipse.ui,
org.junit;bundle-version="4.10.0",
org.eclipse.papyrus.junit.framework;bundle-version="[1.2.0,2.0.0)",
org.eclipse.papyrus.junit.utils;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.papyrus.tests.framework;bundle-version="[1.2.0,2.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="[1.2.0,2.0.0)",
org.eclipse.xtend.lib;bundle-version="2.8.1",
org.eclipse.papyrus.infra.ui;bundle-version="[2.0.0,3.0.0)"
@@ -26,7 +25,7 @@ Export-Package: org.eclipse.papyrus.uml.diagram.timing.tests,
org.eclipse.papyrus.uml.diagram.timing.tests.generic
Bundle-Vendor: Eclipse Modeling Project
Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.2.0.qualifier
+Bundle-Version: 1.2.100.qualifier
Bundle-Name: Papyrus Timing Diagram Tests
Bundle-ManifestVersion: 2
Bundle-Activator: org.eclipse.papyrus.uml.diagram.timing.tests.Activator
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/model/.gitignore b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/model/.gitignore
deleted file mode 100644
index 1def87a3abb..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/model/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/TimingDiagramTest.uml
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/pom.xml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/pom.xml
index 6676b60e9b0..b331afdb6a4 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/pom.xml
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/pom.xml
@@ -10,7 +10,7 @@
</parent>
<groupId>org.eclipse.papyrus.tests</groupId>
<artifactId>org.eclipse.papyrus.uml.diagram.timing.tests</artifactId>
- <version>1.2.0-SNAPSHOT</version>
+ <version>1.2.100-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<properties>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/src/org/eclipse/papyrus/uml/diagram/timing/tests/generation/TimingDiagramGenerateTestsWorkflow.xtend b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/src/org/eclipse/papyrus/uml/diagram/timing/tests/generation/TimingDiagramGenerateTestsWorkflow.xtend
deleted file mode 100644
index 6a687e98e60..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/src/org/eclipse/papyrus/uml/diagram/timing/tests/generation/TimingDiagramGenerateTestsWorkflow.xtend
+++ /dev/null
@@ -1,94 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2014, 2015 CEA LIST, Christian W. Damus, 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:
- * CEA LIST - Initial API and implementation
- * Christian W. Damus - bug 464647
- *
- ******************************************************************************/
-package org.eclipse.papyrus.uml.diagram.timing.tests.generation
-
-import org.eclipse.emf.mwe2.runtime.workflow.WorkflowContextImpl
-import org.eclipse.papyrus.tests.framework.mwe.GenerateTestsWorkflow
-import org.eclipse.papyrus.tests.framework.gmfgenuml2utp.GMFGen2UTPModule
-
-/**
- * Xtend program for the generation of the Timing Diagram tests.
- */
-class TimingDiagramGenerateTestsWorkflow {
-
- def static void main(String[] args) {
- val workflow = new GenerateTestsWorkflow()
- runWorkflow(workflow);
- }
-
- def static void runWorkflow(extension GenerateTestsWorkflow workflow) {
- testProjectName = 'org.eclipse.papyrus.uml.diagram.timing.tests'
- gmfgenUri = resourceURI('/org.eclipse.papyrus.uml.diagram.timing/model/timingdiagram.gmfgen')
- testSrcGenLocation = 'test-gen/'
- testModel = 'model/TimingDiagramTest.uml'
-
- utpModuleFunction = [gmfgen, framework, utp |
- new GMFGen2UTPModule(gmfgen, framework, utp) => [
- diagramTestPackageName = 'org.eclipse.papyrus.uml.diagram.timing.test'
- topContainerEditPart = 'InteractionEditPartTN';
- topNodesToTest += #[
- 'InteractionEditPartTN'
- ]
- childNodesToTest += #[
- 'FullLifelineEditPartCN',
- 'CompactLifelineEditPartCN',
- 'FullStateInvariantEditPartCN',
- 'CompactStateInvariantEditPartCN',
- 'OccurrenceSpecificationEditPartCN',
- 'MessageOccurrenceSpecificationEditPartCN',
- 'TimeConstraintEditPart',
- 'TimeObservationEditPart',
- 'DurationConstraintEditPartCN',
- 'DurationObservationEditPartCN',
- 'GeneralOrderingEditPart',
- 'DestructionOccurrenceSpecificationEditPartCN',
- 'LifelineEditPart'
- ]
- linksToTest += #[
- 'MessageSyncEditPart',
- 'MessageAsyncEditPart',
- 'MessageReplyEditPart',
- 'MessageCreateEditPart',
- 'MessageDeleteEditPart',
- 'MessageLostEditPart',
- 'MessageFoundEditPart'
- ]
- linksOwnedBySourceToTest += #[
- 'GeneralizationEditPart'
- ]
- elementTypesAppearanceTests += #[
- 'InteractionEditPartTN'
- ]
- elementTypesDropTests += #[
- 'InteractionEditPartTN',
- 'FullLifelineEditPartCN',
- 'CompactLifelineEditPartCN',
- 'FullStateInvariantEditPartCN',
- 'CompactStateInvariantEditPartCN',
- 'OccurrenceSpecificationEditPartCN',
- 'MessageOccurrenceSpecificationEditPartCN',
- 'TimeConstraintEditPart',
- 'TimeObservationEditPart',
- 'DurationConstraintEditPartCN',
- 'DurationObservationEditPartCN',
- 'GeneralOrderingEditPart',
- 'DestructionOccurrenceSpecificationEditPartCN',
- 'LifelineEditPart'
- ]
- ]
- ]
-
- run(new WorkflowContextImpl);
- }
-
-}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/test-gen/.gitignore b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/test-gen/.gitignore
deleted file mode 100644
index d6b7ef32c84..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/test-gen/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/xtend-gen/.gitignore b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/xtend-gen/.gitignore
deleted file mode 100644
index d6b7ef32c84..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/xtend-gen/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore

Back to the top