Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsteban Dugueperoux2016-02-08 10:18:40 +0000
committerEsteban DUGUEPEROUX2016-02-09 08:59:26 +0000
commit9f09a3e78375e1eab510bb92364cd9f357b7afcd (patch)
tree4bf7c0329c357ccd44cba41b7d1e9ef05e95fbdb
parent9c6ba432ec9c65571e493f715cf277587096b383 (diff)
downloadorg.eclipse.sirius-9f09a3e78375e1eab510bb92364cd9f357b7afcd.tar.gz
org.eclipse.sirius-9f09a3e78375e1eab510bb92364cd9f357b7afcd.tar.xz
org.eclipse.sirius-9f09a3e78375e1eab510bb92364cd9f357b7afcd.zip
[486330] Update EdgeRoutingStyleTests to activate Viewpoint correctly
- EdgeRoutingStyleTests viewpoint was not activated Bug: 486330 Change-Id: I9d7ff442c38d14104c0fa6e7c81eeaa853374efe Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.tests.junit/src/org/eclipse/sirius/tests/unit/api/routing/EdgeRoutingStyleTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.sirius.tests.junit/src/org/eclipse/sirius/tests/unit/api/routing/EdgeRoutingStyleTests.java b/plugins/org.eclipse.sirius.tests.junit/src/org/eclipse/sirius/tests/unit/api/routing/EdgeRoutingStyleTests.java
index 31fe65ab85..4bbf91e08c 100644
--- a/plugins/org.eclipse.sirius.tests.junit/src/org/eclipse/sirius/tests/unit/api/routing/EdgeRoutingStyleTests.java
+++ b/plugins/org.eclipse.sirius.tests.junit/src/org/eclipse/sirius/tests/unit/api/routing/EdgeRoutingStyleTests.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2014 THALES GLOBAL SERVICES.
+ * Copyright (c) 2010, 2016 THALES GLOBAL SERVICES.
* 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
@@ -43,7 +43,7 @@ public class EdgeRoutingStyleTests extends SiriusDiagramTestCase {
}
public void testTreeRoutingStyleIsAppliedDuringDiagramCreation() {
- activateViewpoint("Folding");
+ initViewpoint("TestFolding");
DDiagram diagram = (DDiagram) createRepresentation(REPRESENTATION_DESC_NAME, semanticModel);
DiagramDocumentEditor editor = (DiagramDocumentEditor) DialectUIManager.INSTANCE.openEditor(session, diagram, new NullProgressMonitor());

Back to the top