-
Notifications
You must be signed in to change notification settings - Fork 4
/
SectionBaseTest.test
36 lines (34 loc) · 1.79 KB
/
SectionBaseTest.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
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: SectionBaseTest
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _uZSPkKaiEeKpM48N8tRBYw
Runtime-Version: 2.5.0.201910250831
Save-Time: 11/7/19 5:47 PM
Tags: eclipse_forms
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Q7 Quality Mockups" | get-tree | select "eclipse/form/FormWithSection"
with [get-view "Q7 Quality Mockups" | get-group FormWithSection | get-section "Section 1"] {
get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true
get-property enablement | equals true | verify-true
get-property "getClassName()" | equals "org.eclipse.ui.forms.widgets.Section" | verify-true
get-property "getDescription()" | equals "This demonstrates the usage of section" | verify-true
get-property "getChildren().Control[0].getClassName()" | equals "org.eclipse.ui.forms.widgets.Twistie" | verify-true
get-property "getChildren().Control[1].getClassName()" | equals "org.eclipse.swt.widgets.Label" | verify-true
get-property "getChildren().Control[2].getClassName()" | equals "org.eclipse.swt.widgets.Label" | verify-true
get-property "getChildren().Control[3].getClassName()" | equals "org.eclipse.swt.widgets.Composite"
| verify-true
get-property "getDescription()" | equals "This demonstrates the usage of section" | verify-true
get-button "Do something" | get-property className | equals "org.eclipse.swt.widgets.Button" | verify-true
with [get-table] {
get-property className | equals "org.eclipse.swt.widgets.Table" | verify-true
get-property itemCount | equals 3 | verify-true
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--