Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests')
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/.project6
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF3
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/pom.xml2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test-gen/.gitignore2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/test/generation/CompositeDiagramGenerateTestsWorkflow.xtend147
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/xtend-gen/.gitignore2
6 files changed, 2 insertions, 160 deletions
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/.project b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/.project
index 33918884858..8811fb34164 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/.project
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.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.composite.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF
index d3701ec5b1a..c59409269b4 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF
@@ -15,7 +15,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.xtend.lib;bundle-version="2.8.1",
org.eclipse.core.expressions,
org.eclipse.papyrus.infra.ui;bundle-version="[2.0.0,3.0.0)",
@@ -25,7 +24,7 @@ Export-Package: org.eclipse.papyrus.uml.diagram.composite.test,
org.eclipse.papyrus.uml.diagram.composite.test.generation
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.2.0.qualifier
+Bundle-Version: 1.2.100.qualifier
Bundle-Name: %pluginName
Bundle-Localization: plugin
Bundle-ManifestVersion: 2
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/pom.xml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/pom.xml
index b03a25f7a61..6175058a1ba 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/pom.xml
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/pom.xml
@@ -10,7 +10,7 @@
</parent>
<groupId>org.eclipse.papyrus.tests</groupId>
<artifactId>org.eclipse.papyrus.uml.diagram.composite.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.composite.tests/test-gen/.gitignore b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test-gen/.gitignore
deleted file mode 100644
index d6b7ef32c84..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test-gen/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/test/generation/CompositeDiagramGenerateTestsWorkflow.xtend b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/test/generation/CompositeDiagramGenerateTestsWorkflow.xtend
deleted file mode 100644
index d790b2699d8..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/test/generation/CompositeDiagramGenerateTestsWorkflow.xtend
+++ /dev/null
@@ -1,147 +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.composite.test.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 Composite Structure Diagram tests.
- */
-class CompositeDiagramGenerateTestsWorkflow {
-
- 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.composite.tests'
- gmfgenUri = resourceURI('/org.eclipse.papyrus.uml.diagram.composite/model/compositediagram.gmfgen')
- testSrcGenLocation = 'test-gen/'
- testModel = 'model/CompositeDiagramTest.uml'
-
- utpModuleFunction = [gmfgen, framework, utp |
- new GMFGen2UTPModule(gmfgen, framework, utp) => [
- diagramTestPackageName = 'org.eclipse.papyrus.uml.diagram.composite.test'
-
- // Nonconformant API names for this diagram
- diagramCreationCommand = 'CreateCompositeDiagramCommand';
- testConstantsInterface = 'ICompositeDiagramTestsConstants';
-
- topContainerEditPart = 'ClassCompositeEditPart';
- topNodesToTest += #[
- 'ClassCompositeEditPart',
- 'CollaborationCompositeEditPart',
- 'CommentEditPart',
- 'ConstraintEditPart',
- 'TimeObservationEditPart',
- 'DurationObservationEditPart',
- 'InformationItemEditPart',
- 'DurationEditPart',
- 'InteractionCompositeEditPart',
- 'OpaqueBehaviorCompositeEditPart',
- 'StateMachineCompositeEditPart',
- 'TimeConstraintEditPart',
- 'TimeEventEditPart',
- 'TimeExpressionEditPart',
- 'TimeIntervalEditPart',
- 'DurationConstraintEditPart',
- 'DurationIntervalEditPart'
-
- /*,
- 'ActivityEditPart',
- 'ActorEditPart',
- 'AnyReceiveEventEditPart',
- 'ArtifactEditPart',
- 'CallEventEditPart',
- 'ChangeEventEditPart',
- 'ComponentEditPart',
- 'DataTypeEditPart',
- 'DeploymentSpecificationEditPart',
- 'DeviceEditPart',
- 'EnumerationEditPart',
- 'ExecutionEnvironmentEditPart',
- 'ExpressionEditPart',
- 'FunctionBehaviorEditPart',
- 'InstanceValueEditPart',
- 'InteractionConstraintEditPart',
- 'InterfaceEditPart',
- 'IntervalEditPart',
- 'IntervalConstraintEditPart',
- 'LiteralBooleanEditPart',
- 'LiteralIntegerEditPart',
- 'LiteralNullEditPart',
- 'LiteralStringEditPart',
- 'LiteralUnlimitedNaturalEditPart',
- 'NodeEditPart',
- 'OpaqueExpressionEditPart',
- 'PrimitiveTypeEditPart',
- 'ProtocolStateMachineEditPart',
- 'SignalEditPart',
- 'SignalEventEditPart',
- 'StringExpressionEditPart',
- 'UseCaseEditPart'
- */
- ]
- childNodesToTest += #[
- 'PropertyPartEditPartCN',
- 'CollaborationUseEditPartCN',
- 'CollaborationCompositeEditPartCN',
- 'CommentEditPartCN',
- 'ProtocolStateMachineCompositeEditPartCN',
- 'FunctionBehaviorCompositeEditPartCN',
- 'OpaqueBehaviorCompositeEditPartCN',
- 'InformationItemEditPartCN',
- 'DurationConstraintEditPartCN',
- 'TimeConstraintEditPartCN'
-
- /*
- 'ActivityCompositeEditPartCN',
- 'InteractionCompositeEditPartCN',
- 'StateMachineCompositeEditPartCN',
- 'ComponentCompositeEditPartCN',
- 'DeviceCompositeEditPartCN',
- 'ExecutionEnvironmentCompositeEditPartCN',
- 'NodeCompositeEditPartCN',
- 'ClassCompositeEditPartCN',
- 'InterfaceEditPartCN',
- 'PrimitiveTypeEditPartCN',
- 'EnumerationEditPartCN',
- 'DataTypeEditPartCN',
- 'ActorEditPartCN',
- 'DeploymentSpecificationEditPartCN',
- 'ArtifactEditPartCN',
- 'SignalEditPartCN',
- 'UseCaseEditPartCN',
- 'IntervalConstraintEditPartCN',
- 'InteractionConstraintEditPartCN',
- 'ConstraintEditPartCN'
- */
- ]
- ]
- ]
-
- except [
- editPart [
- kind = interactive
- reason = 'Pops up a dialog to configure the element.'
- editPart = named('CollaborationRoleEditPartCN')
- ]
- ]
-
- run(new WorkflowContextImpl);
- }
-
-}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/xtend-gen/.gitignore b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/xtend-gen/.gitignore
deleted file mode 100644
index d6b7ef32c84..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/xtend-gen/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore

Back to the top