Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2018-02-15 16:10:08 +0000
committerQuentin Le Menez2018-03-11 14:42:01 +0000
commitba98ab1ef4202d0489df0ae2dd2aee8fe6f378d4 (patch)
tree5b68b2fd4d2a6880266ccecb9d8cda14b6cb4d48 /tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/test/generation/CompositeDiagramGenerateTestsWorkflow.xtend
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.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/test/generation/CompositeDiagramGenerateTestsWorkflow.xtend')
-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
1 files changed, 0 insertions, 147 deletions
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);
- }
-
-}

Back to the top