blob: 35e6cabf8ef5bf17e7e5f6f55bdc44f8afab6736 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _Ayow4KrpEeqpkej7GeVvKQ,_d8d2kKyFEeqylZAj0d4Xnw
Element-Name: ValidationFile
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _P8kPoMHuEeqdUaKnTsb96Q
Save-Time: 7/9/20 4:19 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Package Explorer" | get-tree | select "test/src/test/test.mtl" | double-click
with [get-editor "test.mtl" | get-text-viewer] {
set-caret-pos 11 22
key-type BackSpace
}
get-view Problems | get-tree | select "Errors \\(1 item\\)" | double-click
with [get-view Problems | get-tree] {
get-item -path "Errors \\(1 item\\)/Couldn't find the 'myVariable' variable" | get-property "values['Description']"
| equals "Couldn't find the 'myVariable' variable" | verify-true
get-item -path "Errors \\(1 item\\)/Couldn't find the 'myVariable' variable" | get-property "values['Resource']"
| equals "test.mtl" | verify-true
get-item -path "Errors \\(1 item\\)/Couldn't find the 'myVariable' variable" | get-property "values['Path']"
| equals "/test/src/test" | verify-true
get-item -path "Errors \\(1 item\\)/Couldn't find the 'myVariable' variable" | get-property "values['Location']"
| equals "line 11" | verify-true
get-item -path "Errors \\(1 item\\)/Couldn't find the 'myVariable' variable" | get-property "values['Type']"
| equals "Language Servers" | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--