-
Notifications
You must be signed in to change notification settings - Fork 4
/
TableViewer_CheckBoxCellEditorWithImage.test
42 lines (40 loc) · 1.73 KB
/
TableViewer_CheckBoxCellEditorWithImage.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
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: TableViewer_CheckBoxCellEditorWithImage
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _FAZMwKWaEeKzQJ_6lpnlxw
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
get-view "Q7 Quality Mockups" | get-tree | select "jface/tableViewer/CheckBoxCellEditor"
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor | get-table] {
get-item Ann | get-property columns -index 0 | equals Ann | verify-true
get-item Ann | get-property columns -index 1 | equals Married | verify-true
get-item Ann | get-property columns -index 2 | equals true | verify-true
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor | get-table] {
select Ann
get-cell 0 1 | uncheck
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor | get-table] {
get-item Ann | get-property columns -index 0 | equals Ann | verify-true
get-item Ann | get-property columns -index 1 | equals "Not Married" | verify-true
get-item Ann | get-property columns -index 2 | equals false | verify-true
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor | get-table] {
select Ann
get-cell 0 1 | check
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor | get-table] {
get-item Ann | get-property columns -index 0 | equals Ann | verify-true
get-item Ann | get-property columns -index 1 | equals Married | verify-true
get-item Ann | get-property columns -index 2 | equals true | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--