218 <table> |
218 <table> |
219 <tr> |
219 <tr> |
220 <td><a href="#UnittestDialog.__init__">UnittestDialog</a></td> |
220 <td><a href="#UnittestDialog.__init__">UnittestDialog</a></td> |
221 <td>Constructor</td> |
221 <td>Constructor</td> |
222 </tr><tr> |
222 </tr><tr> |
|
223 <td><a href="#UnittestDialog.__UTDiscovered">__UTDiscovered</a></td> |
|
224 <td>Private slot to handle the utPrepared signal.</td> |
|
225 </tr><tr> |
223 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
226 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
224 <td>Private slot to handle the utPrepared signal.</td> |
227 <td>Private slot to handle the utPrepared signal.</td> |
225 </tr><tr> |
228 </tr><tr> |
|
229 <td><a href="#UnittestDialog.__assembleTestCasesList">__assembleTestCasesList</a></td> |
|
230 <td>Private method to assemble a list of test cases included in a test suite.</td> |
|
231 </tr><tr> |
|
232 <td><a href="#UnittestDialog.__discover">__discover</a></td> |
|
233 <td>Private slot to discover unit test but don't run them.</td> |
|
234 </tr><tr> |
|
235 <td><a href="#UnittestDialog.__findDiscoveryItem">__findDiscoveryItem</a></td> |
|
236 <td>Private method to find an item given the module path.</td> |
|
237 </tr><tr> |
226 <td><a href="#UnittestDialog.__openEditor">__openEditor</a></td> |
238 <td><a href="#UnittestDialog.__openEditor">__openEditor</a></td> |
227 <td>Private method to open an editor window for the given file.</td> |
239 <td>Private method to open an editor window for the given file.</td> |
228 </tr><tr> |
240 </tr><tr> |
|
241 <td><a href="#UnittestDialog.__populateDiscoveryResults">__populateDiscoveryResults</a></td> |
|
242 <td>Private method to populate the test discovery results list.</td> |
|
243 </tr><tr> |
|
244 <td><a href="#UnittestDialog.__populateVenvComboBox">__populateVenvComboBox</a></td> |
|
245 <td>Private method to (re-)populate the virtual environments selector.</td> |
|
246 </tr><tr> |
|
247 <td><a href="#UnittestDialog.__selectedTestCases">__selectedTestCases</a></td> |
|
248 <td>Private method to assemble the list of selected test cases and suites.</td> |
|
249 </tr><tr> |
229 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td> |
250 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td> |
230 <td>Private methode to set the color of the progress color label.</td> |
251 <td>Private methode to set the color of the progress color label.</td> |
231 </tr><tr> |
252 </tr><tr> |
232 <td><a href="#UnittestDialog.__setRunningMode">__setRunningMode</a></td> |
253 <td><a href="#UnittestDialog.__setRunningMode">__setRunningMode</a></td> |
233 <td>Private method to set the GUI in running mode.</td> |
254 <td>Private method to set the GUI in running mode.</td> |
236 <td>Private method to set the GUI in stopped mode.</td> |
257 <td>Private method to set the GUI in stopped mode.</td> |
237 </tr><tr> |
258 </tr><tr> |
238 <td><a href="#UnittestDialog.__showSource">__showSource</a></td> |
259 <td><a href="#UnittestDialog.__showSource">__showSource</a></td> |
239 <td>Private slot to show the source of a traceback in an eric6 editor.</td> |
260 <td>Private slot to show the source of a traceback in an eric6 editor.</td> |
240 </tr><tr> |
261 </tr><tr> |
|
262 <td><a href="#UnittestDialog.__stopTests">__stopTests</a></td> |
|
263 <td>Private slot to stop the test.</td> |
|
264 </tr><tr> |
241 <td><a href="#UnittestDialog.closeEvent">closeEvent</a></td> |
265 <td><a href="#UnittestDialog.closeEvent">closeEvent</a></td> |
242 <td>Protected method to handle the close event.</td> |
266 <td>Protected method to handle the close event.</td> |
243 </tr><tr> |
267 </tr><tr> |
244 <td><a href="#UnittestDialog.hasFailedTests">hasFailedTests</a></td> |
268 <td><a href="#UnittestDialog.hasFailedTests">hasFailedTests</a></td> |
245 <td>Public method to check, if there are failed tests from the last run.</td> |
269 <td>Public method to check, if there are failed tests from the last run.</td> |
246 </tr><tr> |
270 </tr><tr> |
|
271 <td><a href="#UnittestDialog.insertDiscovery">insertDiscovery</a></td> |
|
272 <td>Public slot to insert the discovery start directory into the discoveryPicker object.</td> |
|
273 </tr><tr> |
247 <td><a href="#UnittestDialog.insertProg">insertProg</a></td> |
274 <td><a href="#UnittestDialog.insertProg">insertProg</a></td> |
248 <td>Public slot to insert the filename prog into the testsuitePicker object.</td> |
275 <td>Public slot to insert the filename prog into the testsuitePicker object.</td> |
249 </tr><tr> |
276 </tr><tr> |
250 <td><a href="#UnittestDialog.insertTestName">insertTestName</a></td> |
277 <td><a href="#UnittestDialog.insertTestName">insertTestName</a></td> |
251 <td>Public slot to insert a test name into the testComboBox object.</td> |
278 <td>Public slot to insert a test name into the testComboBox object.</td> |
254 <td>Protected slot to handle key press events.</td> |
281 <td>Protected slot to handle key press events.</td> |
255 </tr><tr> |
282 </tr><tr> |
256 <td><a href="#UnittestDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
283 <td><a href="#UnittestDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
257 <td>Private slot called by a button of the button box clicked.</td> |
284 <td>Private slot called by a button of the button box clicked.</td> |
258 </tr><tr> |
285 </tr><tr> |
|
286 <td><a href="#UnittestDialog.on_discoverCheckBox_toggled">on_discoverCheckBox_toggled</a></td> |
|
287 <td>Private slot handling state changes of the 'discover' checkbox.</td> |
|
288 </tr><tr> |
259 <td><a href="#UnittestDialog.on_errorsListWidget_currentTextChanged">on_errorsListWidget_currentTextChanged</a></td> |
289 <td><a href="#UnittestDialog.on_errorsListWidget_currentTextChanged">on_errorsListWidget_currentTextChanged</a></td> |
260 <td>Private slot to handle the highlighted signal.</td> |
290 <td>Private slot to handle the highlighted signal.</td> |
261 </tr><tr> |
291 </tr><tr> |
262 <td><a href="#UnittestDialog.on_errorsListWidget_itemDoubleClicked">on_errorsListWidget_itemDoubleClicked</a></td> |
292 <td><a href="#UnittestDialog.on_errorsListWidget_itemDoubleClicked">on_errorsListWidget_itemDoubleClicked</a></td> |
263 <td>Private slot called by doubleclicking an errorlist entry.</td> |
293 <td>Private slot called by doubleclicking an errorlist entry.</td> |
264 </tr><tr> |
294 </tr><tr> |
265 <td><a href="#UnittestDialog.on_startButton_clicked">on_startButton_clicked</a></td> |
|
266 <td>Private slot to start the test.</td> |
|
267 </tr><tr> |
|
268 <td><a href="#UnittestDialog.on_stopButton_clicked">on_stopButton_clicked</a></td> |
|
269 <td>Private slot to stop the test.</td> |
|
270 </tr><tr> |
|
271 <td><a href="#UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog">on_testsuitePicker_aboutToShowPathPickerDialog</a></td> |
295 <td><a href="#UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog">on_testsuitePicker_aboutToShowPathPickerDialog</a></td> |
272 <td>Private slot called before the test suite selection dialog is shown.</td> |
296 <td>Private slot called before the test suite selection dialog is shown.</td> |
273 </tr><tr> |
297 </tr><tr> |
274 <td><a href="#UnittestDialog.on_testsuitePicker_editTextChanged">on_testsuitePicker_editTextChanged</a></td> |
298 <td><a href="#UnittestDialog.on_testsuitePicker_editTextChanged">on_testsuitePicker_editTextChanged</a></td> |
275 <td>Private slot to handle changes of the test file name.</td> |
299 <td>Private slot handling changes of the test suite path.</td> |
276 </tr><tr> |
300 </tr><tr> |
277 <td><a href="#UnittestDialog.on_testsuitePicker_pathSelected">on_testsuitePicker_pathSelected</a></td> |
301 <td><a href="#UnittestDialog.on_testsuitePicker_pathSelected">on_testsuitePicker_pathSelected</a></td> |
278 <td>Private slot called after a test suite has been selected.</td> |
302 <td>Private slot called after a test suite has been selected.</td> |
279 </tr><tr> |
303 </tr><tr> |
280 <td><a href="#UnittestDialog.on_venvComboBox_currentTextChanged">on_venvComboBox_currentTextChanged</a></td> |
|
281 <td>Private slot to handle the selection of a virtual environment.</td> |
|
282 </tr><tr> |
|
283 <td><a href="#UnittestDialog.setProjectMode">setProjectMode</a></td> |
304 <td><a href="#UnittestDialog.setProjectMode">setProjectMode</a></td> |
284 <td>Public method to set the project mode of the dialog.</td> |
305 <td>Public method to set the project mode of the dialog.</td> |
|
306 </tr><tr> |
|
307 <td><a href="#UnittestDialog.startTests">startTests</a></td> |
|
308 <td>Public slot to start the test.</td> |
285 </tr><tr> |
309 </tr><tr> |
286 <td><a href="#UnittestDialog.testErrored">testErrored</a></td> |
310 <td><a href="#UnittestDialog.testErrored">testErrored</a></td> |
287 <td>Public method called if a test errors.</td> |
311 <td>Public method called if a test errors.</td> |
288 </tr><tr> |
312 </tr><tr> |
289 <td><a href="#UnittestDialog.testFailed">testFailed</a></td> |
313 <td><a href="#UnittestDialog.testFailed">testFailed</a></td> |
330 parent widget of this dialog |
354 parent widget of this dialog |
331 </dd><dt><i>name</i> (str)</dt> |
355 </dd><dt><i>name</i> (str)</dt> |
332 <dd> |
356 <dd> |
333 name of this dialog |
357 name of this dialog |
334 </dd> |
358 </dd> |
335 </dl><a NAME="UnittestDialog.__UTPrepared" ID="UnittestDialog.__UTPrepared"></a> |
359 </dl><a NAME="UnittestDialog.__UTDiscovered" ID="UnittestDialog.__UTDiscovered"></a> |
336 <h4>UnittestDialog.__UTPrepared</h4> |
360 <h4>UnittestDialog.__UTDiscovered</h4> |
337 <b>__UTPrepared</b>(<i>nrTests, exc_type, exc_value</i>) |
361 <b>__UTDiscovered</b>(<i>testCases, exc_type, exc_value</i>) |
338 <p> |
362 <p> |
339 Private slot to handle the utPrepared signal. |
363 Private slot to handle the utPrepared signal. |
340 </p><p> |
364 </p><p> |
341 If the unittest suite was loaded successfully, we ask the |
365 If the unittest suite was loaded successfully, we ask the |
342 client to run the test suite. |
366 client to run the test suite. |
343 </p><dl> |
367 </p><dl> |
|
368 <dt><i>testCases</i> (str)</dt> |
|
369 <dd> |
|
370 list of detected test cases |
|
371 </dd><dt><i>exc_type</i> (str)</dt> |
|
372 <dd> |
|
373 exception type occured during discovery |
|
374 </dd><dt><i>exc_value</i> (str)</dt> |
|
375 <dd> |
|
376 value of exception occured during discovery |
|
377 </dd> |
|
378 </dl><a NAME="UnittestDialog.__UTPrepared" ID="UnittestDialog.__UTPrepared"></a> |
|
379 <h4>UnittestDialog.__UTPrepared</h4> |
|
380 <b>__UTPrepared</b>(<i>nrTests, exc_type, exc_value</i>) |
|
381 <p> |
|
382 Private slot to handle the utPrepared signal. |
|
383 </p><p> |
|
384 If the unittest suite was loaded successfully, we ask the |
|
385 client to run the test suite. |
|
386 </p><dl> |
344 <dt><i>nrTests</i></dt> |
387 <dt><i>nrTests</i></dt> |
345 <dd> |
388 <dd> |
346 number of tests contained in the test suite (integer) |
389 number of tests contained in the test suite (integer) |
347 </dd><dt><i>exc_type</i></dt> |
390 </dd><dt><i>exc_type</i></dt> |
348 <dd> |
391 <dd> |
349 type of exception occured during preparation (string) |
392 type of exception occured during preparation (string) |
350 </dd><dt><i>exc_value</i></dt> |
393 </dd><dt><i>exc_value</i></dt> |
351 <dd> |
394 <dd> |
352 value of exception occured during preparation (string) |
395 value of exception occured during preparation (string) |
|
396 </dd> |
|
397 </dl><a NAME="UnittestDialog.__assembleTestCasesList" ID="UnittestDialog.__assembleTestCasesList"></a> |
|
398 <h4>UnittestDialog.__assembleTestCasesList</h4> |
|
399 <b>__assembleTestCasesList</b>(<i>suite</i>) |
|
400 <p> |
|
401 Private method to assemble a list of test cases included in a test |
|
402 suite. |
|
403 </p><dl> |
|
404 <dt><i>suite</i> (unittest.TestSuite)</dt> |
|
405 <dd> |
|
406 test suite to be inspected |
|
407 </dd> |
|
408 </dl><dl> |
|
409 <dt>Returns:</dt> |
|
410 <dd> |
|
411 list of tuples containing the test case ID and short |
|
412 description |
|
413 </dd> |
|
414 </dl><dl> |
|
415 <dt>Return Type:</dt> |
|
416 <dd> |
|
417 list of tuples of (str, str) |
|
418 </dd> |
|
419 </dl><a NAME="UnittestDialog.__discover" ID="UnittestDialog.__discover"></a> |
|
420 <h4>UnittestDialog.__discover</h4> |
|
421 <b>__discover</b>(<i></i>) |
|
422 <p> |
|
423 Private slot to discover unit test but don't run them. |
|
424 </p><a NAME="UnittestDialog.__findDiscoveryItem" ID="UnittestDialog.__findDiscoveryItem"></a> |
|
425 <h4>UnittestDialog.__findDiscoveryItem</h4> |
|
426 <b>__findDiscoveryItem</b>(<i>modulePath</i>) |
|
427 <p> |
|
428 Private method to find an item given the module path. |
|
429 </p><dl> |
|
430 <dt><i>modulePath</i> (str)</dt> |
|
431 <dd> |
|
432 path of the module in dotted notation |
|
433 </dd> |
|
434 </dl><dl> |
|
435 <dt>Returns:</dt> |
|
436 <dd> |
|
437 reference to the item or None |
|
438 </dd> |
|
439 </dl><dl> |
|
440 <dt>Return Type:</dt> |
|
441 <dd> |
|
442 QTreeWidgetItem or None |
353 </dd> |
443 </dd> |
354 </dl><a NAME="UnittestDialog.__openEditor" ID="UnittestDialog.__openEditor"></a> |
444 </dl><a NAME="UnittestDialog.__openEditor" ID="UnittestDialog.__openEditor"></a> |
355 <h4>UnittestDialog.__openEditor</h4> |
445 <h4>UnittestDialog.__openEditor</h4> |
356 <b>__openEditor</b>(<i>filename, linenumber</i>) |
446 <b>__openEditor</b>(<i>filename, linenumber</i>) |
357 <p> |
447 <p> |
365 path of the file to be opened |
455 path of the file to be opened |
366 </dd><dt><i>linenumber</i> (int)</dt> |
456 </dd><dt><i>linenumber</i> (int)</dt> |
367 <dd> |
457 <dd> |
368 line number to place the cursor at |
458 line number to place the cursor at |
369 </dd> |
459 </dd> |
|
460 </dl><a NAME="UnittestDialog.__populateDiscoveryResults" ID="UnittestDialog.__populateDiscoveryResults"></a> |
|
461 <h4>UnittestDialog.__populateDiscoveryResults</h4> |
|
462 <b>__populateDiscoveryResults</b>(<i>tests</i>) |
|
463 <p> |
|
464 Private method to populate the test discovery results list. |
|
465 </p><dl> |
|
466 <dt><i>tests</i> (list of tuples of (str, str))</dt> |
|
467 <dd> |
|
468 list of tuples containing the discovery results |
|
469 </dd> |
|
470 </dl><a NAME="UnittestDialog.__populateVenvComboBox" ID="UnittestDialog.__populateVenvComboBox"></a> |
|
471 <h4>UnittestDialog.__populateVenvComboBox</h4> |
|
472 <b>__populateVenvComboBox</b>(<i></i>) |
|
473 <p> |
|
474 Private method to (re-)populate the virtual environments selector. |
|
475 </p><a NAME="UnittestDialog.__selectedTestCases" ID="UnittestDialog.__selectedTestCases"></a> |
|
476 <h4>UnittestDialog.__selectedTestCases</h4> |
|
477 <b>__selectedTestCases</b>(<i>parent=None</i>) |
|
478 <p> |
|
479 Private method to assemble the list of selected test cases and suites. |
|
480 </p><dl> |
|
481 <dt><i>parent</i> (QTreeWidgetItem)</dt> |
|
482 <dd> |
|
483 reference to the parent item |
|
484 </dd> |
|
485 </dl><dl> |
|
486 <dt>Returns:</dt> |
|
487 <dd> |
|
488 list of selected test cases |
|
489 </dd> |
|
490 </dl><dl> |
|
491 <dt>Return Type:</dt> |
|
492 <dd> |
|
493 list of str |
|
494 </dd> |
370 </dl><a NAME="UnittestDialog.__setProgressColor" ID="UnittestDialog.__setProgressColor"></a> |
495 </dl><a NAME="UnittestDialog.__setProgressColor" ID="UnittestDialog.__setProgressColor"></a> |
371 <h4>UnittestDialog.__setProgressColor</h4> |
496 <h4>UnittestDialog.__setProgressColor</h4> |
372 <b>__setProgressColor</b>(<i>color</i>) |
497 <b>__setProgressColor</b>(<i>color</i>) |
373 <p> |
498 <p> |
374 Private methode to set the color of the progress color label. |
499 Private methode to set the color of the progress color label. |
390 </p><a NAME="UnittestDialog.__showSource" ID="UnittestDialog.__showSource"></a> |
515 </p><a NAME="UnittestDialog.__showSource" ID="UnittestDialog.__showSource"></a> |
391 <h4>UnittestDialog.__showSource</h4> |
516 <h4>UnittestDialog.__showSource</h4> |
392 <b>__showSource</b>(<i></i>) |
517 <b>__showSource</b>(<i></i>) |
393 <p> |
518 <p> |
394 Private slot to show the source of a traceback in an eric6 editor. |
519 Private slot to show the source of a traceback in an eric6 editor. |
|
520 </p><a NAME="UnittestDialog.__stopTests" ID="UnittestDialog.__stopTests"></a> |
|
521 <h4>UnittestDialog.__stopTests</h4> |
|
522 <b>__stopTests</b>(<i></i>) |
|
523 <p> |
|
524 Private slot to stop the test. |
395 </p><a NAME="UnittestDialog.closeEvent" ID="UnittestDialog.closeEvent"></a> |
525 </p><a NAME="UnittestDialog.closeEvent" ID="UnittestDialog.closeEvent"></a> |
396 <h4>UnittestDialog.closeEvent</h4> |
526 <h4>UnittestDialog.closeEvent</h4> |
397 <b>closeEvent</b>(<i>event</i>) |
527 <b>closeEvent</b>(<i>event</i>) |
398 <p> |
528 <p> |
399 Protected method to handle the close event. |
529 Protected method to handle the close event. |
410 </p><dl> |
540 </p><dl> |
411 <dt>Returns:</dt> |
541 <dt>Returns:</dt> |
412 <dd> |
542 <dd> |
413 flag indicating the presence of failed tests (boolean) |
543 flag indicating the presence of failed tests (boolean) |
414 </dd> |
544 </dd> |
|
545 </dl><a NAME="UnittestDialog.insertDiscovery" ID="UnittestDialog.insertDiscovery"></a> |
|
546 <h4>UnittestDialog.insertDiscovery</h4> |
|
547 <b>insertDiscovery</b>(<i>start</i>) |
|
548 <p> |
|
549 Public slot to insert the discovery start directory into the |
|
550 discoveryPicker object. |
|
551 </p><dl> |
|
552 <dt><i>start</i> (str)</dt> |
|
553 <dd> |
|
554 start directory name to be inserted |
|
555 </dd> |
415 </dl><a NAME="UnittestDialog.insertProg" ID="UnittestDialog.insertProg"></a> |
556 </dl><a NAME="UnittestDialog.insertProg" ID="UnittestDialog.insertProg"></a> |
416 <h4>UnittestDialog.insertProg</h4> |
557 <h4>UnittestDialog.insertProg</h4> |
417 <b>insertProg</b>(<i>prog</i>) |
558 <b>insertProg</b>(<i>prog</i>) |
418 <p> |
559 <p> |
419 Public slot to insert the filename prog into the testsuitePicker |
560 Public slot to insert the filename prog into the testsuitePicker |
450 Private slot called by a button of the button box clicked. |
591 Private slot called by a button of the button box clicked. |
451 </p><dl> |
592 </p><dl> |
452 <dt><i>button</i></dt> |
593 <dt><i>button</i></dt> |
453 <dd> |
594 <dd> |
454 button that was clicked (QAbstractButton) |
595 button that was clicked (QAbstractButton) |
|
596 </dd> |
|
597 </dl><a NAME="UnittestDialog.on_discoverCheckBox_toggled" ID="UnittestDialog.on_discoverCheckBox_toggled"></a> |
|
598 <h4>UnittestDialog.on_discoverCheckBox_toggled</h4> |
|
599 <b>on_discoverCheckBox_toggled</b>(<i>checked</i>) |
|
600 <p> |
|
601 Private slot handling state changes of the 'discover' checkbox. |
|
602 </p><dl> |
|
603 <dt><i>checked</i> (bool)</dt> |
|
604 <dd> |
|
605 state of the checkbox |
455 </dd> |
606 </dd> |
456 </dl><a NAME="UnittestDialog.on_errorsListWidget_currentTextChanged" ID="UnittestDialog.on_errorsListWidget_currentTextChanged"></a> |
607 </dl><a NAME="UnittestDialog.on_errorsListWidget_currentTextChanged" ID="UnittestDialog.on_errorsListWidget_currentTextChanged"></a> |
457 <h4>UnittestDialog.on_errorsListWidget_currentTextChanged</h4> |
608 <h4>UnittestDialog.on_errorsListWidget_currentTextChanged</h4> |
458 <b>on_errorsListWidget_currentTextChanged</b>(<i>text</i>) |
609 <b>on_errorsListWidget_currentTextChanged</b>(<i>text</i>) |
459 <p> |
610 <p> |
476 </p><dl> |
627 </p><dl> |
477 <dt><i>lbitem</i></dt> |
628 <dt><i>lbitem</i></dt> |
478 <dd> |
629 <dd> |
479 the listbox item that was double clicked |
630 the listbox item that was double clicked |
480 </dd> |
631 </dd> |
481 </dl><a NAME="UnittestDialog.on_startButton_clicked" ID="UnittestDialog.on_startButton_clicked"></a> |
632 </dl><a NAME="UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog" ID="UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog"></a> |
482 <h4>UnittestDialog.on_startButton_clicked</h4> |
|
483 <b>on_startButton_clicked</b>(<i>failedOnly=False</i>) |
|
484 <p> |
|
485 Private slot to start the test. |
|
486 </p><dl> |
|
487 <dt><i>failedOnly=</i></dt> |
|
488 <dd> |
|
489 flag indicating to run only failed tests (boolean) |
|
490 </dd> |
|
491 </dl><a NAME="UnittestDialog.on_stopButton_clicked" ID="UnittestDialog.on_stopButton_clicked"></a> |
|
492 <h4>UnittestDialog.on_stopButton_clicked</h4> |
|
493 <b>on_stopButton_clicked</b>(<i></i>) |
|
494 <p> |
|
495 Private slot to stop the test. |
|
496 </p><a NAME="UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog" ID="UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog"></a> |
|
497 <h4>UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog</h4> |
633 <h4>UnittestDialog.on_testsuitePicker_aboutToShowPathPickerDialog</h4> |
498 <b>on_testsuitePicker_aboutToShowPathPickerDialog</b>(<i></i>) |
634 <b>on_testsuitePicker_aboutToShowPathPickerDialog</b>(<i></i>) |
499 <p> |
635 <p> |
500 Private slot called before the test suite selection dialog is shown. |
636 Private slot called before the test suite selection dialog is shown. |
501 </p><a NAME="UnittestDialog.on_testsuitePicker_editTextChanged" ID="UnittestDialog.on_testsuitePicker_editTextChanged"></a> |
637 </p><a NAME="UnittestDialog.on_testsuitePicker_editTextChanged" ID="UnittestDialog.on_testsuitePicker_editTextChanged"></a> |
502 <h4>UnittestDialog.on_testsuitePicker_editTextChanged</h4> |
638 <h4>UnittestDialog.on_testsuitePicker_editTextChanged</h4> |
503 <b>on_testsuitePicker_editTextChanged</b>(<i>txt</i>) |
639 <b>on_testsuitePicker_editTextChanged</b>(<i>path</i>) |
504 <p> |
640 <p> |
505 Private slot to handle changes of the test file name. |
641 Private slot handling changes of the test suite path. |
506 </p><dl> |
642 </p><dl> |
507 <dt><i>txt</i></dt> |
643 <dt><i>path</i> (str)</dt> |
508 <dd> |
644 <dd> |
509 name of the test file (string) |
645 path of the test suite file |
510 </dd> |
646 </dd> |
511 </dl><a NAME="UnittestDialog.on_testsuitePicker_pathSelected" ID="UnittestDialog.on_testsuitePicker_pathSelected"></a> |
647 </dl><a NAME="UnittestDialog.on_testsuitePicker_pathSelected" ID="UnittestDialog.on_testsuitePicker_pathSelected"></a> |
512 <h4>UnittestDialog.on_testsuitePicker_pathSelected</h4> |
648 <h4>UnittestDialog.on_testsuitePicker_pathSelected</h4> |
513 <b>on_testsuitePicker_pathSelected</b>(<i>suite</i>) |
649 <b>on_testsuitePicker_pathSelected</b>(<i>suite</i>) |
514 <p> |
650 <p> |
516 </p><dl> |
652 </p><dl> |
517 <dt><i>suite</i> (str)</dt> |
653 <dt><i>suite</i> (str)</dt> |
518 <dd> |
654 <dd> |
519 file name of the test suite |
655 file name of the test suite |
520 </dd> |
656 </dd> |
521 </dl><a NAME="UnittestDialog.on_venvComboBox_currentTextChanged" ID="UnittestDialog.on_venvComboBox_currentTextChanged"></a> |
|
522 <h4>UnittestDialog.on_venvComboBox_currentTextChanged</h4> |
|
523 <b>on_venvComboBox_currentTextChanged</b>(<i>venvName</i>) |
|
524 <p> |
|
525 Private slot to handle the selection of a virtual environment. |
|
526 </p><dl> |
|
527 <dt><i>venvName</i> (str)</dt> |
|
528 <dd> |
|
529 name of the selected virtual environment |
|
530 </dd> |
|
531 </dl><a NAME="UnittestDialog.setProjectMode" ID="UnittestDialog.setProjectMode"></a> |
657 </dl><a NAME="UnittestDialog.setProjectMode" ID="UnittestDialog.setProjectMode"></a> |
532 <h4>UnittestDialog.setProjectMode</h4> |
658 <h4>UnittestDialog.setProjectMode</h4> |
533 <b>setProjectMode</b>(<i>forProject</i>) |
659 <b>setProjectMode</b>(<i>forProject</i>) |
534 <p> |
660 <p> |
535 Public method to set the project mode of the dialog. |
661 Public method to set the project mode of the dialog. |
536 </p><dl> |
662 </p><dl> |
537 <dt><i>forProject</i> (bool)</dt> |
663 <dt><i>forProject</i> (bool)</dt> |
538 <dd> |
664 <dd> |
539 flag indicating to run for the open project |
665 flag indicating to run for the open project |
|
666 </dd> |
|
667 </dl><a NAME="UnittestDialog.startTests" ID="UnittestDialog.startTests"></a> |
|
668 <h4>UnittestDialog.startTests</h4> |
|
669 <b>startTests</b>(<i>failedOnly=False</i>) |
|
670 <p> |
|
671 Public slot to start the test. |
|
672 </p><dl> |
|
673 <dt><i>failedOnly=</i></dt> |
|
674 <dd> |
|
675 flag indicating to run only failed tests (boolean) |
540 </dd> |
676 </dd> |
541 </dl><a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a> |
677 </dl><a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a> |
542 <h4>UnittestDialog.testErrored</h4> |
678 <h4>UnittestDialog.testErrored</h4> |
543 <b>testErrored</b>(<i>test, exc, testId</i>) |
679 <b>testErrored</b>(<i>test, exc, testId</i>) |
544 <p> |
680 <p> |