-
Notifications
You must be signed in to change notification settings - Fork 4
/
TableViewer_CheckCellEditor.test
44 lines (42 loc) · 1.51 KB
/
TableViewer_CheckCellEditor.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: TableViewer_CheckCellEditor
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _0yCRsaENEeKCNPa9eTO-Qw
Runtime-Version: 1.5.6.qualifier
Save-Time: 4/1/15 12:04 PM
Tags: jface
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Q7 Quality Mockups"] {
get-tree | select "jface/tableViewer/TableViewer Test"
with [get-group "TableViewer Test" | get-table] {
select 1 | activate-cell-edit -column 2
get-editbox | set-text "this is the first month in a year"
apply-cell-edit
select 2 | activate-cell-edit -column 2
get-editbox | set-text fff
apply-cell-edit
select 3 | activate-cell-edit -column 2
get-editbox | set-text mmm
apply-cell-edit
select 10 | activate-cell-edit -column 2
with [get-editbox] {
set-text ooo
key-type Enter
}
apply-cell-edit
}
}
with [get-view "Q7 Quality Mockups" | get-group "TableViewer Test" | get-table] {
get-item 1 | get-property columns -index 2 | equals "this is the first month in a year" | verify-true
get-item 2 | get-property columns -index 2 | equals fff | verify-true
get-item 3 | get-property columns -index 2 | equals mmm | verify-true
get-item 10 | get-property columns -index 2 | equals ooo | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--