cutedriver-qt-sut-plugin 2.0.0.20210120165900
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/env.rb +24 -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 +157 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/application.rb +312 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/attribute.rb +300 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/behaviour.rb +214 -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/cute_cpu.rb +145 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_gpu.rb +147 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_mem.rb +142 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_pwr.rb +146 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/events.rb +192 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/file_transfer.rb +375 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/find.rb +82 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/fixture.rb +214 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/fps.rb +189 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/gesture.rb +1039 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/infologger.rb +767 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/key_press.rb +166 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/locale_db.rb +157 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/method.rb +112 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/multitouch.rb +474 -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 +134 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/screen_capture.rb +279 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/settings.rb +302 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/sut.rb +840 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/synchronization.rb +257 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/treewidgetitemcolumn.rb +117 -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 +272 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/widget.rb +877 -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 +67 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb +44 -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 +171 -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/version.rb +34 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/widget.rb +199 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/agent.rb +54 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/application.rb +192 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/configure_command.rb +53 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/find_object.rb +48 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/fixture.rb +65 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb +57 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/infologger_command.rb +53 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/key_sequence.rb +93 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/screen_capture.rb +53 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/tap.rb +62 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/version.rb +46 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/widget.rb +98 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/plugin.rb +200 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/adapter.rb +466 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/communication.rb +185 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/controller.rb +69 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/find_object_generator.rb +287 -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/message_composer.rb +370 -0
- data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/widget.rb +79 -0
- data/lib/testability-driver-qt-sut-plugin.rb +24 -0
- data/xml/behaviour/qt.xml +845 -0
- data/xml/defaults/sut_qt.xml +9 -0
- data/xml/keymap/qt.xml +321 -0
- data/xml/keymap/win.xml +174 -0
- data/xml/template/qt.xml +141 -0
- metadata +127 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
############################################################################
|
2
|
+
##
|
3
|
+
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
4
|
+
## All rights reserved.
|
5
|
+
## Contact: Nokia Corporation (testabilitydriver@nokia.com)
|
6
|
+
##
|
7
|
+
## This file is part of TDriver.
|
8
|
+
##
|
9
|
+
## If you have questions regarding the use of this file, please contact
|
10
|
+
## Nokia at testabilitydriver@nokia.com .
|
11
|
+
##
|
12
|
+
## This library is free software; you can redistribute it and/or
|
13
|
+
## modify it under the terms of the GNU Lesser General Public
|
14
|
+
## License version 2.1 as published by the Free Software Foundation
|
15
|
+
## and appearing in the file LICENSE.LGPL included in the packaging
|
16
|
+
## of this file.
|
17
|
+
##
|
18
|
+
############################################################################
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
# this is required due to debianized gems doesn't support gemspec require path
|
23
|
+
require File.expand_path( File.join( File.dirname( __FILE__ ), 'testability-driver-plugins/testability-driver-qt-sut-plugin.rb' ) )
|
24
|
+
|
@@ -0,0 +1,845 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<behaviours plugin="testability-driver-qt-sut-plugin">
|
4
|
+
|
5
|
+
<behaviour name="QtSut" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
6
|
+
|
7
|
+
<module name="MobyBehaviour::QT::SUT" />
|
8
|
+
|
9
|
+
<methods>
|
10
|
+
<method name="kill_started_processes">
|
11
|
+
<description>Kills all of the application processed started through the server.</description>
|
12
|
+
<example>kill_started_processes</example>
|
13
|
+
</method>
|
14
|
+
<method name="list_apps">
|
15
|
+
<description>Lists all applications known to server running on SUT.</description>
|
16
|
+
<example>list_apps</example>
|
17
|
+
</method>
|
18
|
+
<method name="list_started_apps">
|
19
|
+
<description>Lists applications and their start time started by qttasserver.</description>
|
20
|
+
<example>list_started_apps</example>
|
21
|
+
</method>
|
22
|
+
<method name="list_crashed_apps">
|
23
|
+
<description>Returns list of crashed applications running on SUT known to qttasserver.</description>
|
24
|
+
<example>list_crashed_apps</example>
|
25
|
+
</method>
|
26
|
+
<method name="execute_shell_command">
|
27
|
+
<description>Executes the given command as a new process.</description>
|
28
|
+
<example>execute_shell_command</example>
|
29
|
+
</method>
|
30
|
+
|
31
|
+
<method name="shell_command">
|
32
|
+
<description>Get the status of the command left as background process</description>
|
33
|
+
<example></example>
|
34
|
+
</method>
|
35
|
+
|
36
|
+
<method name="tap_screen">
|
37
|
+
<description>Tap screen on given coordinates.</description>
|
38
|
+
<example>tap_screen(200,20)</example>
|
39
|
+
</method>
|
40
|
+
<method name="close_qttas">
|
41
|
+
<description>Requests the qttasserver to shutdown.</description>
|
42
|
+
<example>close_qttas</example>
|
43
|
+
</method>
|
44
|
+
<method name="system_information">
|
45
|
+
<description>Returns the system information as a state object.</description>
|
46
|
+
<example>system_information</example>
|
47
|
+
</method>
|
48
|
+
<method name="agent_mem_usage">
|
49
|
+
<description>Returns the memory used by qttasserver.</description>
|
50
|
+
<example>agent_mem_usage</example>
|
51
|
+
</method>
|
52
|
+
<method name="system_total_mem">
|
53
|
+
<description>Returns the total memory of target device.</description>
|
54
|
+
<example>system_total_mem</example>
|
55
|
+
</method>
|
56
|
+
<method name="system_available_mem">
|
57
|
+
<description>Returns the available memory of target device.</description>
|
58
|
+
<example>system_available_mem</example>
|
59
|
+
</method>
|
60
|
+
<method name="log_process_mem_start">
|
61
|
+
<description>Start process memory logging.</description>
|
62
|
+
<example>log_process_mem_start('testapp', 'c:\\data\\mem.log', 'absolute', 5)</example>
|
63
|
+
</method>
|
64
|
+
<method name="log_process_mem_stop">
|
65
|
+
<description>Stop process memory logging.</description>
|
66
|
+
<example>log_process_mem_stop('testapp', 'true')</example>
|
67
|
+
</method>
|
68
|
+
<method name="cpu_load_start">
|
69
|
+
<description>Start generating CPU load.</description>
|
70
|
+
<example>cpu_load_start(25)</example>
|
71
|
+
</method>
|
72
|
+
<method name="cpu_load_stop">
|
73
|
+
<description>Stop generating CPU load.</description>
|
74
|
+
<example>cpu_load_stop</example>
|
75
|
+
</method>
|
76
|
+
<method name="dump_heap">
|
77
|
+
<description>Capture thread heap dump.</description>
|
78
|
+
<example>dump_heap('akncapserver')</example>
|
79
|
+
</method>
|
80
|
+
<method name="group_behaviours">
|
81
|
+
<description>Group behaviours into a single message.</description>
|
82
|
+
<example>group_behaviours(1, app){app.Node.tap;app.Node1.tap}</example>
|
83
|
+
</method>
|
84
|
+
<method name="set_event_type">
|
85
|
+
<description>Set the event type used to generate events to the device.</description>
|
86
|
+
<example>set_event_type(:Mouse)</example>
|
87
|
+
</method>
|
88
|
+
<method name="find_object">
|
89
|
+
<description>.</description>
|
90
|
+
<example>find_object(objects)</example>
|
91
|
+
</method>
|
92
|
+
|
93
|
+
</methods>
|
94
|
+
|
95
|
+
</behaviour>
|
96
|
+
|
97
|
+
<behaviour name="QtApplication" object_type="application" sut_type="QT" env="qt" input_type="*" version="*">
|
98
|
+
|
99
|
+
<module name="MobyBehaviour::QT::Application" />
|
100
|
+
|
101
|
+
<methods>
|
102
|
+
|
103
|
+
<method name="kill">
|
104
|
+
<description>Kills the application process.</description>
|
105
|
+
<example>kill</example>
|
106
|
+
</method>
|
107
|
+
|
108
|
+
<method name="track_popup">
|
109
|
+
<description>Start tracking a popup based on class name.</description>
|
110
|
+
<example>track_popup('PopupClass')</example>
|
111
|
+
</method>
|
112
|
+
|
113
|
+
<method name="verify_popup">
|
114
|
+
<description>Verify that a popup was shown.</description>
|
115
|
+
<example>verify_popup('PopupClass')</example>
|
116
|
+
</method>
|
117
|
+
|
118
|
+
<method name="bring_to_foreground">
|
119
|
+
<description>Bring an application to foreground.</description>
|
120
|
+
<example>bring_to_foreground</example>
|
121
|
+
</method>
|
122
|
+
|
123
|
+
<method name="tap_objects">
|
124
|
+
<description>Tap many objects at the same time</description>
|
125
|
+
<example>tap_objects([object])</example>
|
126
|
+
</method>
|
127
|
+
|
128
|
+
<method name="tap_down_objects">
|
129
|
+
<description>Tap down many objects at the same time</description>
|
130
|
+
<example>tap_down_objects([object])</example>
|
131
|
+
</method>
|
132
|
+
|
133
|
+
<method name="tap_up_objects">
|
134
|
+
<description>Tap up many objects at the same time</description>
|
135
|
+
<example>tap_up_objects([object])</example>
|
136
|
+
</method>
|
137
|
+
|
138
|
+
|
139
|
+
</methods>
|
140
|
+
|
141
|
+
</behaviour>
|
142
|
+
|
143
|
+
<behaviour name="QtEvents" object_type="*;application" sut_type="QT" env="qt" input_type="*" version="*">
|
144
|
+
|
145
|
+
<module name="MobyBehaviour::QT::Events" />
|
146
|
+
|
147
|
+
<methods>
|
148
|
+
<method name="enable_events">
|
149
|
+
<description>Enable event listening. You can specify which events you want to listen by including the names of those events separated by comma or integers if using user events. Use ALL if you want to listen for all events but be aware that there will be a lot of events.</description>
|
150
|
+
<example>enable_events('TimerEvent,MouseButtonPress,45677,67889')</example>
|
151
|
+
</method>
|
152
|
+
<method name="disable_events">
|
153
|
+
<description>Disable event listening.</description>
|
154
|
+
<example>disable_events</example>
|
155
|
+
</method>
|
156
|
+
<method name="get_events">
|
157
|
+
<description>Get a list of events as xml that have occurred since events were enabled.</description>
|
158
|
+
<example>get_events</example>
|
159
|
+
</method>
|
160
|
+
</methods>
|
161
|
+
|
162
|
+
</behaviour>
|
163
|
+
|
164
|
+
|
165
|
+
<behaviour name="QtRecord" object_type="application" sut_type="QT" env="qt" input_type="*" version="*">
|
166
|
+
|
167
|
+
<module name="MobyBehaviour::QT::Record" />
|
168
|
+
|
169
|
+
<methods>
|
170
|
+
<method name="start_recording">
|
171
|
+
<description>Start recording events.</description>
|
172
|
+
<example>start_recording</example>
|
173
|
+
</method>
|
174
|
+
<method name="stop_recording">
|
175
|
+
<description>Stop recording events.</description>
|
176
|
+
<example>stop_recording</example>
|
177
|
+
</method>
|
178
|
+
<method name="print_recordings">
|
179
|
+
<description>Get the recorded events.</description>
|
180
|
+
<example>print_recordings</example>
|
181
|
+
</method>
|
182
|
+
</methods>
|
183
|
+
|
184
|
+
</behaviour>
|
185
|
+
|
186
|
+
|
187
|
+
<behaviour name="QtOs" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
188
|
+
|
189
|
+
<module name="MobyBehaviour::QT::Os" />
|
190
|
+
|
191
|
+
<methods>
|
192
|
+
<!--method name="open_file">
|
193
|
+
<description>Open a file using an already active open file dialog.</description>
|
194
|
+
<example>open_file("path/to/file", "name_of_dialog", "button_used_for_opening")</example>
|
195
|
+
</method-->
|
196
|
+
<method name="press_enter">
|
197
|
+
<description>Sends an Enter key stroke to the top most application</description>
|
198
|
+
<example>press_enter()</example>
|
199
|
+
</method>
|
200
|
+
</methods>
|
201
|
+
|
202
|
+
</behaviour>
|
203
|
+
|
204
|
+
<behaviour name="QtWidget" object_type="*" sut_type="QT" env="qt" input_type="touch" version="*">
|
205
|
+
|
206
|
+
<module name="MobyBehaviour::QT::Widget" />
|
207
|
+
|
208
|
+
<methods>
|
209
|
+
<method name="move_mouse">
|
210
|
+
<description>Moves the mouse to the object it was called on.</description>
|
211
|
+
<example>move_mouse</example>
|
212
|
+
</method>
|
213
|
+
<method name="tap">
|
214
|
+
<description>Tap on the object once using left mouse button and center coordinates.</description>
|
215
|
+
<example>tap(1, :Left, nil, nil)</example>
|
216
|
+
</method>
|
217
|
+
<method name="tap_object">
|
218
|
+
<description>Tap inside the object at the specific point, relative to the object.</description>
|
219
|
+
<example>tap_object(5, 5, 1, :Left)</example>
|
220
|
+
</method>
|
221
|
+
<method name="tap_down_object">
|
222
|
+
<description>Tap down on the screen on the specified coordinates of the object. Given coordinates are relative to the object.</description>
|
223
|
+
<example>tap_down_object(5, 5)</example>
|
224
|
+
</method>
|
225
|
+
<method name="tap_up_object">
|
226
|
+
<description>Tap up on the screen on the specified coordinates of the object. Given coordinates are relative to the object.</description>
|
227
|
+
<example>tap_up_object(5, 5)</example>
|
228
|
+
</method>
|
229
|
+
<method name="long_tap">
|
230
|
+
<description>Tap the object, holding the tap down for a specified time.</description>
|
231
|
+
<example>long_tap(1, :Left)</example>
|
232
|
+
</method>
|
233
|
+
<method name="long_tap_object">
|
234
|
+
<description>Long tap on the screen on the given relative coordinates of the object for the period of time given is seconds.</description>
|
235
|
+
<example>long_tap_object(5, 5, 1, :Left)</example>
|
236
|
+
</method>
|
237
|
+
<method name="tap_up">
|
238
|
+
<description>Release a tap being held down on the object.</description>
|
239
|
+
<example>tap_up(:Left)</example>
|
240
|
+
</method>
|
241
|
+
<method name="tap_down">
|
242
|
+
<description>Tap the object, holding the tap down.</description>
|
243
|
+
<example>tap_down(:Left)</example>
|
244
|
+
</method>
|
245
|
+
<method name="press">
|
246
|
+
<description>Tap the object.</description>
|
247
|
+
<example>press(1, :Left)</example>
|
248
|
+
</method>
|
249
|
+
<method name="long_press">
|
250
|
+
<description>Tap the object, holding the tap down for a specified time.</description>
|
251
|
+
<example>long_press(1, :Left)</example>
|
252
|
+
</method>
|
253
|
+
<method name="hold">
|
254
|
+
<description>Tap the object, holding the tap down.</description>
|
255
|
+
<example>hold(:Left)</example>
|
256
|
+
</method>
|
257
|
+
<method name="release">
|
258
|
+
<description>Release a tap being held down on the object.</description>
|
259
|
+
<example>release(:Left)</example>
|
260
|
+
</method>
|
261
|
+
</methods>
|
262
|
+
|
263
|
+
</behaviour>
|
264
|
+
|
265
|
+
<behaviour name="QtWebkit" object_type="*" sut_type="QT;S60QT" env="qt" input_type="*" version="*">
|
266
|
+
|
267
|
+
<module name="MobyBehaviour::QT::Webkit" />
|
268
|
+
|
269
|
+
<methods>
|
270
|
+
<method name="execute_javascript">
|
271
|
+
<description>Executes given javascript code on the given object.</description>
|
272
|
+
<example>execute_javascript</example>
|
273
|
+
</method>
|
274
|
+
<method name="execute_javascript_query">
|
275
|
+
<description>Executes given javascript code on the given locator query.</description>
|
276
|
+
<example>execute_javascript_query</example>
|
277
|
+
</method>
|
278
|
+
<method name="scroll">
|
279
|
+
<description>For QwebView, scrolls given amount of pixels in the QWebFrame with dx, dy, for web elements scrolls the element visible</description>
|
280
|
+
<example>scroll(0,10)</example>
|
281
|
+
<example>scroll()</example>
|
282
|
+
</method>
|
283
|
+
</methods>
|
284
|
+
</behaviour>
|
285
|
+
|
286
|
+
|
287
|
+
<behaviour name="QtSynchronization" object_type="*;application" sut_type="QT" env="qt" input_type="touch" version="*">
|
288
|
+
|
289
|
+
<module name="MobyBehaviour::QT::Synchronization" />
|
290
|
+
|
291
|
+
<methods>
|
292
|
+
<method name="wait_for_signal">
|
293
|
+
<description>Synchronizes execution to a signal. The script will wait until the given signal is emitted.</description>
|
294
|
+
<example>wait_for_signal(10, "clicked()")</example>
|
295
|
+
</method>
|
296
|
+
|
297
|
+
<method name="ensure_event">
|
298
|
+
<description>Make sure event is fired.</description>
|
299
|
+
<example>ensure_event()</example>
|
300
|
+
</method>
|
301
|
+
|
302
|
+
</methods>
|
303
|
+
|
304
|
+
</behaviour>
|
305
|
+
|
306
|
+
<behaviour name="QtFixture" object_type="sut;application;*" sut_type="QT" env="qt" input_type="*" version="*">
|
307
|
+
|
308
|
+
<module name="MobyBehaviour::QT::Fixture" />
|
309
|
+
|
310
|
+
<methods>
|
311
|
+
<method name="fixture">
|
312
|
+
<description>For parameters see fixture documentation</description>
|
313
|
+
<example>fixture</example>
|
314
|
+
</method>
|
315
|
+
<method name="async_fixture">
|
316
|
+
<description>For parameters see fixture documentation</description>
|
317
|
+
<example>async_fixture</example>
|
318
|
+
</method>
|
319
|
+
</methods>
|
320
|
+
|
321
|
+
</behaviour>
|
322
|
+
|
323
|
+
<behaviour name="QtFileTransfer" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
324
|
+
|
325
|
+
<module name="MobyBehaviour::QT::FileTransfer" />
|
326
|
+
|
327
|
+
<methods>
|
328
|
+
<method name="delete_from_sut">
|
329
|
+
<description>Delete files from sut</description>
|
330
|
+
<example>delete_from_sut(:from => 'c:/data/', :file => '*.*')</example>
|
331
|
+
</method>
|
332
|
+
<method name="copy_from_sut">
|
333
|
+
<description>Copy files from sut to host machine</description>
|
334
|
+
<example>copy_from_sut(:from => 'c:/data/', :file => '*.*', :to => 'c:/temp/' )</example>
|
335
|
+
</method>
|
336
|
+
<method name="copy_to_sut">
|
337
|
+
<description>Copy files to sut from host machine</description>
|
338
|
+
<example>copy_to_sut(:from => 'c:/images/', :file => '*.*', :to => 'e:/data/images' )</example>
|
339
|
+
</method>
|
340
|
+
<method name="list_files_from_sut">
|
341
|
+
<description>List files from sut path</description>
|
342
|
+
<example>list_files_from_sut(:from => 'c:/data/', :file => '*.*')</example>
|
343
|
+
</method>
|
344
|
+
</methods>
|
345
|
+
|
346
|
+
</behaviour>
|
347
|
+
|
348
|
+
|
349
|
+
<behaviour name="QtTypeText" object_type="*;application" sut_type="QT" env="qt" input_type="*" version="*">
|
350
|
+
|
351
|
+
<module name="MobyBehaviour::QT::TypeText" />
|
352
|
+
|
353
|
+
<methods>
|
354
|
+
<method name="type_text">
|
355
|
+
<description>Enter the given text into the object.</description>
|
356
|
+
<example>type_text("What would you like to type?")</example>
|
357
|
+
</method>
|
358
|
+
</methods>
|
359
|
+
|
360
|
+
</behaviour>
|
361
|
+
|
362
|
+
<behaviour name="QtKeyPress" object_type="*;application" sut_type="QT" env="qt" input_type="*" version="*">
|
363
|
+
|
364
|
+
<module name="MobyBehaviour::QT::KeyPress" />
|
365
|
+
|
366
|
+
<methods>
|
367
|
+
<method name="press_key">
|
368
|
+
<description>Press key on the object. Used key codes are defined in qt_keymap.xml for the sut.</description>
|
369
|
+
<example>press_key(:kDelete)</example>
|
370
|
+
</method>
|
371
|
+
</methods>
|
372
|
+
|
373
|
+
</behaviour>
|
374
|
+
|
375
|
+
<behaviour name="QtAttribute" object_type="*;application" sut_type="QT" env="qt" input_type="*" version="*">
|
376
|
+
|
377
|
+
<module name="MobyBehaviour::QT::Attribute" />
|
378
|
+
|
379
|
+
<methods>
|
380
|
+
<method name="set_attribute">
|
381
|
+
<description>Set any writable attribute value. String, number and boolean values supported. Attribute is verified to be writable. Notice that setting the attribute might have no effect in the UI if the UI component is not monitoring the changes to the attribute and therefore will not repaint once the attribute value has changed.</description>
|
382
|
+
<example>set_attribute("toolTip", "myToolTip")</example>
|
383
|
+
</method>
|
384
|
+
</methods>
|
385
|
+
|
386
|
+
</behaviour>
|
387
|
+
|
388
|
+
<behaviour name="QtMethod" object_type="*;application" sut_type="QT" env="qt" input_type="*" version="*">
|
389
|
+
|
390
|
+
<module name="MobyBehaviour::QT::Method" />
|
391
|
+
|
392
|
+
<methods>
|
393
|
+
<method name="call_method">
|
394
|
+
<description>Calls selected method on object. At the moment only non parametrized methods are allowed. No other check is done than that method is found</description>
|
395
|
+
<example>call_method("close()")</example>
|
396
|
+
</method>
|
397
|
+
</methods>
|
398
|
+
|
399
|
+
</behaviour>
|
400
|
+
|
401
|
+
<behaviour name="QtGesture" object_type="*" sut_type="QT" env="qt" input_type="touch" version="*">
|
402
|
+
|
403
|
+
<module name="MobyBehaviour::QT::Gesture" />
|
404
|
+
|
405
|
+
<methods>
|
406
|
+
<method name="flick">
|
407
|
+
<description>Do a flick gesture starting at the object.</description>
|
408
|
+
<example>flick(:Up, :Left)</example>
|
409
|
+
</method>
|
410
|
+
<method name="flick_to">
|
411
|
+
<description>Flick the object to the specified (X, Y) coordinates.</description>
|
412
|
+
<example>flick_to(400, 100)</example>
|
413
|
+
</method>
|
414
|
+
<method name="gesture">
|
415
|
+
<description>Perform a gesture on the object using the given direction, speed, distance and button.</description>
|
416
|
+
<example>gesture(:Up, 2, 200, :Left)</example>
|
417
|
+
</method>
|
418
|
+
<method name="gesture_to">
|
419
|
+
<description>Flick/drag the screen from the given object (touch the object and cause a flick or drag gesture).</description>
|
420
|
+
<example>gesture_to(400, 100)</example>
|
421
|
+
</method>
|
422
|
+
<method name="gesture_to_object">
|
423
|
+
<description>Gesture the object to another test object on the screen.</description>
|
424
|
+
<example>gesture_to_object(another_test_object)</example>
|
425
|
+
</method>
|
426
|
+
<method name="gesture_points">
|
427
|
+
<description>Gesture on specific poinst on the screen. Points have to be passed as a array of hashes.</description>
|
428
|
+
<example>gesture_points([{"x" => 200,"y" => 100, interval => 100},{"x" => 200,"y" => 110, interval => 80}])</example>
|
429
|
+
</method>
|
430
|
+
<method name="drag">
|
431
|
+
<description>Drag the object on the screen.</description>
|
432
|
+
<example>drag(:Up, 200)</example>
|
433
|
+
</method>
|
434
|
+
<method name="drag_to">
|
435
|
+
<description>Drag the object to the specified (X, Y) coordinates.</description>
|
436
|
+
<example>drag_to(400, 100)</example>
|
437
|
+
</method>
|
438
|
+
<method name="drag_to_object">
|
439
|
+
<description>Drag the object to another test object on the screen.</description>
|
440
|
+
<example>drag_to_object(another_test_object)</example>
|
441
|
+
</method>
|
442
|
+
<method name="move">
|
443
|
+
<description>Moves the pointer the given distance to the given direction.</description>
|
444
|
+
<example>move(direction, distance, button = :Left)</example>
|
445
|
+
</method>
|
446
|
+
<method name="object_center_x">
|
447
|
+
<description>Utility function for getting the x coordinate of the center of the object.</description>
|
448
|
+
<example>object_center_x</example>
|
449
|
+
</method>
|
450
|
+
<method name="object_center_y">
|
451
|
+
<description>Utility function for getting the x coordinate of the center of the object.</description>
|
452
|
+
<example>object_center_y</example>
|
453
|
+
</method>
|
454
|
+
</methods>
|
455
|
+
|
456
|
+
</behaviour>
|
457
|
+
|
458
|
+
<behaviour name="QtScreenCapture" object_type="*;application" sut_type="QT" env="qt" input_type="*" version="*">
|
459
|
+
|
460
|
+
<module name="MobyBehaviour::QT::ScreenCapture" />
|
461
|
+
|
462
|
+
<methods>
|
463
|
+
<method name="capture_screen">
|
464
|
+
<description>Capture the device display and store it in a file.</description>
|
465
|
+
<example>capture_screen("PNG", "c:/temp/capture.png")</example>
|
466
|
+
</method>
|
467
|
+
<method name="find_on_screen">
|
468
|
+
<description>Checks if and where the given image can be found on the SUT display or inside a widget</description>
|
469
|
+
<example>find_on_screen("c:/some_icon.png", 10)</example>
|
470
|
+
</method>
|
471
|
+
<method name="screen_contains?">
|
472
|
+
<description>Checks if the given image can be found on the SUT display or inside a widget</description>
|
473
|
+
<example>screen_contains?("c:/some_icon.png", 10)</example>
|
474
|
+
</method>
|
475
|
+
</methods>
|
476
|
+
|
477
|
+
</behaviour>
|
478
|
+
|
479
|
+
<behaviour name="QtAction" object_type="QAction" sut_type="QT" env="qt" input_type="touch" version="*">
|
480
|
+
|
481
|
+
<module name="MobyBehaviour::QT::Action" />
|
482
|
+
|
483
|
+
<methods>
|
484
|
+
<method name="hover">
|
485
|
+
<description>Hover over the action.</description>
|
486
|
+
<example>hover</example>
|
487
|
+
</method>
|
488
|
+
<method name="trigger">
|
489
|
+
<description>Trigger the action.</description>
|
490
|
+
<example>trigger</example>
|
491
|
+
</method>
|
492
|
+
</methods>
|
493
|
+
|
494
|
+
</behaviour>
|
495
|
+
|
496
|
+
<behaviour name="QtFind" object_type="*" sut_type="QT" env="qt" input_type="touch" version="*">
|
497
|
+
|
498
|
+
<module name="MobyBehaviour::QT::Find" />
|
499
|
+
|
500
|
+
<methods>
|
501
|
+
<method name="find_and_center">
|
502
|
+
<description>Defines methods to find test objects and scroll them to the display.</description>
|
503
|
+
<example>find_and_center</example>
|
504
|
+
</method>
|
505
|
+
</methods>
|
506
|
+
|
507
|
+
</behaviour>
|
508
|
+
|
509
|
+
<behaviour name="QtViewItem" object_type="ItemData;QTreeWidgetItem;QListWidgetItem;QTableWidgetItem" sut_type="QT" env="qt" input_type="*" version="*">
|
510
|
+
|
511
|
+
<module name="MobyBehaviour::QT::ViewItem" />
|
512
|
+
|
513
|
+
<methods>
|
514
|
+
<method name="select">
|
515
|
+
<description>Select the item.</description>
|
516
|
+
<example>select</example>
|
517
|
+
</method>
|
518
|
+
</methods>
|
519
|
+
|
520
|
+
</behaviour>
|
521
|
+
|
522
|
+
|
523
|
+
<behaviour name="QtTreeWidgetItemColumn" object_type="TreeWidgetItemColumn" sut_type="QT" env="qt" input_type="*" version="*">
|
524
|
+
|
525
|
+
<module name="MobyBehaviour::QT::TreeWidgetItemColumn" />
|
526
|
+
|
527
|
+
<methods>
|
528
|
+
<method name="check_state">
|
529
|
+
<description>Set the check state of the column inside treewidget item.</description>
|
530
|
+
<example>check_state(2)</example>
|
531
|
+
</method>
|
532
|
+
</methods>
|
533
|
+
|
534
|
+
</behaviour>
|
535
|
+
|
536
|
+
|
537
|
+
<behaviour name="QtConfigureBehaviour" object_type="sut;application" sut_type="QT" env="qt" input_type="*" version="*">
|
538
|
+
|
539
|
+
<module name="MobyBehaviour::QT::ConfigureBehaviour" />
|
540
|
+
|
541
|
+
<methods>
|
542
|
+
<method name="clear_log">
|
543
|
+
<description>Clear log on the target.</description>
|
544
|
+
<example>clear_log</example>
|
545
|
+
</method>
|
546
|
+
<method name="enable_logger">
|
547
|
+
<description>Enable logging on the target.</description>
|
548
|
+
<example>enable_logger</example>
|
549
|
+
</method>
|
550
|
+
<method name="disable_logger">
|
551
|
+
<description>Disable logging on the target.</description>
|
552
|
+
<example>disable_logger</example>
|
553
|
+
</method>
|
554
|
+
<method name="set_log_level">
|
555
|
+
<description>Set logging level on the target.</description>
|
556
|
+
<example>set_log_level(:INFO)</example>
|
557
|
+
</method>
|
558
|
+
<method name="set_log_folder">
|
559
|
+
<description>Set logging folder on the target.</description>
|
560
|
+
<example>set_log_folder('/tmp/logs/')</example>
|
561
|
+
</method>
|
562
|
+
<method name="log_to_qdebug">
|
563
|
+
<description>Set logging direct all logging to qDebug or not.</description>
|
564
|
+
<example>log_to_qdebug(true)</example>
|
565
|
+
</method>
|
566
|
+
<method name="log_qdebug">
|
567
|
+
<description>Log all qDebug messages to log files or not.</description>
|
568
|
+
<example>log_qdebug(true)</example>
|
569
|
+
</method>
|
570
|
+
<method name="set_log_size">
|
571
|
+
<description>Set log file size.</description>
|
572
|
+
<example>set_log_size(100000)</example>
|
573
|
+
</method>
|
574
|
+
<method name="configure_logger">
|
575
|
+
<description>Configure the logger..</description>
|
576
|
+
<example>configure_logger({:logEnabled => true, :logLevel => :DEBUG, :logSize => 10000})</example>
|
577
|
+
</method>
|
578
|
+
<method name="log_events">
|
579
|
+
<description>Log events.</description>
|
580
|
+
<example>log_events('MousePress,MouseRelease')</example>
|
581
|
+
</method>
|
582
|
+
<method name="stop_event_logging">
|
583
|
+
<description>Stop logging events.</description>
|
584
|
+
<example>stop_event_logging</example>
|
585
|
+
</method>
|
586
|
+
</methods>
|
587
|
+
|
588
|
+
</behaviour>
|
589
|
+
|
590
|
+
|
591
|
+
<behaviour name="QtMultitouch" object_type="*" sut_type="QT" env="qt" input_type="touch" version="*">
|
592
|
+
|
593
|
+
<module name="MobyBehaviour::QT::Multitouch" />
|
594
|
+
|
595
|
+
<methods>
|
596
|
+
<method name="pinch_zoom_in">
|
597
|
+
<description>Perform a pinch zoom in on a component.</description>
|
598
|
+
<example>pinch_zoom(2, 100, :Vertical)</example>
|
599
|
+
</method>
|
600
|
+
<method name="pinch_zoom_out">
|
601
|
+
<description>Perform a pinch zoom in on a component.</description>
|
602
|
+
<example>pinch_zoom(2, 100, :Vertical)</example>
|
603
|
+
</method>
|
604
|
+
<method name="pinch_zoom">
|
605
|
+
<description>Perform a pinch zoom on a component.</description>
|
606
|
+
<example>pinch_zoom({:type => :out, :speed => speed, :distance_1 => distance, :distance_2 => distance, :direction => direction, :differential => 10})</example>
|
607
|
+
</method>
|
608
|
+
<method name="one_point_rotate">
|
609
|
+
<description>Rotate by holding one point down and moving the other.</description>
|
610
|
+
<example>one_point_rotate(100, 0, :Clockwise, 90, 2)</example>
|
611
|
+
</method>
|
612
|
+
<method name="two_point_rotate">
|
613
|
+
<description>Rotate by moving both ends.</description>
|
614
|
+
<example>two_point_rotate(100, 0, :Clockwise, 45, 2)</example>
|
615
|
+
</method>
|
616
|
+
<method name="rotate">
|
617
|
+
<description>Send a rotate motion t a component.</description>
|
618
|
+
<example>rotate({:type => :one_point, :radius => 100, :rotate_direction => :Clockwise, :distance => 100, :speed => 2, :direction => 0})</example>
|
619
|
+
</method>
|
620
|
+
</methods>
|
621
|
+
|
622
|
+
</behaviour>
|
623
|
+
|
624
|
+
<behaviour name="Switchbox" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
625
|
+
|
626
|
+
<module name="MobyBehaviour::SwitchboxBehaviour" />
|
627
|
+
|
628
|
+
<methods>
|
629
|
+
<method name="reset">
|
630
|
+
<description>Reboots the device using switchbox</description>
|
631
|
+
<example>reset</example>
|
632
|
+
</method>
|
633
|
+
<method name="power_down">
|
634
|
+
<description>Instructs the switchbox to power up the sut</description>
|
635
|
+
<example>power_down</example>
|
636
|
+
</method>
|
637
|
+
<method name="power_up">
|
638
|
+
<description>Instructs the switchbox to power up the sut</description>
|
639
|
+
<example>power_up</example>
|
640
|
+
</method>
|
641
|
+
<method name="power_status">
|
642
|
+
<description>Gets the current power status of the switchbox</description>
|
643
|
+
<example>power_status</example>
|
644
|
+
</method>
|
645
|
+
</methods>
|
646
|
+
|
647
|
+
</behaviour>
|
648
|
+
|
649
|
+
<!--
|
650
|
+
<behaviour name="Flash" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
651
|
+
|
652
|
+
<module name="MobyBehaviour::FlashBehaviour" />
|
653
|
+
|
654
|
+
<methods>
|
655
|
+
<method name="flash">
|
656
|
+
<description>Flashes the device using any command line tool</description>
|
657
|
+
<example>flash</example>
|
658
|
+
</method>
|
659
|
+
<method name="flash_files">
|
660
|
+
<description>Instructs to flash defined files with a command line tool</description>
|
661
|
+
<example>flash_files('\tmp\image.bin \tmp\image2.bin')</example>
|
662
|
+
</method>
|
663
|
+
</methods>
|
664
|
+
|
665
|
+
</behaviour>
|
666
|
+
-->
|
667
|
+
|
668
|
+
<behaviour name="Fps" object_type="*" sut_type="QT" env="qt" input_type="*" version="*">
|
669
|
+
|
670
|
+
<module name="MobyBehaviour::QT::Fps" />
|
671
|
+
|
672
|
+
<methods>
|
673
|
+
<method name="start_fps_measurement">
|
674
|
+
<description>Start measurement of fps</description>
|
675
|
+
<example>start_fps_measurement</example>
|
676
|
+
</method>
|
677
|
+
<method name="stop_fps_measurement">
|
678
|
+
<description>Stop measurement of fps and return the data.</description>
|
679
|
+
<example>start_fps_measurement</example>
|
680
|
+
</method>
|
681
|
+
<method name="collect_fps_data">
|
682
|
+
<description>Returns the collected fps data.</description>
|
683
|
+
<example>collect_fps_data</example>
|
684
|
+
</method>
|
685
|
+
</methods>
|
686
|
+
|
687
|
+
</behaviour>
|
688
|
+
|
689
|
+
<behaviour name="QtCpu" object_type="sut;application" sut_type="QT" env="qt" input_type="*" version="*">
|
690
|
+
<module name="MobyBehaviour::QT::Cpu" />
|
691
|
+
|
692
|
+
<methods>
|
693
|
+
<method name="start_cpu_measurement">
|
694
|
+
<description>Start measurement of cpu</description>
|
695
|
+
<example>start_cpu_measurement</example>
|
696
|
+
</method>
|
697
|
+
<method name="stop_cpu_measurement">
|
698
|
+
<description>Stop measurement of cpu and return the data.</description>
|
699
|
+
<example>stop_cpu_measurement</example>
|
700
|
+
</method>
|
701
|
+
</methods>
|
702
|
+
</behaviour>
|
703
|
+
|
704
|
+
<behaviour name="QtMem" object_type="sut;application" sut_type="QT" env="qt" input_type="*" version="*">
|
705
|
+
<module name="MobyBehaviour::QT::Mem" />
|
706
|
+
|
707
|
+
<methods>
|
708
|
+
<method name="start_mem_measurement">
|
709
|
+
<description>Start measurement of mem</description>
|
710
|
+
<example>start_mem_measurement</example>
|
711
|
+
</method>
|
712
|
+
<method name="stop_mem_measurement">
|
713
|
+
<description>Stop measurement of mem and return the data.</description>
|
714
|
+
<example>stop_mem_measurement</example>
|
715
|
+
</method>
|
716
|
+
</methods>
|
717
|
+
</behaviour>
|
718
|
+
|
719
|
+
<behaviour name="QtGpu" object_type="sut;application" sut_type="QT" env="qt" input_type="*" version="*">
|
720
|
+
<module name="MobyBehaviour::QT::Gpu" />
|
721
|
+
|
722
|
+
<methods>
|
723
|
+
<method name="start_gpu_measurement">
|
724
|
+
<description>Start measurement of gpu</description>
|
725
|
+
<example>start_gpu_measurement</example>
|
726
|
+
</method>
|
727
|
+
<method name="stop_gpu_measurement">
|
728
|
+
<description>Stop measurement of gpu and return the data.</description>
|
729
|
+
<example>stop_gpu_measurement</example>
|
730
|
+
</method>
|
731
|
+
</methods>
|
732
|
+
</behaviour>
|
733
|
+
|
734
|
+
<behaviour name="QtPwr" object_type="sut;application" sut_type="QT" env="qt" input_type="*" version="*">
|
735
|
+
<module name="MobyBehaviour::QT::Pwr" />
|
736
|
+
|
737
|
+
<methods>
|
738
|
+
<method name="start_pwr_measurement">
|
739
|
+
<description>Start measurement of pwr</description>
|
740
|
+
<example>start_pwr_measurement</example>
|
741
|
+
</method>
|
742
|
+
<method name="stop_pwr_measurement">
|
743
|
+
<description>Stop measurement of pwr and return the data.</description>
|
744
|
+
<example>stop_pwr_measurement</example>
|
745
|
+
</method>
|
746
|
+
</methods>
|
747
|
+
</behaviour>
|
748
|
+
|
749
|
+
<behaviour name="Settings" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
750
|
+
|
751
|
+
<module name="MobyBehaviour::QT::Settings" />
|
752
|
+
|
753
|
+
<methods>
|
754
|
+
<method name="set_settings">
|
755
|
+
<description>Set settintgs</description>
|
756
|
+
<example>set_settins</example>
|
757
|
+
</method>
|
758
|
+
<method name="remove_settings">
|
759
|
+
<description>Remove settings.</description>
|
760
|
+
<example>remove_settings</example>
|
761
|
+
</method>
|
762
|
+
<method name="read_settings">
|
763
|
+
<description>Read settings</description>
|
764
|
+
<example>read_settings</example>
|
765
|
+
</method>
|
766
|
+
<method name="read_all_settings">
|
767
|
+
<description>Read all settings</description>
|
768
|
+
<example>read_all_settings</example>
|
769
|
+
</method>
|
770
|
+
</methods>
|
771
|
+
|
772
|
+
</behaviour>
|
773
|
+
|
774
|
+
<behaviour name="QtInfoLoggerBehaviour" object_type="sut;application" sut_type="QT" env="qt" input_type="*" version="*">
|
775
|
+
|
776
|
+
<module name="MobyBehaviour::QT::InfoLoggerBehaviour" />
|
777
|
+
|
778
|
+
<methods>
|
779
|
+
<method name="log_cpu">
|
780
|
+
<description>Log the cpu usage of the process</description>
|
781
|
+
<example>log_cpu</example>
|
782
|
+
</method>
|
783
|
+
<method name="stop_cpu_log">
|
784
|
+
<description>Stop cpu logging and get the results.</description>
|
785
|
+
<example>stop_cpu_log</example>
|
786
|
+
</method>
|
787
|
+
<method name="log_pwr">
|
788
|
+
<description>Log the power usage of the process</description>
|
789
|
+
<example>log_pwr</example>
|
790
|
+
</method>
|
791
|
+
<method name="stop_pwr_log">
|
792
|
+
<description>Stop power logging and get the results.</description>
|
793
|
+
<example>stop_pwr_log</example>
|
794
|
+
</method>
|
795
|
+
<method name="log_mem">
|
796
|
+
<description>Log memory usage.</description>
|
797
|
+
<example>log_mem</example>
|
798
|
+
</method>
|
799
|
+
<method name="stop_mem_log">
|
800
|
+
<description>Stop mem logging and get the results.</description>
|
801
|
+
<example>stop_mem_log</example>
|
802
|
+
</method>
|
803
|
+
<method name="log_gpu_mem">
|
804
|
+
<description>Log the gpu mem usage</description>
|
805
|
+
<example>log_gpu_mem</example>
|
806
|
+
</method>
|
807
|
+
<method name="stop_gpu_log">
|
808
|
+
<description>Stop gpu logging and get the results.</description>
|
809
|
+
<example>stop_gpu_log</example>
|
810
|
+
</method>
|
811
|
+
<method name="load_cpu_log">
|
812
|
+
<description>Load cpu logging results.</description>
|
813
|
+
<example>load_cpu_log</example>
|
814
|
+
</method>
|
815
|
+
<method name="load_pwr_log">
|
816
|
+
<description>Load power logging results.</description>
|
817
|
+
<example>load_pwr_log</example>
|
818
|
+
</method>
|
819
|
+
<method name="load_gpu_log">
|
820
|
+
<description>Load Gpu logging results.</description>
|
821
|
+
<example>load_gpu_log</example>
|
822
|
+
</method>
|
823
|
+
<method name="load_mem_log">
|
824
|
+
<description>Load mem logging results.</description>
|
825
|
+
<example>load_mem_log</example>
|
826
|
+
</method>
|
827
|
+
</methods>
|
828
|
+
|
829
|
+
</behaviour>
|
830
|
+
|
831
|
+
|
832
|
+
<behaviour name="QtLocalisationDB" object_type="sut" sut_type="QT" env="qt" input_type="*" version="*">
|
833
|
+
|
834
|
+
<module name="MobyBehaviour::QT::LocalisationDB" />
|
835
|
+
|
836
|
+
<methods>
|
837
|
+
<method name="create_locale_db">
|
838
|
+
<description>Creates locale_db file.</description>
|
839
|
+
<example>create_locale_db("/usr/share", "*.qm", "/path/to/locale_db")</example>
|
840
|
+
</method>
|
841
|
+
</methods>
|
842
|
+
</behaviour>
|
843
|
+
|
844
|
+
|
845
|
+
</behaviours>
|