Skip to content

Commit

Permalink
updates for new eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
joanna-may committed Jul 24, 2020
1 parent 39cfa3e commit 38b2b31
Showing 1 changed file with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _RI1AQGuMEeaVB7Q9BJdfQg
Runtime-Version: 2.2.0.201706152316
Save-Time: 7/3/17 11:31 AM
Runtime-Version: 2.5.0.202001211718
Save-Time: 6/29/20 2:12 PM
Testcase-Type: ecl

------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Expand All @@ -18,15 +18,33 @@ get-menu "Project/Clean..." | click
get-window Clean | get-button $OK_Clean_button | click
get-view Problems | click

with [get-view Problems | get-tree] {
// diffrent order on Linux and Windows
try -command{
with [get-view Problems | get-tree] {
get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 0
| get-property caption
| equals [format "Unknown '.%s..%sresource%sthroughput_check.py' library. Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $sys_sep $sys_sep $sys_sep ]
| equals [format "Unknown '.%s..%sresource%sthroughput_check.py' library. "
+ "Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $sys_sep $sys_sep $sys_sep ]
| verify-true

get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 1
| get-property caption
| equals [format "Unknown '%s%sCA_project%stestsuite%sMM%slibraries%sfile.py' library. "
+ "Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $RED_workspace_path $sys_sep $sys_sep $sys_sep $sys_sep $sys_sep]
| verify-true
}
| verify-true
}
}-catch{
with [get-view Problems | get-tree] {
get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 0
| get-property caption
| equals [format "Unknown '%s%sCA_project%stestsuite%sMM%slibraries%sfile.py' library. "
+ "Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $RED_workspace_path $sys_sep $sys_sep $sys_sep $sys_sep $sys_sep]
| verify-true

get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 1
| get-property caption
| equals [format "Unknown '.%s..%sresource%sthroughput_check.py' library. Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $sys_sep $sys_sep $sys_sep ]
| verify-true
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--

0 comments on commit 38b2b31

Please sign in to comment.