-
Notifications
You must be signed in to change notification settings - Fork 4
/
SelectionFromFontDialog.test
27 lines (25 loc) · 1.19 KB
/
SelectionFromFontDialog.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
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: SelectionFromFontDialog
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _MBuUIJwbEeKUTbHlS7Hh6Q
Runtime-Version: 1.5.6.qualifier
Save-Time: 4/1/15 12:04 PM
Tags: swt
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Q7 Quality Mockups" | get-tree | select "swt/fontDialog/FontDialog Test" | double-click
set-dialog-result Font "1|Courier New|12.0|3|WINDOWS|1|-16|0|0|0|700|-1|0|0|-52|3|2|1|49|Courier New"
get-view "Q7 Quality Mockups" | get-group "FontDialog Test" | get-button "Change Font" | click
with [get-view "Q7 Quality Mockups" | get-group "FontDialog Test" | get-editbox] {
get-property "getFont().getClassName()" | equals "org.eclipse.swt.graphics.Font" | verify-true
get-property "getFont().getFontData().FontData[0].height" | equals "12.0" | verify-true
get-property "getFont().getFontData().FontData[0].getName()" | equals "Courier New" | verify-true
get-property "getFont().getFontData().FontData[0].getStyle()" | equals 3 | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--