PyUnit/UnittestDialog.ui

changeset 1166
a94b0a2fafd7
parent 55
b5c84934de9c
child 3071
83d066710d60
equal deleted inserted replaced
1163:0155e7aa345d 1166:a94b0a2fafd7
1 <ui version="4.0" > 1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <class>UnittestDialog</class> 3 <class>UnittestDialog</class>
3 <widget class="QWidget" name="UnittestDialog" > 4 <widget class="QWidget" name="UnittestDialog">
4 <property name="geometry" > 5 <property name="geometry">
5 <rect> 6 <rect>
6 <x>0</x> 7 <x>0</x>
7 <y>0</y> 8 <y>0</y>
8 <width>619</width> 9 <width>650</width>
9 <height>667</height> 10 <height>700</height>
10 </rect> 11 </rect>
11 </property> 12 </property>
12 <property name="windowTitle" > 13 <property name="windowTitle">
13 <string>Unittest</string> 14 <string>Unittest</string>
14 </property> 15 </property>
15 <layout class="QVBoxLayout" name="_2" > 16 <layout class="QVBoxLayout" name="verticalLayout_2">
16 <item> 17 <item>
17 <widget class="QGroupBox" name="groupBox" > 18 <widget class="QGroupBox" name="groupBox">
18 <property name="title" > 19 <property name="title">
19 <string/> 20 <string/>
20 </property> 21 </property>
21 <layout class="QGridLayout" name="_4" > 22 <layout class="QGridLayout" name="_4">
22 <item row="1" column="1" colspan="2" > 23 <item row="1" column="1" colspan="2">
23 <widget class="QComboBox" name="testComboBox" > 24 <widget class="QComboBox" name="testComboBox">
24 <property name="toolTip" > 25 <property name="toolTip">
25 <string>Enter the test name. Leave empty to use the default name "suite".</string> 26 <string>Enter the test name. Leave empty to use the default name &quot;suite&quot;.</string>
26 </property> 27 </property>
27 <property name="whatsThis" > 28 <property name="whatsThis">
28 <string>&lt;b>Testname&lt;/b>&lt;p>Enter the name of the test to be performed. This name must follow the rules given by Python's unittest module. If this field is empty, the default name of "suite" will be used.&lt;/p></string> 29 <string>&lt;b&gt;Testname&lt;/b&gt;&lt;p&gt;Enter the name of the test to be performed. This name must follow the rules given by Python's unittest module. If this field is empty, the default name of &quot;suite&quot; will be used.&lt;/p&gt;</string>
29 </property> 30 </property>
30 <property name="editable" > 31 <property name="editable">
31 <bool>true</bool> 32 <bool>true</bool>
32 </property> 33 </property>
33 </widget> 34 </widget>
34 </item> 35 </item>
35 <item row="0" column="1" > 36 <item row="0" column="1">
36 <widget class="QComboBox" name="testsuiteComboBox" > 37 <widget class="QComboBox" name="testsuiteComboBox">
37 <property name="sizePolicy" > 38 <property name="sizePolicy">
38 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > 39 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
39 <horstretch>0</horstretch> 40 <horstretch>0</horstretch>
40 <verstretch>0</verstretch> 41 <verstretch>0</verstretch>
41 </sizepolicy> 42 </sizepolicy>
42 </property> 43 </property>
43 <property name="toolTip" > 44 <property name="toolTip">
44 <string>Enter name of file defining the testsuite</string> 45 <string>Enter name of file defining the testsuite</string>
45 </property> 46 </property>
46 <property name="whatsThis" > 47 <property name="whatsThis">
47 <string>&lt;b>Testsuite&lt;/b> 48 <string>&lt;b&gt;Testsuite&lt;/b&gt;
48 &lt;p>Enter the name of the file defining the testsuite. 49 &lt;p&gt;Enter the name of the file defining the testsuite.
49 It should have a method with a name given below. If no name is given, the suite() method will be tried. If no such method can be 50 It should have a method with a name given below. If no name is given, the suite() method will be tried. If no such method can be
50 found, the module will be inspected for proper test 51 found, the module will be inspected for proper test
51 cases.&lt;/p></string> 52 cases.&lt;/p&gt;</string>
52 </property> 53 </property>
53 <property name="editable" > 54 <property name="editable">
54 <bool>true</bool> 55 <bool>true</bool>
55 </property> 56 </property>
56 <property name="insertPolicy" > 57 <property name="insertPolicy">
57 <enum>QComboBox::InsertAtTop</enum> 58 <enum>QComboBox::InsertAtTop</enum>
58 </property> 59 </property>
59 <property name="autoCompletion" > 60 <property name="autoCompletion">
60 <bool>true</bool> 61 <bool>true</bool>
61 </property> 62 </property>
62 <property name="duplicatesEnabled" > 63 <property name="duplicatesEnabled">
63 <bool>false</bool> 64 <bool>false</bool>
64 </property> 65 </property>
65 </widget> 66 </widget>
66 </item> 67 </item>
67 <item row="1" column="0" > 68 <item row="1" column="0">
68 <widget class="QLabel" name="label" > 69 <widget class="QLabel" name="label">
69 <property name="text" > 70 <property name="text">
70 <string>Enter &amp;test name:</string> 71 <string>Enter &amp;test name:</string>
71 </property> 72 </property>
72 <property name="buddy" > 73 <property name="buddy">
73 <cstring>testComboBox</cstring> 74 <cstring>testComboBox</cstring>
74 </property> 75 </property>
75 </widget> 76 </widget>
76 </item> 77 </item>
77 <item row="0" column="2" > 78 <item row="0" column="2">
78 <widget class="QPushButton" name="fileDialogButton" > 79 <widget class="QPushButton" name="fileDialogButton">
79 <property name="toolTip" > 80 <property name="toolTip">
80 <string>Open a file selection dialog</string> 81 <string>Open a file selection dialog</string>
81 </property> 82 </property>
82 <property name="text" > 83 <property name="text">
83 <string>...</string> 84 <string>...</string>
84 </property> 85 </property>
85 </widget> 86 </widget>
86 </item> 87 </item>
87 <item row="0" column="0" > 88 <item row="0" column="0">
88 <widget class="QLabel" name="testsuiteLabel" > 89 <widget class="QLabel" name="testsuiteLabel">
89 <property name="text" > 90 <property name="text">
90 <string>Enter test &amp;filename:</string> 91 <string>Enter test &amp;filename:</string>
91 </property> 92 </property>
92 <property name="buddy" > 93 <property name="buddy">
93 <cstring>testsuiteComboBox</cstring> 94 <cstring>testsuiteComboBox</cstring>
94 </property> 95 </property>
95 </widget> 96 </widget>
96 </item> 97 </item>
97 </layout> 98 </layout>
98 </widget> 99 </widget>
99 </item> 100 </item>
100 <item> 101 <item>
101 <widget class="QGroupBox" name="optionsGroup" > 102 <widget class="QGroupBox" name="optionsGroup">
102 <property name="title" > 103 <property name="title">
103 <string/> 104 <string/>
104 </property> 105 </property>
105 <layout class="QHBoxLayout" name="_5" > 106 <layout class="QHBoxLayout" name="_5">
106 <item> 107 <item>
107 <widget class="QCheckBox" name="localCheckBox" > 108 <widget class="QCheckBox" name="localCheckBox">
108 <property name="toolTip" > 109 <property name="toolTip">
109 <string>Select whether you want to run the test locally</string> 110 <string>Select whether you want to run the test locally</string>
110 </property> 111 </property>
111 <property name="text" > 112 <property name="text">
112 <string>Run &amp;local</string> 113 <string>Run &amp;local</string>
113 </property> 114 </property>
114 </widget> 115 </widget>
115 </item> 116 </item>
116 <item> 117 <item>
117 <widget class="QCheckBox" name="coverageCheckBox" > 118 <widget class="QCheckBox" name="coverageCheckBox">
118 <property name="toolTip" > 119 <property name="toolTip">
119 <string>Select whether coverage data should be collected</string> 120 <string>Select whether coverage data should be collected</string>
120 </property> 121 </property>
121 <property name="text" > 122 <property name="text">
122 <string>C&amp;ollect coverage data</string> 123 <string>C&amp;ollect coverage data</string>
123 </property> 124 </property>
124 </widget> 125 </widget>
125 </item> 126 </item>
126 <item> 127 <item>
127 <widget class="QCheckBox" name="coverageEraseCheckBox" > 128 <widget class="QCheckBox" name="coverageEraseCheckBox">
128 <property name="enabled" > 129 <property name="enabled">
129 <bool>false</bool> 130 <bool>false</bool>
130 </property> 131 </property>
131 <property name="toolTip" > 132 <property name="toolTip">
132 <string>Select whether old coverage data should be erased</string> 133 <string>Select whether old coverage data should be erased</string>
133 </property> 134 </property>
134 <property name="text" > 135 <property name="text">
135 <string>&amp;Erase coverage data</string> 136 <string>&amp;Erase coverage data</string>
136 </property> 137 </property>
137 </widget> 138 </widget>
138 </item> 139 </item>
139 </layout> 140 </layout>
140 </widget> 141 </widget>
141 </item> 142 </item>
142 <item> 143 <item>
143 <widget class="QGroupBox" name="progressGroupBox" > 144 <widget class="QGroupBox" name="progressGroupBox">
144 <property name="title" > 145 <property name="title">
145 <string/> 146 <string/>
146 </property> 147 </property>
147 <layout class="QVBoxLayout" name="_6" > 148 <layout class="QVBoxLayout" name="verticalLayout">
148 <item> 149 <item>
149 <layout class="QHBoxLayout" name="_8" > 150 <layout class="QHBoxLayout" name="_8">
150 <item> 151 <item>
151 <widget class="QLabel" name="progressTextLabel" > 152 <widget class="QLabel" name="progressTextLabel">
152 <property name="text" > 153 <property name="text">
153 <string>Progress:</string> 154 <string>Progress:</string>
154 </property> 155 </property>
155 </widget> 156 </widget>
156 </item> 157 </item>
157 <item> 158 <item>
158 <spacer> 159 <spacer>
159 <property name="orientation" > 160 <property name="orientation">
160 <enum>Qt::Horizontal</enum> 161 <enum>Qt::Horizontal</enum>
161 </property> 162 </property>
162 <property name="sizeHint" stdset="0" > 163 <property name="sizeHint" stdset="0">
163 <size> 164 <size>
164 <width>371</width> 165 <width>371</width>
165 <height>20</height> 166 <height>20</height>
166 </size> 167 </size>
167 </property> 168 </property>
168 </spacer> 169 </spacer>
169 </item> 170 </item>
170 <item> 171 <item>
171 <widget class="E5Led" name="progressLed" /> 172 <widget class="E5Led" name="progressLed"/>
172 </item> 173 </item>
173 </layout> 174 </layout>
174 </item> 175 </item>
175 <item> 176 <item>
176 <widget class="QProgressBar" name="progressProgressBar" > 177 <widget class="QProgressBar" name="progressProgressBar">
177 <property name="value" > 178 <property name="value">
178 <number>0</number> 179 <number>0</number>
179 </property> 180 </property>
180 <property name="orientation" > 181 <property name="orientation">
181 <enum>Qt::Horizontal</enum> 182 <enum>Qt::Horizontal</enum>
182 </property> 183 </property>
183 </widget> 184 </widget>
184 </item> 185 </item>
185 <item> 186 <item>
186 <layout class="QHBoxLayout" name="_7" > 187 <layout class="QHBoxLayout" name="horizontalLayout_2">
187 <item> 188 <item>
188 <widget class="QLabel" name="progressCounterRunLabel" > 189 <widget class="QLabel" name="progressCounterRunLabel">
189 <property name="text" > 190 <property name="text">
190 <string>Run:</string> 191 <string>Run:</string>
191 </property> 192 </property>
192 </widget> 193 </widget>
193 </item> 194 </item>
194 <item> 195 <item>
195 <widget class="QLabel" name="progressCounterRunCount" > 196 <widget class="QLabel" name="progressCounterRunCount">
196 <property name="toolTip" > 197 <property name="toolTip">
197 <string>Number of tests run</string> 198 <string>Number of tests run</string>
198 </property> 199 </property>
199 <property name="text" > 200 <property name="text">
200 <string>0</string> 201 <string notr="true">0</string>
201 </property> 202 </property>
202 </widget> 203 </widget>
203 </item> 204 </item>
204 <item> 205 <item>
205 <widget class="QLabel" name="progressCounterFailureLabel" > 206 <widget class="QLabel" name="progressCounterRemLabel">
206 <property name="text" > 207 <property name="text">
208 <string>Remaining:</string>
209 </property>
210 </widget>
211 </item>
212 <item>
213 <widget class="QLabel" name="progressCounterRemCount">
214 <property name="toolTip">
215 <string>Number of tests to be run</string>
216 </property>
217 <property name="text">
218 <string notr="true">0</string>
219 </property>
220 </widget>
221 </item>
222 <item>
223 <spacer name="horizontalSpacer">
224 <property name="orientation">
225 <enum>Qt::Horizontal</enum>
226 </property>
227 <property name="sizeHint" stdset="0">
228 <size>
229 <width>40</width>
230 <height>20</height>
231 </size>
232 </property>
233 </spacer>
234 </item>
235 </layout>
236 </item>
237 <item>
238 <layout class="QHBoxLayout" name="horizontalLayout">
239 <item>
240 <widget class="QLabel" name="progressCounterFailureLabel">
241 <property name="text">
207 <string>Failures:</string> 242 <string>Failures:</string>
208 </property> 243 </property>
209 </widget> 244 </widget>
210 </item> 245 </item>
211 <item> 246 <item>
212 <widget class="QLabel" name="progressCounterFailureCount" > 247 <widget class="QLabel" name="progressCounterFailureCount">
213 <property name="toolTip" > 248 <property name="toolTip">
214 <string>Number of test failures</string> 249 <string>Number of test failures</string>
215 </property> 250 </property>
216 <property name="text" > 251 <property name="text">
217 <string>0</string> 252 <string notr="true">0</string>
218 </property> 253 </property>
219 </widget> 254 </widget>
220 </item> 255 </item>
221 <item> 256 <item>
222 <widget class="QLabel" name="progressCounterErrorLabel" > 257 <widget class="QLabel" name="progressCounterErrorLabel">
223 <property name="text" > 258 <property name="text">
224 <string>Errors:</string> 259 <string>Errors:</string>
225 </property> 260 </property>
226 </widget> 261 </widget>
227 </item> 262 </item>
228 <item> 263 <item>
229 <widget class="QLabel" name="progressCounterErrorCount" > 264 <widget class="QLabel" name="progressCounterErrorCount">
230 <property name="toolTip" > 265 <property name="toolTip">
231 <string>Number of test errors</string> 266 <string>Number of test errors</string>
232 </property> 267 </property>
233 <property name="text" > 268 <property name="text">
234 <string>0</string> 269 <string notr="true">0</string>
235 </property> 270 </property>
236 </widget> 271 </widget>
237 </item> 272 </item>
238 <item> 273 <item>
239 <widget class="QLabel" name="progressCounterRemLabel" > 274 <widget class="QLabel" name="progressCounterSkippedLabel">
240 <property name="text" > 275 <property name="text">
241 <string>Remaining:</string> 276 <string>Skipped:</string>
242 </property> 277 </property>
243 </widget> 278 </widget>
244 </item> 279 </item>
245 <item> 280 <item>
246 <widget class="QLabel" name="progressCounterRemCount" > 281 <widget class="QLabel" name="progressCounterSkippedCount">
247 <property name="toolTip" > 282 <property name="toolTip">
248 <string>Number of tests to be run</string> 283 <string>Number of tests skipped</string>
249 </property> 284 </property>
250 <property name="text" > 285 <property name="text">
251 <string>0</string> 286 <string notr="true">0</string>
287 </property>
288 </widget>
289 </item>
290 <item>
291 <widget class="QLabel" name="progressCounterExpectedFailureLabel">
292 <property name="text">
293 <string>Expected Failures:</string>
294 </property>
295 </widget>
296 </item>
297 <item>
298 <widget class="QLabel" name="progressCounterExpectedFailureCount">
299 <property name="toolTip">
300 <string>Number of tests with expected failure</string>
301 </property>
302 <property name="text">
303 <string notr="true">0</string>
304 </property>
305 </widget>
306 </item>
307 <item>
308 <widget class="QLabel" name="progressCounterUnexpectedSuccessLabel">
309 <property name="text">
310 <string>Unexpected Successes:</string>
311 </property>
312 </widget>
313 </item>
314 <item>
315 <widget class="QLabel" name="progressCounterUnexpectedSuccessCount">
316 <property name="toolTip">
317 <string>Number of tests with unexpected success</string>
318 </property>
319 <property name="text">
320 <string notr="true">0</string>
252 </property> 321 </property>
253 </widget> 322 </widget>
254 </item> 323 </item>
255 <item> 324 <item>
256 <spacer> 325 <spacer>
257 <property name="orientation" > 326 <property name="orientation">
258 <enum>Qt::Horizontal</enum> 327 <enum>Qt::Horizontal</enum>
259 </property> 328 </property>
260 <property name="sizeType" > 329 <property name="sizeType">
261 <enum>QSizePolicy::Expanding</enum> 330 <enum>QSizePolicy::Expanding</enum>
262 </property> 331 </property>
263 <property name="sizeHint" stdset="0" > 332 <property name="sizeHint" stdset="0">
264 <size> 333 <size>
265 <width>20</width> 334 <width>20</width>
266 <height>20</height> 335 <height>20</height>
267 </size> 336 </size>
268 </property> 337 </property>
272 </item> 341 </item>
273 </layout> 342 </layout>
274 </widget> 343 </widget>
275 </item> 344 </item>
276 <item> 345 <item>
277 <widget class="QLabel" name="textLabel1" > 346 <widget class="QLabel" name="textLabel1">
278 <property name="text" > 347 <property name="text">
279 <string>Tests performed:</string> 348 <string>Tests performed:</string>
280 </property> 349 </property>
281 </widget> 350 </widget>
282 </item> 351 </item>
283 <item> 352 <item>
284 <widget class="QListWidget" name="testsListWidget" /> 353 <widget class="QListWidget" name="testsListWidget"/>
285 </item> 354 </item>
286 <item> 355 <item>
287 <widget class="QLabel" name="listboxLabel" > 356 <widget class="QLabel" name="listboxLabel">
288 <property name="text" > 357 <property name="text">
289 <string>Failures and errors:</string> 358 <string>Failures and errors:</string>
290 </property> 359 </property>
291 </widget> 360 </widget>
292 </item> 361 </item>
293 <item> 362 <item>
294 <widget class="QListWidget" name="errorsListWidget" > 363 <widget class="QListWidget" name="errorsListWidget">
295 <property name="toolTip" > 364 <property name="toolTip">
296 <string>Failures and Errors list</string> 365 <string>Failures and Errors list</string>
297 </property> 366 </property>
298 <property name="whatsThis" > 367 <property name="whatsThis">
299 <string>&lt;b>Failures and Errors list&lt;/b> 368 <string>&lt;b&gt;Failures and Errors list&lt;/b&gt;
300 &lt;p>This list shows all failed and errored tests. 369 &lt;p&gt;This list shows all failed and errored tests.
301 Double clicking on an entry will show the respective traceback.&lt;/p></string> 370 Double clicking on an entry will show the respective traceback.&lt;/p&gt;</string>
302 </property> 371 </property>
303 </widget> 372 </widget>
304 </item> 373 </item>
305 <item> 374 <item>
306 <widget class="QDialogButtonBox" name="buttonBox" > 375 <widget class="QDialogButtonBox" name="buttonBox">
307 <property name="orientation" > 376 <property name="orientation">
308 <enum>Qt::Horizontal</enum> 377 <enum>Qt::Horizontal</enum>
309 </property> 378 </property>
310 <property name="standardButtons" > 379 <property name="standardButtons">
311 <set>QDialogButtonBox::Close</set> 380 <set>QDialogButtonBox::Close</set>
312 </property> 381 </property>
313 </widget> 382 </widget>
314 </item> 383 </item>
315 <item> 384 <item>
316 <layout class="QHBoxLayout" name="_3" > 385 <layout class="QHBoxLayout" name="_3">
317 <item> 386 <item>
318 <widget class="QLabel" name="sbLabel" > 387 <widget class="QLabel" name="sbLabel">
319 <property name="sizePolicy" > 388 <property name="sizePolicy">
320 <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > 389 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
321 <horstretch>0</horstretch> 390 <horstretch>0</horstretch>
322 <verstretch>0</verstretch> 391 <verstretch>0</verstretch>
323 </sizepolicy> 392 </sizepolicy>
324 </property> 393 </property>
325 <property name="text" > 394 <property name="text">
326 <string>Idle</string> 395 <string>Idle</string>
327 </property> 396 </property>
328 </widget> 397 </widget>
329 </item> 398 </item>
330 <item> 399 <item>
331 <spacer> 400 <spacer>
332 <property name="orientation" > 401 <property name="orientation">
333 <enum>Qt::Horizontal</enum> 402 <enum>Qt::Horizontal</enum>
334 </property> 403 </property>
335 <property name="sizeType" > 404 <property name="sizeType">
336 <enum>QSizePolicy::Expanding</enum> 405 <enum>QSizePolicy::Expanding</enum>
337 </property> 406 </property>
338 <property name="sizeHint" stdset="0" > 407 <property name="sizeHint" stdset="0">
339 <size> 408 <size>
340 <width>20</width> 409 <width>20</width>
341 <height>20</height> 410 <height>20</height>
342 </size> 411 </size>
343 </property> 412 </property>
371 <sender>coverageCheckBox</sender> 440 <sender>coverageCheckBox</sender>
372 <signal>toggled(bool)</signal> 441 <signal>toggled(bool)</signal>
373 <receiver>coverageEraseCheckBox</receiver> 442 <receiver>coverageEraseCheckBox</receiver>
374 <slot>setEnabled(bool)</slot> 443 <slot>setEnabled(bool)</slot>
375 <hints> 444 <hints>
376 <hint type="sourcelabel" > 445 <hint type="sourcelabel">
377 <x>405</x> 446 <x>405</x>
378 <y>107</y> 447 <y>107</y>
379 </hint> 448 </hint>
380 <hint type="destinationlabel" > 449 <hint type="destinationlabel">
381 <x>604</x> 450 <x>604</x>
382 <y>107</y> 451 <y>107</y>
383 </hint> 452 </hint>
384 </hints> 453 </hints>
385 </connection> 454 </connection>
387 <sender>buttonBox</sender> 456 <sender>buttonBox</sender>
388 <signal>accepted()</signal> 457 <signal>accepted()</signal>
389 <receiver>UnittestDialog</receiver> 458 <receiver>UnittestDialog</receiver>
390 <slot>close()</slot> 459 <slot>close()</slot>
391 <hints> 460 <hints>
392 <hint type="sourcelabel" > 461 <hint type="sourcelabel">
393 <x>58</x> 462 <x>58</x>
394 <y>618</y> 463 <y>618</y>
395 </hint> 464 </hint>
396 <hint type="destinationlabel" > 465 <hint type="destinationlabel">
397 <x>72</x> 466 <x>72</x>
398 <y>667</y> 467 <y>667</y>
399 </hint> 468 </hint>
400 </hints> 469 </hints>
401 </connection> 470 </connection>
403 <sender>buttonBox</sender> 472 <sender>buttonBox</sender>
404 <signal>rejected()</signal> 473 <signal>rejected()</signal>
405 <receiver>UnittestDialog</receiver> 474 <receiver>UnittestDialog</receiver>
406 <slot>close()</slot> 475 <slot>close()</slot>
407 <hints> 476 <hints>
408 <hint type="sourcelabel" > 477 <hint type="sourcelabel">
409 <x>148</x> 478 <x>148</x>
410 <y>623</y> 479 <y>623</y>
411 </hint> 480 </hint>
412 <hint type="destinationlabel" > 481 <hint type="destinationlabel">
413 <x>148</x> 482 <x>148</x>
414 <y>668</y> 483 <y>668</y>
415 </hint> 484 </hint>
416 </hints> 485 </hints>
417 </connection> 486 </connection>

eric ide

mercurial