testability-driver-qt-sut-plugin 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/env.rb +26 -0
- data/installer/extconf.rb +62 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin.rb +23 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/action.rb +156 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/application.rb +318 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/attribute.rb +227 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/behaviour.rb +140 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/configure_behaviour.rb +317 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/events.rb +165 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/file_transfer.rb +333 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/find.rb +80 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/fixture.rb +178 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/gesture.rb +906 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/infologger.rb +604 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/key_press.rb +152 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/locale_db.rb +151 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/method.rb +85 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/multitouch.rb +455 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/os.rb +100 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/qt_api_method.rb +148 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/record.rb +124 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/screen_capture.rb +283 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/sut.rb +492 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/synchronization.rb +113 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/treewidgetitemcolumn.rb +93 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/type_text.rb +97 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/view_item.rb +97 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/webkit.rb +230 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/widget.rb +663 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/action.rb +30 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/configure_command.rb +38 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/drag.rb +44 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/find_object.rb +50 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/fixture.rb +45 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb +48 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/infologger_command.rb +38 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/qt.rb +170 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb +54 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/widget.rb +226 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/application.rb +264 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/configure_command.rb +60 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/find_object.rb +114 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/fixture.rb +67 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb +52 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/infologger_command.rb +62 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/key_sequence.rb +99 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/screen_capture.rb +54 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/tap.rb +51 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/widget.rb +72 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/plugin.rb +119 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/adapter.rb +225 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/communication.rb +154 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/controller.rb +58 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/fixture_parameter.rb +77 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/widget.rb +82 -0
- data/lib/testability-driver-qt-sut-plugin.rb +24 -0
- data/xml/behaviour/qt.xml +717 -0
- data/xml/defaults/sut_qt.xml +9 -0
- data/xml/keymap/qt.xml +321 -0
- data/xml/template/qt.xml +124 -0
- metadata +141 -0
data/xml/keymap/qt.xml
ADDED
@@ -0,0 +1,321 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<keymap>
|
4
|
+
<parameter name="kEscape" value="0x01000000"/>
|
5
|
+
<parameter name="kTab" value="0x01000001"/>
|
6
|
+
<parameter name="kBacktab" value="0x01000002"/>
|
7
|
+
<parameter name="kBackspace" value="0x01000003"/>
|
8
|
+
<parameter name="kReturn" value="0x01000004"/>
|
9
|
+
<parameter name="kEnter" value="0x01000005"/>
|
10
|
+
<parameter name="kInsert" value="0x01000006"/>
|
11
|
+
<parameter name="kDelete" value="0x01000007"/>
|
12
|
+
<parameter name="kPause" value="0x01000008"/>
|
13
|
+
<parameter name="kPrint" value="0x01000009"/>
|
14
|
+
<parameter name="kSysReq" value="0x0100000a"/>
|
15
|
+
<parameter name="kClear" value="0x0100000b"/>
|
16
|
+
<parameter name="kHome" value="0x01000010"/>
|
17
|
+
<parameter name="kEnd" value="0x01000011"/>
|
18
|
+
<parameter name="kLeft" value="0x01000012"/>
|
19
|
+
<parameter name="kUp" value="0x01000013"/>
|
20
|
+
<parameter name="kRight" value="0x01000014"/>
|
21
|
+
<parameter name="kDown" value="0x01000015"/>
|
22
|
+
<parameter name="kPageUp" value="0x01000016"/>
|
23
|
+
<parameter name="kPageDown" value="0x01000017"/>
|
24
|
+
<parameter name="kShift" value="0x01000020"/>
|
25
|
+
<parameter name="kControl" value="0x01000021"/>
|
26
|
+
<parameter name="kMeta" value="0x01000022"/>
|
27
|
+
<parameter name="kAlt" value="0x01000023"/>
|
28
|
+
<parameter name="kAltGr" value="0x01001103"/>
|
29
|
+
<parameter name="kCapsLock" value="0x01000024"/>
|
30
|
+
<parameter name="kNumLock" value="0x01000025"/>
|
31
|
+
<parameter name="kScrollLock" value="0x01000026"/>
|
32
|
+
<parameter name="kF1" value="0x01000030"/>
|
33
|
+
<parameter name="kF2" value="0x01000031"/>
|
34
|
+
<parameter name="kF3" value="0x01000032"/>
|
35
|
+
<parameter name="kF4" value="0x01000033"/>
|
36
|
+
<parameter name="kF5" value="0x01000034"/>
|
37
|
+
<parameter name="kF6" value="0x01000035"/>
|
38
|
+
<parameter name="kF7" value="0x01000036"/>
|
39
|
+
<parameter name="kF8" value="0x01000037"/>
|
40
|
+
<parameter name="kF9" value="0x01000038"/>
|
41
|
+
<parameter name="kF10" value="0x01000039"/>
|
42
|
+
<parameter name="kF11" value="0x0100003a"/>
|
43
|
+
<parameter name="kF12" value="0x0100003b"/>
|
44
|
+
<parameter name="kF13" value="0x0100003c"/>
|
45
|
+
<parameter name="kF14" value="0x0100003d"/>
|
46
|
+
<parameter name="kF15" value="0x0100003e"/>
|
47
|
+
<parameter name="kF16" value="0x0100003f"/>
|
48
|
+
<parameter name="kF17" value="0x01000040"/>
|
49
|
+
<parameter name="kF18" value="0x01000041"/>
|
50
|
+
<parameter name="kF19" value="0x01000042"/>
|
51
|
+
<parameter name="kF20" value="0x01000043"/>
|
52
|
+
<parameter name="kF21" value="0x01000044"/>
|
53
|
+
<parameter name="kF22" value="0x01000045"/>
|
54
|
+
<parameter name="kF23" value="0x01000046"/>
|
55
|
+
<parameter name="kF24" value="0x01000047"/>
|
56
|
+
<parameter name="kF25" value="0x01000048"/>
|
57
|
+
<parameter name="kF26" value="0x01000049"/>
|
58
|
+
<parameter name="kF27" value="0x0100004a"/>
|
59
|
+
<parameter name="kF28" value="0x0100004b"/>
|
60
|
+
<parameter name="kF29" value="0x0100004c"/>
|
61
|
+
<parameter name="kF30" value="0x0100004d"/>
|
62
|
+
<parameter name="kF31" value="0x0100004e"/>
|
63
|
+
<parameter name="kF32" value="0x0100004f"/>
|
64
|
+
<parameter name="kF33" value="0x01000050"/>
|
65
|
+
<parameter name="kF34" value="0x01000051"/>
|
66
|
+
<parameter name="kF35" value="0x01000052"/>
|
67
|
+
<parameter name="kSuper_L" value="0x01000053"/>
|
68
|
+
<parameter name="kSuper_R" value="0x01000054"/>
|
69
|
+
<parameter name="kMenu" value="0x01000055"/>
|
70
|
+
<parameter name="kHyper_L" value="0x01000056"/>
|
71
|
+
<parameter name="kHyper_R" value="0x01000057"/>
|
72
|
+
<parameter name="kHelp" value="0x01000058"/>
|
73
|
+
<parameter name="kDirection_L" value="0x01000059"/>
|
74
|
+
<parameter name="kDirection_R" value="0x01000060"/>
|
75
|
+
<parameter name="kSpace" value="0x20"/>
|
76
|
+
<parameter name="kAnyKey_Space"/>
|
77
|
+
<parameter name="kExclam" value="0x21"/>
|
78
|
+
<parameter name="kQuoteDbl" value="0x22"/>
|
79
|
+
<parameter name="kNumberSign" value="0x23"/>
|
80
|
+
<parameter name="kDollar" value="0x24"/>
|
81
|
+
<parameter name="kPercent" value="0x25"/>
|
82
|
+
<parameter name="kAmpersand" value="0x26"/>
|
83
|
+
<parameter name="kApostrophe" value="0x27"/>
|
84
|
+
<parameter name="kParenLeft" value="0x28"/>
|
85
|
+
<parameter name="kParenRight" value="0x29"/>
|
86
|
+
<parameter name="kAsterisk" value="0x2a"/>
|
87
|
+
<parameter name="kPlus" value="0x2b"/>
|
88
|
+
<parameter name="kComma" value="0x2c"/>
|
89
|
+
<parameter name="kMinus" value="0x2d"/>
|
90
|
+
<parameter name="kPeriod" value="0x2e"/>
|
91
|
+
<parameter name="kSlash" value="0x2f"/>
|
92
|
+
<parameter name="k0" value="0x30"/>
|
93
|
+
<parameter name="k1" value="0x31"/>
|
94
|
+
<parameter name="k2" value="0x32"/>
|
95
|
+
<parameter name="k3" value="0x33"/>
|
96
|
+
<parameter name="k4" value="0x34"/>
|
97
|
+
<parameter name="k5" value="0x35"/>
|
98
|
+
<parameter name="k6" value="0x36"/>
|
99
|
+
<parameter name="k7" value="0x37"/>
|
100
|
+
<parameter name="k8" value="0x38"/>
|
101
|
+
<parameter name="k9" value="0x39"/>
|
102
|
+
<parameter name="kColon" value="0x3a"/>
|
103
|
+
<parameter name="kSemicolon" value="0x3b"/>
|
104
|
+
<parameter name="kLess" value="0x3c"/>
|
105
|
+
<parameter name="kEqual" value="0x3d"/>
|
106
|
+
<parameter name="kGreater" value="0x3e"/>
|
107
|
+
<parameter name="kQuestion" value="0x3f"/>
|
108
|
+
<parameter name="kAt" value="0x40"/>
|
109
|
+
<parameter name="kA" value="0x41"/>
|
110
|
+
<parameter name="kB" value="0x42"/>
|
111
|
+
<parameter name="kC" value="0x43"/>
|
112
|
+
<parameter name="kD" value="0x44"/>
|
113
|
+
<parameter name="kE" value="0x45"/>
|
114
|
+
<parameter name="kF" value="0x46"/>
|
115
|
+
<parameter name="kG" value="0x47"/>
|
116
|
+
<parameter name="kH" value="0x48"/>
|
117
|
+
<parameter name="kI" value="0x49"/>
|
118
|
+
<parameter name="kJ" value="0x4a"/>
|
119
|
+
<parameter name="kK" value="0x4b"/>
|
120
|
+
<parameter name="kL" value="0x4c"/>
|
121
|
+
<parameter name="kM" value="0x4d"/>
|
122
|
+
<parameter name="kN" value="0x4e"/>
|
123
|
+
<parameter name="kO" value="0x4f"/>
|
124
|
+
<parameter name="kP" value="0x50"/>
|
125
|
+
<parameter name="kQ" value="0x51"/>
|
126
|
+
<parameter name="kR" value="0x52"/>
|
127
|
+
<parameter name="kS" value="0x53"/>
|
128
|
+
<parameter name="kT" value="0x54"/>
|
129
|
+
<parameter name="kU" value="0x55"/>
|
130
|
+
<parameter name="kV" value="0x56"/>
|
131
|
+
<parameter name="kW" value="0x57"/>
|
132
|
+
<parameter name="kX" value="0x58"/>
|
133
|
+
<parameter name="kY" value="0x59"/>
|
134
|
+
<parameter name="kZ" value="0x5a"/>
|
135
|
+
<parameter name="kBracketLeft" value="0x5b"/>
|
136
|
+
<parameter name="kBackslash" value="0x5c"/>
|
137
|
+
<parameter name="kBracketRight" value="0x5d"/>
|
138
|
+
<parameter name="kAsciiCircum" value="0x5e"/>
|
139
|
+
<parameter name="kUnderscore" value="0x5f"/>
|
140
|
+
<parameter name="kQuoteLeft" value="0x60"/>
|
141
|
+
<parameter name="kBraceLeft" value="0x7b"/>
|
142
|
+
<parameter name="kBar" value="0x7c"/>
|
143
|
+
<parameter name="kBraceRight" value="0x7d"/>
|
144
|
+
<parameter name="kAsciiTilde" value="0x7e"/>
|
145
|
+
<parameter name="knobreakspace" value="0x0a0"/>
|
146
|
+
<parameter name="kexclamdown" value="0x0a1"/>
|
147
|
+
<parameter name="kcent" value="0x0a2"/>
|
148
|
+
<parameter name="ksterling" value="0x0a3"/>
|
149
|
+
<parameter name="kcurrency" value="0x0a4"/>
|
150
|
+
<parameter name="kyen" value="0x0a5"/>
|
151
|
+
<parameter name="kbrokenbar" value="0x0a6"/>
|
152
|
+
<parameter name="ksection" value="0x0a7"/>
|
153
|
+
<parameter name="kdiaeresis" value="0x0a8"/>
|
154
|
+
<parameter name="kcopyright" value="0x0a9"/>
|
155
|
+
<parameter name="kordfeminine" value="0x0aa"/>
|
156
|
+
<parameter name="kguillemotleft" value="0x0ab"/>
|
157
|
+
<parameter name="knotsign" value="0x0ac"/>
|
158
|
+
<parameter name="khyphen" value="0x0ad"/>
|
159
|
+
<parameter name="kregistered" value="0x0ae"/>
|
160
|
+
<parameter name="kmacron" value="0x0af"/>
|
161
|
+
<parameter name="kdegree" value="0x0b0"/>
|
162
|
+
<parameter name="kplusminus" value="0x0b1"/>
|
163
|
+
<parameter name="ktwosuperior" value="0x0b2"/>
|
164
|
+
<parameter name="kthreesuperior" value="0x0b3"/>
|
165
|
+
<parameter name="kacute" value="0x0b4"/>
|
166
|
+
<parameter name="kmu" value="0x0b5"/>
|
167
|
+
<parameter name="kparagraph" value="0x0b6"/>
|
168
|
+
<parameter name="kperiodcentered" value="0x0b7"/>
|
169
|
+
<parameter name="kcedilla" value="0x0b8"/>
|
170
|
+
<parameter name="konesuperior" value="0x0b9"/>
|
171
|
+
<parameter name="kmasculine" value="0x0ba"/>
|
172
|
+
<parameter name="kguillemotright" value="0x0bb"/>
|
173
|
+
<parameter name="konequarter" value="0x0bc"/>
|
174
|
+
<parameter name="konehalf" value="0x0bd"/>
|
175
|
+
<parameter name="kthreequarters" value="0x0be"/>
|
176
|
+
<parameter name="kquestiondown" value="0x0bf"/>
|
177
|
+
<parameter name="kAgrave" value="0x0c0"/>
|
178
|
+
<parameter name="kAacute" value="0x0c1"/>
|
179
|
+
<parameter name="kAcircumflex" value="0x0c2"/>
|
180
|
+
<parameter name="kAtilde" value="0x0c3"/>
|
181
|
+
<parameter name="kAdiaeresis" value="0x0c4"/>
|
182
|
+
<parameter name="kAring" value="0x0c5"/>
|
183
|
+
<parameter name="kAE" value="0x0c6"/>
|
184
|
+
<parameter name="kCcedilla" value="0x0c7"/>
|
185
|
+
<parameter name="kEgrave" value="0x0c8"/>
|
186
|
+
<parameter name="kEacute" value="0x0c9"/>
|
187
|
+
<parameter name="kEcircumflex" value="0x0ca"/>
|
188
|
+
<parameter name="kEdiaeresis" value="0x0cb"/>
|
189
|
+
<parameter name="kIgrave" value="0x0cc"/>
|
190
|
+
<parameter name="kIacute" value="0x0cd"/>
|
191
|
+
<parameter name="kIcircumflex" value="0x0ce"/>
|
192
|
+
<parameter name="kIdiaeresis" value="0x0cf"/>
|
193
|
+
<parameter name="kETH" value="0x0d0"/>
|
194
|
+
<parameter name="kNtilde" value="0x0d1"/>
|
195
|
+
<parameter name="kOgrave" value="0x0d2"/>
|
196
|
+
<parameter name="kOacute" value="0x0d3"/>
|
197
|
+
<parameter name="kOcircumflex" value="0x0d4"/>
|
198
|
+
<parameter name="kOtilde" value="0x0d5"/>
|
199
|
+
<parameter name="kOdiaeresis" value="0x0d6"/>
|
200
|
+
<parameter name="kmultiply" value="0x0d7"/>
|
201
|
+
<parameter name="kOoblique" value="0x0d8"/>
|
202
|
+
<parameter name="kUgrave" value="0x0d9"/>
|
203
|
+
<parameter name="kUacute" value="0x0da"/>
|
204
|
+
<parameter name="kUcircumflex" value="0x0db"/>
|
205
|
+
<parameter name="kUdiaeresis" value="0x0dc"/>
|
206
|
+
<parameter name="kYacute" value="0x0dd"/>
|
207
|
+
<parameter name="kTHORN" value="0x0de"/>
|
208
|
+
<parameter name="kssharp" value="0x0df"/>
|
209
|
+
<parameter name="kdivision" value="0x0f7"/>
|
210
|
+
<parameter name="kydiaeresis" value="0x0ff"/>
|
211
|
+
<parameter name="kMulti_key" value="0x01001120"/>
|
212
|
+
<parameter name="kCodeinput" value="0x01001137"/>
|
213
|
+
<parameter name="kSingleCandidate" value="0x0100113c"/>
|
214
|
+
<parameter name="kMultipleCandidate" value="0x0100113d"/>
|
215
|
+
<parameter name="kPreviousCandidate" value="0x0100113e"/>
|
216
|
+
<parameter name="kMode_switch" value="0x0100117e"/>
|
217
|
+
<parameter name="kKanji" value="0x01001121"/>
|
218
|
+
<parameter name="kMuhenkan" value="0x01001122"/>
|
219
|
+
<parameter name="kHenkan" value="0x01001123"/>
|
220
|
+
<parameter name="kRomaji" value="0x01001124"/>
|
221
|
+
<parameter name="kHiragana" value="0x01001125"/>
|
222
|
+
<parameter name="kKatakana" value="0x01001126"/>
|
223
|
+
<parameter name="kHiragana_Katakana" value="0x01001127"/>
|
224
|
+
<parameter name="kZenkaku" value="0x01001128"/>
|
225
|
+
<parameter name="kHankaku" value="0x01001129"/>
|
226
|
+
<parameter name="kZenkaku_Hankaku" value="0x0100112a"/>
|
227
|
+
<parameter name="kTouroku" value="0x0100112b"/>
|
228
|
+
<parameter name="kMassyo" value="0x0100112c"/>
|
229
|
+
<parameter name="kKana_Lock" value="0x0100112d"/>
|
230
|
+
<parameter name="kKana_Shift" value="0x0100112e"/>
|
231
|
+
<parameter name="kEisu_Shift" value="0x0100112f"/>
|
232
|
+
<parameter name="kEisu_toggle" value="0x01001130"/>
|
233
|
+
<parameter name="kHangul" value="0x01001131"/>
|
234
|
+
<parameter name="kHangul_Start" value="0x01001132"/>
|
235
|
+
<parameter name="kHangul_End" value="0x01001133"/>
|
236
|
+
<parameter name="kHangul_Hanja" value="0x01001134"/>
|
237
|
+
<parameter name="kHangul_Jamo" value="0x01001135"/>
|
238
|
+
<parameter name="kHangul_Romaja" value="0x01001136"/>
|
239
|
+
<parameter name="kHangul_Jeonja" value="0x01001138"/>
|
240
|
+
<parameter name="kHangul_Banja" value="0x01001139"/>
|
241
|
+
<parameter name="kHangul_PreHanja" value="0x0100113a"/>
|
242
|
+
<parameter name="kHangul_PostHanja" value="0x0100113b"/>
|
243
|
+
<parameter name="kHangul_Special" value="0x0100113f"/>
|
244
|
+
<parameter name="kDead_Grave" value="0x01001250"/>
|
245
|
+
<parameter name="kDead_Acute" value="0x01001251"/>
|
246
|
+
<parameter name="kDead_Circumflex" value="0x01001252"/>
|
247
|
+
<parameter name="kDead_Tilde" value="0x01001253"/>
|
248
|
+
<parameter name="kDead_Macron" value="0x01001254"/>
|
249
|
+
<parameter name="kDead_Breve" value="0x01001255"/>
|
250
|
+
<parameter name="kDead_Abovedot" value="0x01001256"/>
|
251
|
+
<parameter name="kDead_Diaeresis" value="0x01001257"/>
|
252
|
+
<parameter name="kDead_Abovering" value="0x01001258"/>
|
253
|
+
<parameter name="kDead_Doubleacute" value="0x01001259"/>
|
254
|
+
<parameter name="kDead_Caron" value="0x0100125a"/>
|
255
|
+
<parameter name="kDead_Cedilla" value="0x0100125b"/>
|
256
|
+
<parameter name="kDead_Ogonek" value="0x0100125c"/>
|
257
|
+
<parameter name="kDead_Iota" value="0x0100125d"/>
|
258
|
+
<parameter name="kDead_Voiced_Sound" value="0x0100125e"/>
|
259
|
+
<parameter name="kDead_Semivoiced_Sound" value="0x0100125f"/>
|
260
|
+
<parameter name="kDead_Belowdot" value="0x01001260"/>
|
261
|
+
<parameter name="kDead_Hook" value="0x01001261"/>
|
262
|
+
<parameter name="kDead_Horn" value="0x01001262"/>
|
263
|
+
<parameter name="kBack" value="0x01000061"/>
|
264
|
+
<parameter name="kForward" value="0x01000062"/>
|
265
|
+
<parameter name="kStop" value="0x01000063"/>
|
266
|
+
<parameter name="kRefresh" value="0x01000064"/>
|
267
|
+
<parameter name="kVolumeDown" value="0x01000070"/>
|
268
|
+
<parameter name="kVolumeMute" value="0x01000071"/>
|
269
|
+
<parameter name="kVolumeUp" value="0x01000072"/>
|
270
|
+
<parameter name="kBassBoost" value="0x01000073"/>
|
271
|
+
<parameter name="kBassUp" value="0x01000074"/>
|
272
|
+
<parameter name="kBassDown" value="0x01000075"/>
|
273
|
+
<parameter name="kTrebleUp" value="0x01000076"/>
|
274
|
+
<parameter name="kTrebleDown" value="0x01000077"/>
|
275
|
+
<parameter name="kMediaPlay" value="0x01000080"/>
|
276
|
+
<parameter name="kMediaStop" value="0x01000081"/>
|
277
|
+
<parameter name="kMediaPrevious" value="0x01000082"/>
|
278
|
+
<parameter name="kMediaNext" value="0x01000083"/>
|
279
|
+
<parameter name="kMediaRecord" value="0x01000084"/>
|
280
|
+
<parameter name="kHomePage" value="0x01000090"/>
|
281
|
+
<parameter name="kFavorites" value="0x01000091"/>
|
282
|
+
<parameter name="kSearch" value="0x01000092"/>
|
283
|
+
<parameter name="kStandby" value="0x01000093"/>
|
284
|
+
<parameter name="kOpenUrl" value="0x01000094"/>
|
285
|
+
<parameter name="kLaunchMail" value="0x010000a0"/>
|
286
|
+
<parameter name="kLaunchMedia" value="0x010000a1"/>
|
287
|
+
<parameter name="kLaunch0" value="0x010000a2"/>
|
288
|
+
<parameter name="kLaunch1" value="0x010000a3"/>
|
289
|
+
<parameter name="kLaunch2" value="0x010000a4"/>
|
290
|
+
<parameter name="kLaunch3" value="0x010000a5"/>
|
291
|
+
<parameter name="kLaunch4" value="0x010000a6"/>
|
292
|
+
<parameter name="kLaunch5" value="0x010000a7"/>
|
293
|
+
<parameter name="kLaunch6" value="0x010000a8"/>
|
294
|
+
<parameter name="kLaunch7" value="0x010000a9"/>
|
295
|
+
<parameter name="kLaunch8" value="0x010000aa"/>
|
296
|
+
<parameter name="kLaunch9" value="0x010000ab"/>
|
297
|
+
<parameter name="kLaunchA" value="0x010000ac"/>
|
298
|
+
<parameter name="kLaunchB" value="0x010000ad"/>
|
299
|
+
<parameter name="kLaunchC" value="0x010000ae"/>
|
300
|
+
<parameter name="kLaunchD" value="0x010000af"/>
|
301
|
+
<parameter name="kLaunchE" value="0x010000b0"/>
|
302
|
+
<parameter name="kLaunchF" value="0x010000b1"/>
|
303
|
+
<parameter name="kMediaLast" value="0x0100ffff"/>
|
304
|
+
<parameter name="kunknown" value="0x01ffffff"/>
|
305
|
+
<parameter name="kCall" value="0x01100004"/>
|
306
|
+
<parameter name="kContext1" value="0x01100000"/>
|
307
|
+
<parameter name="kContext2" value="0x01100001"/>
|
308
|
+
<parameter name="kContext3" value="0x01100002"/>
|
309
|
+
<parameter name="kContext4" value="0x01100003"/>
|
310
|
+
<parameter name="kFlip" value="0x01100006"/>
|
311
|
+
<parameter name="kHangup" value="0x01100005"/>
|
312
|
+
<parameter name="kNo" value="0x01010002"/>
|
313
|
+
<parameter name="kSelect" value="0x01010000"/>
|
314
|
+
<parameter name="kYes" value="0x01010001"/>
|
315
|
+
<parameter name="kExecute" value="0x01020003"/>
|
316
|
+
<parameter name="kPrinter" value="0x01020002"/>
|
317
|
+
<parameter name="kPlay" value="0x01020005"/>
|
318
|
+
<parameter name="kSleep" value="0x01020004"/>
|
319
|
+
<parameter name="kZoom" value="0x01020006"/>
|
320
|
+
<parameter name="kCancel" valu="0x01020001"/>
|
321
|
+
</keymap>
|
data/xml/template/qt.xml
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<templates>
|
4
|
+
|
5
|
+
<template name="qt" inherits="sut_generic;qttas_server;qt_fixtures;switchbox;flash"> <!-- qt ("qt sut abstraction") inherits sut_generic and qttas_server template values -->
|
6
|
+
|
7
|
+
<!-- mapping for qt sut plugin & implementation, value can be either gem name or absolute path to plugin/sut.rb -->
|
8
|
+
<parameter name="sut_plugin" value="testability-driver-qt-sut-plugin" />
|
9
|
+
|
10
|
+
<!-- default parameters for each qt sut -->
|
11
|
+
<parameter name="type" value="QT" /> <!-- overwrites default value -->
|
12
|
+
<parameter name="product" value="qt_windows" /> <!-- overwrites default value -->
|
13
|
+
<parameter name="version" value="200839" /> <!-- overwrites default value -->
|
14
|
+
|
15
|
+
<!-- device input type (e.g. key, touch) -->
|
16
|
+
<parameter name="input_type" value="touch" /> <!-- overwrites default value -->
|
17
|
+
|
18
|
+
<!-- keymap definitions -->
|
19
|
+
<keymap xml_file="keymaps/qt.xml" />
|
20
|
+
|
21
|
+
<!-- gesture defaults -->
|
22
|
+
<parameter name="gesture_flick_distance" value="150" />
|
23
|
+
|
24
|
+
<!-- pixels per second -->
|
25
|
+
<parameter name="gesture_flick_speed" value="700" />
|
26
|
+
<parameter name="gesture_drag_speed" value="300" />
|
27
|
+
|
28
|
+
<!-- move the pointer before a tap if true -->
|
29
|
+
<parameter name="in_tap_move_pointer" value="false" />
|
30
|
+
|
31
|
+
<!-- use tap_screen operation in tap command. Sends the tap to the system (e.g. via X calls) and
|
32
|
+
does not use Qt Events-->
|
33
|
+
<parameter name="use_tap_screen" value="false" />
|
34
|
+
|
35
|
+
<!--
|
36
|
+
The event type to use when interacting with the ui. Possible values are Mouse = 0, Touch = 1, Both =2.
|
37
|
+
When set to 0 (mouse) only mouse events are sent (e.g. tap will result in mousepress and mouserelease events)
|
38
|
+
When set to 1 (touch) only touch events are sent (e.g. tap will result in touchbegin and touchend events)
|
39
|
+
When set to 2 both mouse and touch events are sent.
|
40
|
+
Note: When using multitouch behaviours this setting has no affect. Only touch events are sent.
|
41
|
+
Default is set to two so both events will be sent. Note that if set to 0 or 1 then only the
|
42
|
+
specified events is sent. e.g. Some components may not handle touch events so setting to 1 maybe be dangerous.
|
43
|
+
-->
|
44
|
+
<parameter name="event_type" value="2" />
|
45
|
+
|
46
|
+
<parameter name="localisation_server_database_tablename" value="tr_qt_default" /> <!-- overwrites default value -->
|
47
|
+
|
48
|
+
<!-- recording will detect movements together with tap up and down as taps if the movement is smaller -->
|
49
|
+
<parameter name="record_move_treshold" value="5" />
|
50
|
+
<!-- tap which are longer than this will be set as long taps (tap down, wait, tap up)-->
|
51
|
+
<parameter name="record_tap_time_treshold" value="1" />
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<!-- possible values none, static, dynamic -->
|
56
|
+
<parameter name="filter_type" value="dynamic"/>
|
57
|
+
|
58
|
+
<!--
|
59
|
+
Filtering settings, use them to make the xml smaller. Do not use whitelists and blacklists combined as it may cause
|
60
|
+
unwanted results. Taken out from default settings. Attribute lists are only valid when filter_type is static
|
61
|
+
-->
|
62
|
+
|
63
|
+
<!--
|
64
|
+
<parameter name="attribute_blacklist" value="droppable,hoverable,obscured,under-mouse,acceptDrops,accessibleDescription,accessibleName,cursor,autoFillBackground,bold,capitalization,focusPolicy,inputMethodHints,italic,kerning,letterSpacing,locale,mouseTracking,overline,palette,sizeHint,sizeIncrement,sizePolicy,strikeOut,statusTip,styleSheet,updatesEnabled,whatsThis,windowFilePath,windowModality,windowModified,windowOpacity,wordSpacing,transformOriginPoint,windowFlags,maximumSize,minimumSize,opacity,pixelSize,pointSize,parent,contextMenuPolicy,baseSize,childrenRect,childrenRegion,minimumSize,maximumSize,minimumHeight,maximumHeight,maximumWidth,layoutDirection,minimumSizeHint,normalGeometry"/>
|
65
|
+
|
66
|
+
<parameter name="attribute_whitelist" value="text"/>
|
67
|
+
<parameter name="filter_properties" value="true"/>
|
68
|
+
<parameter name="plugin_blacklist" value="layouttraverse,webkittraverse,viewitemtraverse"/>
|
69
|
+
<parameter name="plugin_whitelist" value="qttraverse,webkittraverse"/>
|
70
|
+
-->
|
71
|
+
|
72
|
+
|
73
|
+
</template>
|
74
|
+
|
75
|
+
<template name="qt_fixtures">
|
76
|
+
<fixtures>
|
77
|
+
<fixture name="signal" plugin="tassignal" />
|
78
|
+
<fixture name="qt" plugin="tasfixture" />
|
79
|
+
<fixture name="dialog" plugin="dialogfixture" />
|
80
|
+
<fixture name="file" plugin="filefixture" />
|
81
|
+
<fixture name="fps" plugin="fpsfixture" />
|
82
|
+
<fixture name="popup" plugin="popupfixture" />
|
83
|
+
<fixture name="tap_object" plugin="tapfixture" />
|
84
|
+
</fixtures>
|
85
|
+
</template>
|
86
|
+
|
87
|
+
<template name="qttas_server">
|
88
|
+
|
89
|
+
<!-- Assume that QtTAS server is running at localhost:55535 -->
|
90
|
+
<parameter name="qttas_server_ip" value="127.0.0.1" />
|
91
|
+
<parameter name="qttas_server_port" value="55535" />
|
92
|
+
|
93
|
+
<!-- QT Server port -->
|
94
|
+
<parameter name="qt_tcp_server_port" value="1514" /> <!-- JKo: what is this?? is it actually used anywhere? -->
|
95
|
+
|
96
|
+
</template>
|
97
|
+
|
98
|
+
<template name="switchbox">
|
99
|
+
<!-- switchbox control commands default is for windows environments using foobox -->
|
100
|
+
<parameter name="switchbox_timeout_between_command_sequence" value="5" /> <!-- timeout in seconds between the switchbox commands -->
|
101
|
+
<parameter name="switchbox_powerdown_command_sequence" value="foobox USB0|foobox -VBAT1" /> <!-- if the device is connected to other than port 1 then change accordingly -->
|
102
|
+
<parameter name="switchbox_powerdown_command_success_string" value="" /> <!-- If no error then no string is displayed -->
|
103
|
+
<parameter name="switchbox_powerup_command_sequence" value="foobox +VBAT1|foobox USB1" /> <!-- if the device is connected to other than port 1 then change accordingly -->
|
104
|
+
<parameter name="switchbox_powerup_command_success_string" value="" /> <!-- If no error then no string is displayed -->
|
105
|
+
<parameter name="switchbox_sleep_before_powerup_in_reboot" value="5" /> <!-- need to wait for a couple of seconds before powerup after powerdown -->
|
106
|
+
<parameter name="switchbox_sleep_after_powerup_in_reboot" value="60" /> <!-- need to wait for the device to come up after poweup -->
|
107
|
+
<parameter name="switchbox_commands_after_powerup_in_reboot" value="" /> <!-- commands you want to be executed when polling for a device during powerup -->
|
108
|
+
</template>
|
109
|
+
<template name="flash">
|
110
|
+
<!-- flash control commands default is for windows environments using -->
|
111
|
+
<parameter name="flash_attempts" value="1" /> <!-- how many times will attempt to flash the device -->
|
112
|
+
<parameter name="timeout_between_command_sequence" value="25" /> <!-- timeout in seconds between the switchbox and commands before and after flash -->
|
113
|
+
<parameter name="switchbox_commands_before_flash" value="" /> <!-- commands you want to be executed before flash, commands are sparated with | -->
|
114
|
+
<parameter name="commands_before_flash" value="" /> <!-- flash commands for before flash, commands are sparated with | -->
|
115
|
+
<parameter name="flash_command" value="" /> <!-- intial flash command for -->
|
116
|
+
<parameter name="optional_parameters_after_flashing" value="/nm" /> <!-- optional flash parameters -->
|
117
|
+
<parameter name="flash_images" value="/tmp/image.bin /tmp/image2.bin" /> <!-- images to flash -->
|
118
|
+
<parameter name="switchbox_commands_after_failed_flash" value="" /> <!-- commands for switchbox after failed flash, commands are sparated with | -->
|
119
|
+
<parameter name="commands_after_failed_flash" value="" /> <!-- commands for after failed flash, commands are sparated with | -->
|
120
|
+
<parameter name="command_after_flash" value="" /> <!-- flash command for after flash, commands are sparated with | -->
|
121
|
+
<parameter name="switchbox_commands_after_flash" value="" /> <!-- commands you want to be executed after flash, commands are sparated with | -->
|
122
|
+
</template>
|
123
|
+
|
124
|
+
</templates>
|