diff options
Diffstat (limited to 'tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/src/org/eclipse/papyrus/uml/diagram/component/test/canonical/TestComponentDiagramConstraintLink.java')
-rw-r--r-- | tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/src/org/eclipse/papyrus/uml/diagram/component/test/canonical/TestComponentDiagramConstraintLink.java | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/src/org/eclipse/papyrus/uml/diagram/component/test/canonical/TestComponentDiagramConstraintLink.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/src/org/eclipse/papyrus/uml/diagram/component/test/canonical/TestComponentDiagramConstraintLink.java index a81b4752c96..879effbb409 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/src/org/eclipse/papyrus/uml/diagram/component/test/canonical/TestComponentDiagramConstraintLink.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/src/org/eclipse/papyrus/uml/diagram/component/test/canonical/TestComponentDiagramConstraintLink.java @@ -1,52 +1,52 @@ -/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- *
- * 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:
- * Nizar GUEDIDI (CEA LIST) - Initial API and implementation
- /*****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.component.test.canonical;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.updater.DiagramUpdater;
-import org.eclipse.papyrus.commands.ICreationCommand;
-import org.eclipse.papyrus.uml.diagram.component.CreateComponentDiagramCommand;
-import org.eclipse.papyrus.uml.diagram.component.part.UMLDiagramUpdater;
-import org.eclipse.papyrus.uml.diagram.component.providers.UMLElementTypes;
-import org.eclipse.papyrus.uml.diagram.component.test.IComponentDiagramTestsConstants;
-import org.eclipse.papyrus.uml.diagram.tests.canonical.TestConstraintLink;
-import org.junit.Test;
-
-public class TestComponentDiagramConstraintLink extends TestConstraintLink {
-
- @Override
- public DiagramUpdater getDiagramUpdater() {
- return UMLDiagramUpdater.INSTANCE;
- }
- @Override
- protected ICreationCommand getDiagramCommandCreation() {
- return new CreateComponentDiagramCommand();
- }
-
- @Override
- protected String getProjectName() {
- return IComponentDiagramTestsConstants.PROJECT_NAME;
- }
-
- @Override
- protected String getFileName() {
- return IComponentDiagramTestsConstants.FILE_NAME;
- }
-
- /**
- * Test to manage Constraint
- */
- @Test
- public void testToManageConstraint() {
- testToManageLink(UMLElementTypes.Constraint_Shape, UMLElementTypes.Package_Shape, UMLElementTypes.Constraint_ConstrainedElementEdge, UMLElementTypes.Package_Shape, true);
- }
-}
+/***************************************************************************** + * Copyright (c) 2013 CEA LIST. + * + * + * 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: + * Nizar GUEDIDI (CEA LIST) - Initial API and implementation + /*****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.component.test.canonical; + +import org.eclipse.papyrus.infra.gmfdiag.common.updater.DiagramUpdater; +import org.eclipse.papyrus.commands.ICreationCommand; +import org.eclipse.papyrus.uml.diagram.component.CreateComponentDiagramCommand; +import org.eclipse.papyrus.uml.diagram.component.part.UMLDiagramUpdater; +import org.eclipse.papyrus.uml.diagram.component.providers.UMLElementTypes; +import org.eclipse.papyrus.uml.diagram.component.test.IComponentDiagramTestsConstants; +import org.eclipse.papyrus.uml.diagram.tests.canonical.TestConstraintLink; +import org.junit.Test; + +public class TestComponentDiagramConstraintLink extends TestConstraintLink { + + @Override + public DiagramUpdater getDiagramUpdater() { + return UMLDiagramUpdater.INSTANCE; + } + @Override + protected ICreationCommand getDiagramCommandCreation() { + return new CreateComponentDiagramCommand(); + } + + @Override + protected String getProjectName() { + return IComponentDiagramTestsConstants.PROJECT_NAME; + } + + @Override + protected String getFileName() { + return IComponentDiagramTestsConstants.FILE_NAME; + } + + /** + * Test to manage Constraint + */ + @Test + public void testToManageConstraint() { + testToManageLink(UMLElementTypes.Constraint_Shape, UMLElementTypes.Package_Shape, UMLElementTypes.Constraint_ConstrainedElementEdge, UMLElementTypes.Package_Shape, true); + } +} |