Bug 520082: [SysML 1.4][diagrams] uniformize the label of diagrams

Actions
-changing the linked rcptt tests

Tests
-rcptt test
-executing Eclipse application, checking the names 

Change-Id: If96013b6d7bfc3ab62c1613440f20242d5d5bb6f
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=520082
Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test
index 6e89129..834d604 100644
--- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test
+++ b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test
@@ -47,7 +47,7 @@
     get-button "Next >" | click
 }
 with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] {
-    select "SysML 1.4 Internal Block" -column "Representation name"
+    select "SysML 1.4 Internal Block Diagram" -column "Representation name"
     get-cell 10 0 | check
 }
 get-window "New Papyrus Project" | get-button Finish | click
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test
index 1ffc953..b048f70 100644
--- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test
+++ b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test
@@ -53,13 +53,13 @@
 }
 
 with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] {
-    select "SysML 1.4 Block Definition" -column "Representation name" | activate-cell-edit -column 3 
+    select "SysML 1.4 Block Definition Diagram" -column "Representation name" | activate-cell-edit -column 3 
         -type MouseClickSelection
     get-editbox | set-text 1
     apply-cell-edit -deactivate      
 }
 with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] {
-    select "SysML 1.4 Internal Block" -column "Representation name" | activate-cell-edit -column 3 
+    select "SysML 1.4 Internal Block Diagram" -column "Representation name" | activate-cell-edit -column 3 
         -type MouseClickSelection
     get-editbox | set-text 1
     apply-cell-edit -deactivate  
@@ -85,7 +85,7 @@
 
 
 with [get-editor "mymodel.di"] {
-    get-tab-folder | get-tab-item "SysML 1.4 Block Definition" | click
+    get-tab-folder | get-tab-item "SysML 1.4 Block Definition Diagram" | click
     get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 655 185 -height 342 -width 656
    with [get-palette | get-palette-entry Block] {
         mouse-move 66 1 button1 -height 24 -width 125
@@ -119,7 +119,7 @@
 }
 
 //create a screenshot of the di tab and the palette
-find-tab-folder "SysML 1.4 Block Definition" | get-object | save-screenshot [full-path "projectcreation-diwithpalette"]
+find-tab-folder "SysML 1.4 Block Definition Diagram" | get-object | save-screenshot [full-path "projectcreation-diwithpalette"]
 */
 //Creation of Part typed by a Block
 with [get-editor "mymodel.di"] {
@@ -169,7 +169,7 @@
 
 with [get-editor "mymodel.di"] {
     get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 60 339 -height 342 -width 656
-    get-tab-folder | get-tab-item "SysML 1.4 Internal Block" | click
+    get-tab-folder | get-tab-item "SysML 1.4 Internal Block Diagram" | click
     with [get-diagram -index 1 | get-edit-part -name Block1] {
         mouse-move 81 291 -height 342 -width 656
         with [get-edit-part -name Block1] {
@@ -180,7 +180,7 @@
 }
 
 //create a screenshot of the di tab and the palette
-//find-tab-folder "SysML 1.4 Internal Block" | get-object | save-screenshot [full-path "projectcreation-ibd-diwithpalette"]
+//find-tab-folder "SysML 1.4 Internal Block Diagram" | get-object | save-screenshot [full-path "projectcreation-ibd-diwithpalette"]
 
 
 
@@ -236,7 +236,7 @@
 }
 
 //create a screenshot of the di tab and the palette
-//find-tab-folder "SysML 1.4 Internal Block" | get-object | save-screenshot [full-path "projectcreation-ibd-2"]
+//find-tab-folder "SysML 1.4 Internal Block Diagram" | get-object | save-screenshot [full-path "projectcreation-ibd-2"]
 
 
 with [get-editor "mymodel.di"] {
@@ -385,7 +385,7 @@
 }
 
 //create a screenshot of the di tab and the palette
-//find-tab-folder "SysML 1.4 Internal Block" | get-object | save-screenshot [full-path "projectcreation-ibd-3"]
+//find-tab-folder "SysML 1.4 Internal Block Diagram" | get-object | save-screenshot [full-path "projectcreation-ibd-3"]
 
 
 //Add a requirement
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test
index 1036c5f..b858cb0 100644
--- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test
+++ b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test
@@ -6,8 +6,8 @@
 Element-Version: 3.0
 External-Reference: @pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003
 Id: _0orXwMAcEeW0gtwz0jrrzQ
-Runtime-Version: 2.2.0.201706062317
-Save-Time: 7/10/17 11:15 AM
+Runtime-Version: 2.2.0.201704250859
+Save-Time: 7/24/17 3:29 PM
 Testcase-Type: ecl
 
 ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
@@ -89,4 +89,5 @@
         | verify-true
 }
 
+get-view "Model Explorer" | get-tree | select "BddRoot/SysML 1.4 Block Definition"
 ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/menuExplorer/TC-ME-Property.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/menuExplorer/TC-ME-Property.test
index a55e6e3..b50a9f7 100644
--- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/menuExplorer/TC-ME-Property.test
+++ b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/menuExplorer/TC-ME-Property.test
@@ -49,7 +49,7 @@
 }
 
 with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] {
-    select "SysML 1.4 Internal Block" -column "Representation name" | activate-cell-edit -column 3 
+    select "SysML 1.4 Internal Block Diagram" -column "Representation name" | activate-cell-edit -column 3 
         -type MouseClickSelection
     get-editbox | set-text 1
     apply-cell-edit -deactivate