src/eric7/Documentation/Source/eric7.Testing.TestingWidget.html

branch
eric7
changeset 10479
856476537696
parent 10442
bf4a24c55c57
child 10684
58c7f23ae1cb
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Testing.TestingWidget</h1> 9 <h1>eric7.Testing.TestingWidget</h1>
10
11 <p> 10 <p>
12 Module implementing a widget to orchestrate unit test execution. 11 Module implementing a widget to orchestrate unit test execution.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20 20 <table>
21 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#TestingWidget">TestingWidget</a></td> 22 <td><a href="#TestingWidget">TestingWidget</a></td>
25 <td>Class implementing a widget to orchestrate unit test execution.</td> 23 <td>Class implementing a widget to orchestrate unit test execution.</td>
26 </tr> 24 </tr>
27 <tr> 25 <tr>
31 <tr> 29 <tr>
32 <td><a href="#TestingWindow">TestingWindow</a></td> 30 <td><a href="#TestingWindow">TestingWindow</a></td>
33 <td>Main window class for the standalone dialog.</td> 31 <td>Main window class for the standalone dialog.</td>
34 </tr> 32 </tr>
35 </table> 33 </table>
34
36 <h3>Functions</h3> 35 <h3>Functions</h3>
37 36 <table>
38 <table>
39
40 <tr> 37 <tr>
41 <td><a href="#clearSavedHistories">clearSavedHistories</a></td> 38 <td><a href="#clearSavedHistories">clearSavedHistories</a></td>
42 <td>Function to clear the saved history lists.</td> 39 <td>Function to clear the saved history lists.</td>
43 </tr> 40 </tr>
44 </table> 41 </table>
42
45 <hr /> 43 <hr />
46 <hr /> 44 <hr />
47 <a NAME="TestingWidget" ID="TestingWidget"></a> 45 <a NAME="TestingWidget" ID="TestingWidget"></a>
48 <h2>TestingWidget</h2> 46 <h2>TestingWidget</h2>
49
50 <p> 47 <p>
51 Class implementing a widget to orchestrate unit test execution. 48 Class implementing a widget to orchestrate unit test execution.
52 </p> 49 </p>
50
53 <h3>Signals</h3> 51 <h3>Signals</h3>
54 <dl> 52 <dl>
55 53
56 <dt>testFile(str, int, bool)</dt> 54 <dt>testFile(str, int, bool)</dt>
57 <dd> 55 <dd>
64 </dd> 62 </dd>
65 </dl> 63 </dl>
66 <h3>Derived from</h3> 64 <h3>Derived from</h3>
67 QWidget, Ui_TestingWidget 65 QWidget, Ui_TestingWidget
68 <h3>Class Attributes</h3> 66 <h3>Class Attributes</h3>
69 67 <table>
70 <table> 68 <tr><td>TestCaseFileRole</td></tr>
71 <tr><td>TestCaseFileRole</td></tr><tr><td>TestCaseIdRole</td></tr><tr><td>TestCaseLinenoRole</td></tr><tr><td>TestCaseNameRole</td></tr> 69 <tr><td>TestCaseIdRole</td></tr>
72 </table> 70 <tr><td>TestCaseLinenoRole</td></tr>
71 <tr><td>TestCaseNameRole</td></tr>
72 </table>
73
73 <h3>Class Methods</h3> 74 <h3>Class Methods</h3>
74
75 <table> 75 <table>
76 <tr><td>None</td></tr> 76 <tr><td>None</td></tr>
77 </table> 77 </table>
78
78 <h3>Methods</h3> 79 <h3>Methods</h3>
79 80 <table>
80 <table>
81
82 <tr> 81 <tr>
83 <td><a href="#TestingWidget.__init__">TestingWidget</a></td> 82 <td><a href="#TestingWidget.__init__">TestingWidget</a></td>
84 <td>Constructor</td> 83 <td>Constructor</td>
85 </tr> 84 </tr>
86 <tr> 85 <tr>
338 <tr> 337 <tr>
339 <td><a href="#TestingWidget.startTests">startTests</a></td> 338 <td><a href="#TestingWidget.startTests">startTests</a></td>
340 <td>Public slot to start the test run.</td> 339 <td>Public slot to start the test run.</td>
341 </tr> 340 </tr>
342 </table> 341 </table>
342
343 <h3>Static Methods</h3> 343 <h3>Static Methods</h3>
344
345 <table> 344 <table>
346 <tr><td>None</td></tr> 345 <tr><td>None</td></tr>
347 </table> 346 </table>
347
348 348
349 <a NAME="TestingWidget.__init__" ID="TestingWidget.__init__"></a> 349 <a NAME="TestingWidget.__init__" ID="TestingWidget.__init__"></a>
350 <h4>TestingWidget (Constructor)</h4> 350 <h4>TestingWidget (Constructor)</h4>
351 <b>TestingWidget</b>(<i>testfile=None, parent=None</i>) 351 <b>TestingWidget</b>(<i>testfile=None, parent=None</i>)
352
353 <p> 352 <p>
354 Constructor 353 Constructor
355 </p> 354 </p>
355
356 <dl> 356 <dl>
357 357
358 <dt><i>testfile</i> (str)</dt> 358 <dt><i>testfile</i> (str)</dt>
359 <dd> 359 <dd>
360 file name of the test to load 360 file name of the test to load
365 </dd> 365 </dd>
366 </dl> 366 </dl>
367 <a NAME="TestingWidget.__adjustPendingState" ID="TestingWidget.__adjustPendingState"></a> 367 <a NAME="TestingWidget.__adjustPendingState" ID="TestingWidget.__adjustPendingState"></a>
368 <h4>TestingWidget.__adjustPendingState</h4> 368 <h4>TestingWidget.__adjustPendingState</h4>
369 <b>__adjustPendingState</b>(<i></i>) 369 <b>__adjustPendingState</b>(<i></i>)
370
371 <p> 370 <p>
372 Private method to change the status indicator of all still pending 371 Private method to change the status indicator of all still pending
373 tests to "not run". 372 tests to "not run".
374 </p> 373 </p>
374
375 <a NAME="TestingWidget.__coverageData" ID="TestingWidget.__coverageData"></a> 375 <a NAME="TestingWidget.__coverageData" ID="TestingWidget.__coverageData"></a>
376 <h4>TestingWidget.__coverageData</h4> 376 <h4>TestingWidget.__coverageData</h4>
377 <b>__coverageData</b>(<i>coverageFile</i>) 377 <b>__coverageData</b>(<i>coverageFile</i>)
378
379 <p> 378 <p>
380 Private slot to handle the 'coverageData' signal of the executor. 379 Private slot to handle the 'coverageData' signal of the executor.
381 </p> 380 </p>
381
382 <dl> 382 <dl>
383 383
384 <dt><i>coverageFile</i> (str)</dt> 384 <dt><i>coverageFile</i> (str)</dt>
385 <dd> 385 <dd>
386 file containing the coverage data 386 file containing the coverage data
387 </dd> 387 </dd>
388 </dl> 388 </dl>
389 <a NAME="TestingWidget.__determineInterpreter" ID="TestingWidget.__determineInterpreter"></a> 389 <a NAME="TestingWidget.__determineInterpreter" ID="TestingWidget.__determineInterpreter"></a>
390 <h4>TestingWidget.__determineInterpreter</h4> 390 <h4>TestingWidget.__determineInterpreter</h4>
391 <b>__determineInterpreter</b>(<i>venvName</i>) 391 <b>__determineInterpreter</b>(<i>venvName</i>)
392
393 <p> 392 <p>
394 Private method to determine the interpreter to be used. 393 Private method to determine the interpreter to be used.
395 </p> 394 </p>
395
396 <dl> 396 <dl>
397 397
398 <dt><i>venvName</i> (str)</dt> 398 <dt><i>venvName</i> (str)</dt>
399 <dd> 399 <dd>
400 name of the virtual environment 400 name of the virtual environment
413 </dd> 413 </dd>
414 </dl> 414 </dl>
415 <a NAME="TestingWidget.__discoverTests" ID="TestingWidget.__discoverTests"></a> 415 <a NAME="TestingWidget.__discoverTests" ID="TestingWidget.__discoverTests"></a>
416 <h4>TestingWidget.__discoverTests</h4> 416 <h4>TestingWidget.__discoverTests</h4>
417 <b>__discoverTests</b>(<i></i>) 417 <b>__discoverTests</b>(<i></i>)
418
419 <p> 418 <p>
420 Private slot to discover tests but don't execute them. 419 Private slot to discover tests but don't execute them.
421 </p> 420 </p>
421
422 <a NAME="TestingWidget.__findDiscoveryItem" ID="TestingWidget.__findDiscoveryItem"></a> 422 <a NAME="TestingWidget.__findDiscoveryItem" ID="TestingWidget.__findDiscoveryItem"></a>
423 <h4>TestingWidget.__findDiscoveryItem</h4> 423 <h4>TestingWidget.__findDiscoveryItem</h4>
424 <b>__findDiscoveryItem</b>(<i>modulePath</i>) 424 <b>__findDiscoveryItem</b>(<i>modulePath</i>)
425
426 <p> 425 <p>
427 Private method to find an item given the module path. 426 Private method to find an item given the module path.
428 </p> 427 </p>
428
429 <dl> 429 <dl>
430 430
431 <dt><i>modulePath</i> (str)</dt> 431 <dt><i>modulePath</i> (str)</dt>
432 <dd> 432 <dd>
433 path of the module in dotted notation 433 path of the module in dotted notation
446 </dd> 446 </dd>
447 </dl> 447 </dl>
448 <a NAME="TestingWidget.__insertDiscovery" ID="TestingWidget.__insertDiscovery"></a> 448 <a NAME="TestingWidget.__insertDiscovery" ID="TestingWidget.__insertDiscovery"></a>
449 <h4>TestingWidget.__insertDiscovery</h4> 449 <h4>TestingWidget.__insertDiscovery</h4>
450 <b>__insertDiscovery</b>(<i>start</i>) 450 <b>__insertDiscovery</b>(<i>start</i>)
451
452 <p> 451 <p>
453 Private slot to insert the discovery start directory into the 452 Private slot to insert the discovery start directory into the
454 discoveryPicker object. 453 discoveryPicker object.
455 </p> 454 </p>
455
456 <dl> 456 <dl>
457 457
458 <dt><i>start</i> (str)</dt> 458 <dt><i>start</i> (str)</dt>
459 <dd> 459 <dd>
460 start directory name to be inserted 460 start directory name to be inserted
461 </dd> 461 </dd>
462 </dl> 462 </dl>
463 <a NAME="TestingWidget.__insertHistory" ID="TestingWidget.__insertHistory"></a> 463 <a NAME="TestingWidget.__insertHistory" ID="TestingWidget.__insertHistory"></a>
464 <h4>TestingWidget.__insertHistory</h4> 464 <h4>TestingWidget.__insertHistory</h4>
465 <b>__insertHistory</b>(<i>widget, history, item</i>) 465 <b>__insertHistory</b>(<i>widget, history, item</i>)
466
467 <p> 466 <p>
468 Private slot to insert an item into a history object. 467 Private slot to insert an item into a history object.
469 </p> 468 </p>
469
470 <dl> 470 <dl>
471 471
472 <dt><i>widget</i> (QComboBox or EricComboPathPicker)</dt> 472 <dt><i>widget</i> (QComboBox or EricComboPathPicker)</dt>
473 <dd> 473 <dd>
474 reference to the widget 474 reference to the widget
483 </dd> 483 </dd>
484 </dl> 484 </dl>
485 <a NAME="TestingWidget.__insertTestFile" ID="TestingWidget.__insertTestFile"></a> 485 <a NAME="TestingWidget.__insertTestFile" ID="TestingWidget.__insertTestFile"></a>
486 <h4>TestingWidget.__insertTestFile</h4> 486 <h4>TestingWidget.__insertTestFile</h4>
487 <b>__insertTestFile</b>(<i>prog</i>) 487 <b>__insertTestFile</b>(<i>prog</i>)
488
489 <p> 488 <p>
490 Private slot to insert a test file name into the testsuitePicker 489 Private slot to insert a test file name into the testsuitePicker
491 object. 490 object.
492 </p> 491 </p>
492
493 <dl> 493 <dl>
494 494
495 <dt><i>prog</i> (str)</dt> 495 <dt><i>prog</i> (str)</dt>
496 <dd> 496 <dd>
497 test file name to be inserted 497 test file name to be inserted
498 </dd> 498 </dd>
499 </dl> 499 </dl>
500 <a NAME="TestingWidget.__insertTestName" ID="TestingWidget.__insertTestName"></a> 500 <a NAME="TestingWidget.__insertTestName" ID="TestingWidget.__insertTestName"></a>
501 <h4>TestingWidget.__insertTestName</h4> 501 <h4>TestingWidget.__insertTestName</h4>
502 <b>__insertTestName</b>(<i>testName</i>) 502 <b>__insertTestName</b>(<i>testName</i>)
503
504 <p> 503 <p>
505 Private slot to insert a test name into the testComboBox object. 504 Private slot to insert a test name into the testComboBox object.
506 </p> 505 </p>
506
507 <dl> 507 <dl>
508 508
509 <dt><i>testName</i> (str)</dt> 509 <dt><i>testName</i> (str)</dt>
510 <dd> 510 <dd>
511 name of the test to be inserted 511 name of the test to be inserted
512 </dd> 512 </dd>
513 </dl> 513 </dl>
514 <a NAME="TestingWidget.__loadRecent" ID="TestingWidget.__loadRecent"></a> 514 <a NAME="TestingWidget.__loadRecent" ID="TestingWidget.__loadRecent"></a>
515 <h4>TestingWidget.__loadRecent</h4> 515 <h4>TestingWidget.__loadRecent</h4>
516 <b>__loadRecent</b>(<i></i>) 516 <b>__loadRecent</b>(<i></i>)
517
518 <p> 517 <p>
519 Private method to load the most recently used lists. 518 Private method to load the most recently used lists.
520 </p> 519 </p>
520
521 <a NAME="TestingWidget.__openEditor" ID="TestingWidget.__openEditor"></a> 521 <a NAME="TestingWidget.__openEditor" ID="TestingWidget.__openEditor"></a>
522 <h4>TestingWidget.__openEditor</h4> 522 <h4>TestingWidget.__openEditor</h4>
523 <b>__openEditor</b>(<i>filename, linenumber=1</i>) 523 <b>__openEditor</b>(<i>filename, linenumber=1</i>)
524
525 <p> 524 <p>
526 Private method to open an editor window for the given file. 525 Private method to open an editor window for the given file.
527 </p> 526 </p>
528 <p> 527 <p>
529 Note: This method opens an editor window when the testing dialog 528 Note: This method opens an editor window when the testing dialog
530 is called as a standalone application. 529 is called as a standalone application.
531 </p> 530 </p>
531
532 <dl> 532 <dl>
533 533
534 <dt><i>filename</i> (str)</dt> 534 <dt><i>filename</i> (str)</dt>
535 <dd> 535 <dd>
536 path of the file to be opened 536 path of the file to be opened
541 </dd> 541 </dd>
542 </dl> 542 </dl>
543 <a NAME="TestingWidget.__populateTestFrameworkComboBox" ID="TestingWidget.__populateTestFrameworkComboBox"></a> 543 <a NAME="TestingWidget.__populateTestFrameworkComboBox" ID="TestingWidget.__populateTestFrameworkComboBox"></a>
544 <h4>TestingWidget.__populateTestFrameworkComboBox</h4> 544 <h4>TestingWidget.__populateTestFrameworkComboBox</h4>
545 <b>__populateTestFrameworkComboBox</b>(<i></i>) 545 <b>__populateTestFrameworkComboBox</b>(<i></i>)
546
547 <p> 546 <p>
548 Private method to (re-)populate the test framework selector. 547 Private method to (re-)populate the test framework selector.
549 </p> 548 </p>
549
550 <a NAME="TestingWidget.__populateVenvComboBox" ID="TestingWidget.__populateVenvComboBox"></a> 550 <a NAME="TestingWidget.__populateVenvComboBox" ID="TestingWidget.__populateVenvComboBox"></a>
551 <h4>TestingWidget.__populateVenvComboBox</h4> 551 <h4>TestingWidget.__populateVenvComboBox</h4>
552 <b>__populateVenvComboBox</b>(<i></i>) 552 <b>__populateVenvComboBox</b>(<i></i>)
553
554 <p> 553 <p>
555 Private method to (re-)populate the virtual environments selector. 554 Private method to (re-)populate the virtual environments selector.
556 </p> 555 </p>
556
557 <a NAME="TestingWidget.__processTestResult" ID="TestingWidget.__processTestResult"></a> 557 <a NAME="TestingWidget.__processTestResult" ID="TestingWidget.__processTestResult"></a>
558 <h4>TestingWidget.__processTestResult</h4> 558 <h4>TestingWidget.__processTestResult</h4>
559 <b>__processTestResult</b>(<i>result</i>) 559 <b>__processTestResult</b>(<i>result</i>)
560
561 <p> 560 <p>
562 Private slot to handle the receipt of a test result object. 561 Private slot to handle the receipt of a test result object.
563 </p> 562 </p>
563
564 <dl> 564 <dl>
565 565
566 <dt><i>result</i> (TestResult)</dt> 566 <dt><i>result</i> (TestResult)</dt>
567 <dd> 567 <dd>
568 test result object 568 test result object
569 </dd> 569 </dd>
570 </dl> 570 </dl>
571 <a NAME="TestingWidget.__projectClosed" ID="TestingWidget.__projectClosed"></a> 571 <a NAME="TestingWidget.__projectClosed" ID="TestingWidget.__projectClosed"></a>
572 <h4>TestingWidget.__projectClosed</h4> 572 <h4>TestingWidget.__projectClosed</h4>
573 <b>__projectClosed</b>(<i></i>) 573 <b>__projectClosed</b>(<i></i>)
574
575 <p> 574 <p>
576 Private slot to handle a project being closed. 575 Private slot to handle a project being closed.
577 </p> 576 </p>
577
578 <a NAME="TestingWidget.__projectOpened" ID="TestingWidget.__projectOpened"></a> 578 <a NAME="TestingWidget.__projectOpened" ID="TestingWidget.__projectOpened"></a>
579 <h4>TestingWidget.__projectOpened</h4> 579 <h4>TestingWidget.__projectOpened</h4>
580 <b>__projectOpened</b>(<i></i>) 580 <b>__projectOpened</b>(<i></i>)
581
582 <p> 581 <p>
583 Private slot to handle a project being opened. 582 Private slot to handle a project being opened.
584 </p> 583 </p>
584
585 <a NAME="TestingWidget.__resetResults" ID="TestingWidget.__resetResults"></a> 585 <a NAME="TestingWidget.__resetResults" ID="TestingWidget.__resetResults"></a>
586 <h4>TestingWidget.__resetResults</h4> 586 <h4>TestingWidget.__resetResults</h4>
587 <b>__resetResults</b>(<i></i>) 587 <b>__resetResults</b>(<i></i>)
588
589 <p> 588 <p>
590 Private slot to reset the test results tab and data. 589 Private slot to reset the test results tab and data.
591 </p> 590 </p>
591
592 <a NAME="TestingWidget.__saveRecent" ID="TestingWidget.__saveRecent"></a> 592 <a NAME="TestingWidget.__saveRecent" ID="TestingWidget.__saveRecent"></a>
593 <h4>TestingWidget.__saveRecent</h4> 593 <h4>TestingWidget.__saveRecent</h4>
594 <b>__saveRecent</b>(<i></i>) 594 <b>__saveRecent</b>(<i></i>)
595
596 <p> 595 <p>
597 Private method to save the most recently used lists. 596 Private method to save the most recently used lists.
598 </p> 597 </p>
598
599 <a NAME="TestingWidget.__selectedTestCases" ID="TestingWidget.__selectedTestCases"></a> 599 <a NAME="TestingWidget.__selectedTestCases" ID="TestingWidget.__selectedTestCases"></a>
600 <h4>TestingWidget.__selectedTestCases</h4> 600 <h4>TestingWidget.__selectedTestCases</h4>
601 <b>__selectedTestCases</b>(<i>parent=None</i>) 601 <b>__selectedTestCases</b>(<i>parent=None</i>)
602
603 <p> 602 <p>
604 Private method to assemble the list of selected test cases and suites. 603 Private method to assemble the list of selected test cases and suites.
605 </p> 604 </p>
605
606 <dl> 606 <dl>
607 607
608 <dt><i>parent</i> (QTreeWidgetItem)</dt> 608 <dt><i>parent</i> (QTreeWidgetItem)</dt>
609 <dd> 609 <dd>
610 reference to the parent item 610 reference to the parent item
623 </dd> 623 </dd>
624 </dl> 624 </dl>
625 <a NAME="TestingWidget.__setDiscoverMode" ID="TestingWidget.__setDiscoverMode"></a> 625 <a NAME="TestingWidget.__setDiscoverMode" ID="TestingWidget.__setDiscoverMode"></a>
626 <h4>TestingWidget.__setDiscoverMode</h4> 626 <h4>TestingWidget.__setDiscoverMode</h4>
627 <b>__setDiscoverMode</b>(<i></i>) 627 <b>__setDiscoverMode</b>(<i></i>)
628
629 <p> 628 <p>
630 Private slot to switch the widget to test discovery mode. 629 Private slot to switch the widget to test discovery mode.
631 </p> 630 </p>
631
632 <a NAME="TestingWidget.__setIdleMode" ID="TestingWidget.__setIdleMode"></a> 632 <a NAME="TestingWidget.__setIdleMode" ID="TestingWidget.__setIdleMode"></a>
633 <h4>TestingWidget.__setIdleMode</h4> 633 <h4>TestingWidget.__setIdleMode</h4>
634 <b>__setIdleMode</b>(<i></i>) 634 <b>__setIdleMode</b>(<i></i>)
635
636 <p> 635 <p>
637 Private slot to switch the widget to idle mode. 636 Private slot to switch the widget to idle mode.
638 </p> 637 </p>
638
639 <a NAME="TestingWidget.__setRunningMode" ID="TestingWidget.__setRunningMode"></a> 639 <a NAME="TestingWidget.__setRunningMode" ID="TestingWidget.__setRunningMode"></a>
640 <h4>TestingWidget.__setRunningMode</h4> 640 <h4>TestingWidget.__setRunningMode</h4>
641 <b>__setRunningMode</b>(<i></i>) 641 <b>__setRunningMode</b>(<i></i>)
642
643 <p> 642 <p>
644 Private slot to switch the widget to running mode. 643 Private slot to switch the widget to running mode.
645 </p> 644 </p>
645
646 <a NAME="TestingWidget.__setStatusLabel" ID="TestingWidget.__setStatusLabel"></a> 646 <a NAME="TestingWidget.__setStatusLabel" ID="TestingWidget.__setStatusLabel"></a>
647 <h4>TestingWidget.__setStatusLabel</h4> 647 <h4>TestingWidget.__setStatusLabel</h4>
648 <b>__setStatusLabel</b>(<i>statusText</i>) 648 <b>__setStatusLabel</b>(<i>statusText</i>)
649
650 <p> 649 <p>
651 Private slot to set the status label to the text sent by the model. 650 Private slot to set the status label to the text sent by the model.
652 </p> 651 </p>
652
653 <dl> 653 <dl>
654 654
655 <dt><i>statusText</i> (str)</dt> 655 <dt><i>statusText</i> (str)</dt>
656 <dd> 656 <dd>
657 text to be shown 657 text to be shown
658 </dd> 658 </dd>
659 </dl> 659 </dl>
660 <a NAME="TestingWidget.__setStoppedMode" ID="TestingWidget.__setStoppedMode"></a> 660 <a NAME="TestingWidget.__setStoppedMode" ID="TestingWidget.__setStoppedMode"></a>
661 <h4>TestingWidget.__setStoppedMode</h4> 661 <h4>TestingWidget.__setStoppedMode</h4>
662 <b>__setStoppedMode</b>(<i></i>) 662 <b>__setStoppedMode</b>(<i></i>)
663
664 <p> 663 <p>
665 Private slot to switch the widget to stopped mode. 664 Private slot to switch the widget to stopped mode.
666 </p> 665 </p>
666
667 <a NAME="TestingWidget.__showCoverageDialog" ID="TestingWidget.__showCoverageDialog"></a> 667 <a NAME="TestingWidget.__showCoverageDialog" ID="TestingWidget.__showCoverageDialog"></a>
668 <h4>TestingWidget.__showCoverageDialog</h4> 668 <h4>TestingWidget.__showCoverageDialog</h4>
669 <b>__showCoverageDialog</b>(<i></i>) 669 <b>__showCoverageDialog</b>(<i></i>)
670
671 <p> 670 <p>
672 Private slot to show a code coverage dialog for the most recent test 671 Private slot to show a code coverage dialog for the most recent test
673 run. 672 run.
674 </p> 673 </p>
674
675 <a NAME="TestingWidget.__showLogOutput" ID="TestingWidget.__showLogOutput"></a> 675 <a NAME="TestingWidget.__showLogOutput" ID="TestingWidget.__showLogOutput"></a>
676 <h4>TestingWidget.__showLogOutput</h4> 676 <h4>TestingWidget.__showLogOutput</h4>
677 <b>__showLogOutput</b>(<i></i>) 677 <b>__showLogOutput</b>(<i></i>)
678
679 <p> 678 <p>
680 Private slot to show the output of the most recent test run. 679 Private slot to show the output of the most recent test run.
681 </p> 680 </p>
681
682 <a NAME="TestingWidget.__showSource" ID="TestingWidget.__showSource"></a> 682 <a NAME="TestingWidget.__showSource" ID="TestingWidget.__showSource"></a>
683 <h4>TestingWidget.__showSource</h4> 683 <h4>TestingWidget.__showSource</h4>
684 <b>__showSource</b>(<i>filename, lineno</i>) 684 <b>__showSource</b>(<i>filename, lineno</i>)
685
686 <p> 685 <p>
687 Private slot to show the source of a traceback in an editor. 686 Private slot to show the source of a traceback in an editor.
688 </p> 687 </p>
688
689 <dl> 689 <dl>
690 690
691 <dt><i>filename</i> (str)</dt> 691 <dt><i>filename</i> (str)</dt>
692 <dd> 692 <dd>
693 file name of the file to be shown 693 file name of the file to be shown
698 </dd> 698 </dd>
699 </dl> 699 </dl>
700 <a NAME="TestingWidget.__stopTests" ID="TestingWidget.__stopTests"></a> 700 <a NAME="TestingWidget.__stopTests" ID="TestingWidget.__stopTests"></a>
701 <h4>TestingWidget.__stopTests</h4> 701 <h4>TestingWidget.__stopTests</h4>
702 <b>__stopTests</b>(<i></i>) 702 <b>__stopTests</b>(<i></i>)
703
704 <p> 703 <p>
705 Private slot to stop the current test run. 704 Private slot to stop the current test run.
706 </p> 705 </p>
706
707 <a NAME="TestingWidget.__testDiscoveryAboutToBeStarted" ID="TestingWidget.__testDiscoveryAboutToBeStarted"></a> 707 <a NAME="TestingWidget.__testDiscoveryAboutToBeStarted" ID="TestingWidget.__testDiscoveryAboutToBeStarted"></a>
708 <h4>TestingWidget.__testDiscoveryAboutToBeStarted</h4> 708 <h4>TestingWidget.__testDiscoveryAboutToBeStarted</h4>
709 <b>__testDiscoveryAboutToBeStarted</b>(<i></i>) 709 <b>__testDiscoveryAboutToBeStarted</b>(<i></i>)
710
711 <p> 710 <p>
712 Private slot to handle the 'testDiscoveryAboutToBeStarted' signal of the 711 Private slot to handle the 'testDiscoveryAboutToBeStarted' signal of the
713 executor. 712 executor.
714 </p> 713 </p>
714
715 <a NAME="TestingWidget.__testDiscoveryError" ID="TestingWidget.__testDiscoveryError"></a> 715 <a NAME="TestingWidget.__testDiscoveryError" ID="TestingWidget.__testDiscoveryError"></a>
716 <h4>TestingWidget.__testDiscoveryError</h4> 716 <h4>TestingWidget.__testDiscoveryError</h4>
717 <b>__testDiscoveryError</b>(<i>errors</i>) 717 <b>__testDiscoveryError</b>(<i>errors</i>)
718
719 <p> 718 <p>
720 Private slot handling the 'collectError' signal of the executor. 719 Private slot handling the 'collectError' signal of the executor.
721 </p> 720 </p>
721
722 <dl> 722 <dl>
723 723
724 <dt><i>errors</i> (list of tuple of (str, str))</dt> 724 <dt><i>errors</i> (list of tuple of (str, str))</dt>
725 <dd> 725 <dd>
726 list of tuples containing the test name and a description 726 list of tuples containing the test name and a description
728 </dd> 728 </dd>
729 </dl> 729 </dl>
730 <a NAME="TestingWidget.__testDiscoveryProcessFinished" ID="TestingWidget.__testDiscoveryProcessFinished"></a> 730 <a NAME="TestingWidget.__testDiscoveryProcessFinished" ID="TestingWidget.__testDiscoveryProcessFinished"></a>
731 <h4>TestingWidget.__testDiscoveryProcessFinished</h4> 731 <h4>TestingWidget.__testDiscoveryProcessFinished</h4>
732 <b>__testDiscoveryProcessFinished</b>(<i>results, output</i>) 732 <b>__testDiscoveryProcessFinished</b>(<i>results, output</i>)
733
734 <p> 733 <p>
735 Private slot to handle the 'testFinished' signal of the executor in 734 Private slot to handle the 'testFinished' signal of the executor in
736 discovery mode. 735 discovery mode.
737 </p> 736 </p>
737
738 <dl> 738 <dl>
739 739
740 <dt><i>results</i> (list of TestResult)</dt> 740 <dt><i>results</i> (list of TestResult)</dt>
741 <dd> 741 <dd>
742 list of test result objects (if not sent via the 742 list of test result objects (if not sent via the
748 </dd> 748 </dd>
749 </dl> 749 </dl>
750 <a NAME="TestingWidget.__testProcessFinished" ID="TestingWidget.__testProcessFinished"></a> 750 <a NAME="TestingWidget.__testProcessFinished" ID="TestingWidget.__testProcessFinished"></a>
751 <h4>TestingWidget.__testProcessFinished</h4> 751 <h4>TestingWidget.__testProcessFinished</h4>
752 <b>__testProcessFinished</b>(<i>results, output</i>) 752 <b>__testProcessFinished</b>(<i>results, output</i>)
753
754 <p> 753 <p>
755 Private slot to handle the 'testFinished' signal of the executor. 754 Private slot to handle the 'testFinished' signal of the executor.
756 </p> 755 </p>
756
757 <dl> 757 <dl>
758 758
759 <dt><i>results</i> (list of TestResult)</dt> 759 <dt><i>results</i> (list of TestResult)</dt>
760 <dd> 760 <dd>
761 list of test result objects (if not sent via the 761 list of test result objects (if not sent via the
767 </dd> 767 </dd>
768 </dl> 768 </dl>
769 <a NAME="TestingWidget.__testRunAboutToBeStarted" ID="TestingWidget.__testRunAboutToBeStarted"></a> 769 <a NAME="TestingWidget.__testRunAboutToBeStarted" ID="TestingWidget.__testRunAboutToBeStarted"></a>
770 <h4>TestingWidget.__testRunAboutToBeStarted</h4> 770 <h4>TestingWidget.__testRunAboutToBeStarted</h4>
771 <b>__testRunAboutToBeStarted</b>(<i></i>) 771 <b>__testRunAboutToBeStarted</b>(<i></i>)
772
773 <p> 772 <p>
774 Private slot to handle the 'testRunAboutToBeStarted' signal of the 773 Private slot to handle the 'testRunAboutToBeStarted' signal of the
775 executor. 774 executor.
776 </p> 775 </p>
776
777 <a NAME="TestingWidget.__testRunFinished" ID="TestingWidget.__testRunFinished"></a> 777 <a NAME="TestingWidget.__testRunFinished" ID="TestingWidget.__testRunFinished"></a>
778 <h4>TestingWidget.__testRunFinished</h4> 778 <h4>TestingWidget.__testRunFinished</h4>
779 <b>__testRunFinished</b>(<i>noTests, duration</i>) 779 <b>__testRunFinished</b>(<i>noTests, duration</i>)
780
781 <p> 780 <p>
782 Private slot to handle the 'testRunFinished' signal of the executor. 781 Private slot to handle the 'testRunFinished' signal of the executor.
783 </p> 782 </p>
783
784 <dl> 784 <dl>
785 785
786 <dt><i>noTests</i> (int)</dt> 786 <dt><i>noTests</i> (int)</dt>
787 <dd> 787 <dd>
788 number of tests run by the executor 788 number of tests run by the executor
793 </dd> 793 </dd>
794 </dl> 794 </dl>
795 <a NAME="TestingWidget.__testStarted" ID="TestingWidget.__testStarted"></a> 795 <a NAME="TestingWidget.__testStarted" ID="TestingWidget.__testStarted"></a>
796 <h4>TestingWidget.__testStarted</h4> 796 <h4>TestingWidget.__testStarted</h4>
797 <b>__testStarted</b>(<i>test</i>) 797 <b>__testStarted</b>(<i>test</i>)
798
799 <p> 798 <p>
800 Private slot handling the 'startTest' signal of the executor. 799 Private slot handling the 'startTest' signal of the executor.
801 </p> 800 </p>
801
802 <dl> 802 <dl>
803 803
804 <dt><i>test</i> (tuple of (str, str, str))</dt> 804 <dt><i>test</i> (tuple of (str, str, str))</dt>
805 <dd> 805 <dd>
806 tuple containing the id, name and short description of the 806 tuple containing the id, name and short description of the
808 </dd> 808 </dd>
809 </dl> 809 </dl>
810 <a NAME="TestingWidget.__testsCollectError" ID="TestingWidget.__testsCollectError"></a> 810 <a NAME="TestingWidget.__testsCollectError" ID="TestingWidget.__testsCollectError"></a>
811 <h4>TestingWidget.__testsCollectError</h4> 811 <h4>TestingWidget.__testsCollectError</h4>
812 <b>__testsCollectError</b>(<i>errors</i>) 812 <b>__testsCollectError</b>(<i>errors</i>)
813
814 <p> 813 <p>
815 Private slot handling the 'collectError' signal of the executor. 814 Private slot handling the 'collectError' signal of the executor.
816 </p> 815 </p>
816
817 <dl> 817 <dl>
818 818
819 <dt><i>errors</i> (list of tuple of (str, str))</dt> 819 <dt><i>errors</i> (list of tuple of (str, str))</dt>
820 <dd> 820 <dd>
821 list of tuples containing the test name and a description 821 list of tuples containing the test name and a description
823 </dd> 823 </dd>
824 </dl> 824 </dl>
825 <a NAME="TestingWidget.__testsCollected" ID="TestingWidget.__testsCollected"></a> 825 <a NAME="TestingWidget.__testsCollected" ID="TestingWidget.__testsCollected"></a>
826 <h4>TestingWidget.__testsCollected</h4> 826 <h4>TestingWidget.__testsCollected</h4>
827 <b>__testsCollected</b>(<i>testNames</i>) 827 <b>__testsCollected</b>(<i>testNames</i>)
828
829 <p> 828 <p>
830 Private slot handling the 'collected' signal of the executor. 829 Private slot handling the 'collected' signal of the executor.
831 </p> 830 </p>
831
832 <dl> 832 <dl>
833 833
834 <dt><i>testNames</i> (list of tuple of (str, str, str, str, int, list))</dt> 834 <dt><i>testNames</i> (list of tuple of (str, str, str, str, int, list))</dt>
835 <dd> 835 <dd>
836 list of tuples containing the test id, the test name 836 list of tuples containing the test id, the test name
839 </dd> 839 </dd>
840 </dl> 840 </dl>
841 <a NAME="TestingWidget.__testsDiscovered" ID="TestingWidget.__testsDiscovered"></a> 841 <a NAME="TestingWidget.__testsDiscovered" ID="TestingWidget.__testsDiscovered"></a>
842 <h4>TestingWidget.__testsDiscovered</h4> 842 <h4>TestingWidget.__testsDiscovered</h4>
843 <b>__testsDiscovered</b>(<i>testNames</i>) 843 <b>__testsDiscovered</b>(<i>testNames</i>)
844
845 <p> 844 <p>
846 Private slot handling the 'collected' signal of the executor in discovery 845 Private slot handling the 'collected' signal of the executor in discovery
847 mode. 846 mode.
848 </p> 847 </p>
848
849 <dl> 849 <dl>
850 850
851 <dt><i>testNames</i> (list of tuple of (str, str, str, str, int, list))</dt> 851 <dt><i>testNames</i> (list of tuple of (str, str, str, str, int, list))</dt>
852 <dd> 852 <dd>
853 list of tuples containing the test id, the test name 853 list of tuples containing the test id, the test name
856 </dd> 856 </dd>
857 </dl> 857 </dl>
858 <a NAME="TestingWidget.__testsStopped" ID="TestingWidget.__testsStopped"></a> 858 <a NAME="TestingWidget.__testsStopped" ID="TestingWidget.__testsStopped"></a>
859 <h4>TestingWidget.__testsStopped</h4> 859 <h4>TestingWidget.__testsStopped</h4>
860 <b>__testsStopped</b>(<i></i>) 860 <b>__testsStopped</b>(<i></i>)
861
862 <p> 861 <p>
863 Private slot to handle the 'stop' signal of the executor. 862 Private slot to handle the 'stop' signal of the executor.
864 </p> 863 </p>
864
865 <a NAME="TestingWidget.__updateButtonBoxButtons" ID="TestingWidget.__updateButtonBoxButtons"></a> 865 <a NAME="TestingWidget.__updateButtonBoxButtons" ID="TestingWidget.__updateButtonBoxButtons"></a>
866 <h4>TestingWidget.__updateButtonBoxButtons</h4> 866 <h4>TestingWidget.__updateButtonBoxButtons</h4>
867 <b>__updateButtonBoxButtons</b>(<i></i>) 867 <b>__updateButtonBoxButtons</b>(<i></i>)
868
869 <p> 868 <p>
870 Private slot to update the state of the buttons of the button box. 869 Private slot to update the state of the buttons of the button box.
871 </p> 870 </p>
871
872 <a NAME="TestingWidget.__updateCoverage" ID="TestingWidget.__updateCoverage"></a> 872 <a NAME="TestingWidget.__updateCoverage" ID="TestingWidget.__updateCoverage"></a>
873 <h4>TestingWidget.__updateCoverage</h4> 873 <h4>TestingWidget.__updateCoverage</h4>
874 <b>__updateCoverage</b>(<i></i>) 874 <b>__updateCoverage</b>(<i></i>)
875
876 <p> 875 <p>
877 Private slot to update the state of the coverage checkbox depending on 876 Private slot to update the state of the coverage checkbox depending on
878 the selected framework's capabilities. 877 the selected framework's capabilities.
879 </p> 878 </p>
879
880 <a NAME="TestingWidget.__updateMarkerSupport" ID="TestingWidget.__updateMarkerSupport"></a> 880 <a NAME="TestingWidget.__updateMarkerSupport" ID="TestingWidget.__updateMarkerSupport"></a>
881 <h4>TestingWidget.__updateMarkerSupport</h4> 881 <h4>TestingWidget.__updateMarkerSupport</h4>
882 <b>__updateMarkerSupport</b>(<i></i>) 882 <b>__updateMarkerSupport</b>(<i></i>)
883
884 <p> 883 <p>
885 Private slot to update the state of the marker related widgets depending on 884 Private slot to update the state of the marker related widgets depending on
886 the selected framework's capabilities. 885 the selected framework's capabilities.
887 </p> 886 </p>
887
888 <a NAME="TestingWidget.__updatePatternSupport" ID="TestingWidget.__updatePatternSupport"></a> 888 <a NAME="TestingWidget.__updatePatternSupport" ID="TestingWidget.__updatePatternSupport"></a>
889 <h4>TestingWidget.__updatePatternSupport</h4> 889 <h4>TestingWidget.__updatePatternSupport</h4>
890 <b>__updatePatternSupport</b>(<i></i>) 890 <b>__updatePatternSupport</b>(<i></i>)
891
892 <p> 891 <p>
893 Private slot to update the state of the test name pattern line edit depending on 892 Private slot to update the state of the test name pattern line edit depending on
894 the selected framework's capabilities. 893 the selected framework's capabilities.
895 </p> 894 </p>
895
896 <a NAME="TestingWidget.__updateProgress" ID="TestingWidget.__updateProgress"></a> 896 <a NAME="TestingWidget.__updateProgress" ID="TestingWidget.__updateProgress"></a>
897 <h4>TestingWidget.__updateProgress</h4> 897 <h4>TestingWidget.__updateProgress</h4>
898 <b>__updateProgress</b>(<i></i>) 898 <b>__updateProgress</b>(<i></i>)
899
900 <p> 899 <p>
901 Private slot to update the progress indicators. 900 Private slot to update the progress indicators.
902 </p> 901 </p>
902
903 <a NAME="TestingWidget.__updateStatusFilterComboBox" ID="TestingWidget.__updateStatusFilterComboBox"></a> 903 <a NAME="TestingWidget.__updateStatusFilterComboBox" ID="TestingWidget.__updateStatusFilterComboBox"></a>
904 <h4>TestingWidget.__updateStatusFilterComboBox</h4> 904 <h4>TestingWidget.__updateStatusFilterComboBox</h4>
905 <b>__updateStatusFilterComboBox</b>(<i></i>) 905 <b>__updateStatusFilterComboBox</b>(<i></i>)
906
907 <p> 906 <p>
908 Private method to update the status filter dialog box. 907 Private method to update the status filter dialog box.
909 </p> 908 </p>
909
910 <a NAME="TestingWidget.clearRecent" ID="TestingWidget.clearRecent"></a> 910 <a NAME="TestingWidget.clearRecent" ID="TestingWidget.clearRecent"></a>
911 <h4>TestingWidget.clearRecent</h4> 911 <h4>TestingWidget.clearRecent</h4>
912 <b>clearRecent</b>(<i></i>) 912 <b>clearRecent</b>(<i></i>)
913
914 <p> 913 <p>
915 Public slot to clear the recently used lists. 914 Public slot to clear the recently used lists.
916 </p> 915 </p>
916
917 <a NAME="TestingWidget.closeEvent" ID="TestingWidget.closeEvent"></a> 917 <a NAME="TestingWidget.closeEvent" ID="TestingWidget.closeEvent"></a>
918 <h4>TestingWidget.closeEvent</h4> 918 <h4>TestingWidget.closeEvent</h4>
919 <b>closeEvent</b>(<i>event</i>) 919 <b>closeEvent</b>(<i>event</i>)
920
921 <p> 920 <p>
922 Protected method to handle the close event. 921 Protected method to handle the close event.
923 </p> 922 </p>
923
924 <dl> 924 <dl>
925 925
926 <dt><i>event</i> (QCloseEvent)</dt> 926 <dt><i>event</i> (QCloseEvent)</dt>
927 <dd> 927 <dd>
928 close event 928 close event
929 </dd> 929 </dd>
930 </dl> 930 </dl>
931 <a NAME="TestingWidget.getFailedTests" ID="TestingWidget.getFailedTests"></a> 931 <a NAME="TestingWidget.getFailedTests" ID="TestingWidget.getFailedTests"></a>
932 <h4>TestingWidget.getFailedTests</h4> 932 <h4>TestingWidget.getFailedTests</h4>
933 <b>getFailedTests</b>(<i></i>) 933 <b>getFailedTests</b>(<i></i>)
934
935 <p> 934 <p>
936 Public method to get the list of failed tests (if any). 935 Public method to get the list of failed tests (if any).
937 </p> 936 </p>
937
938 <dl> 938 <dl>
939 <dt>Return:</dt> 939 <dt>Return:</dt>
940 <dd> 940 <dd>
941 list of IDs of failed tests 941 list of IDs of failed tests
942 </dd> 942 </dd>
948 </dd> 948 </dd>
949 </dl> 949 </dl>
950 <a NAME="TestingWidget.getResultsModel" ID="TestingWidget.getResultsModel"></a> 950 <a NAME="TestingWidget.getResultsModel" ID="TestingWidget.getResultsModel"></a>
951 <h4>TestingWidget.getResultsModel</h4> 951 <h4>TestingWidget.getResultsModel</h4>
952 <b>getResultsModel</b>(<i></i>) 952 <b>getResultsModel</b>(<i></i>)
953
954 <p> 953 <p>
955 Public method to get a reference to the model containing the test 954 Public method to get a reference to the model containing the test
956 result data. 955 result data.
957 </p> 956 </p>
957
958 <dl> 958 <dl>
959 <dt>Return:</dt> 959 <dt>Return:</dt>
960 <dd> 960 <dd>
961 reference to the test results model 961 reference to the test results model
962 </dd> 962 </dd>
968 </dd> 968 </dd>
969 </dl> 969 </dl>
970 <a NAME="TestingWidget.hasFailedTests" ID="TestingWidget.hasFailedTests"></a> 970 <a NAME="TestingWidget.hasFailedTests" ID="TestingWidget.hasFailedTests"></a>
971 <h4>TestingWidget.hasFailedTests</h4> 971 <h4>TestingWidget.hasFailedTests</h4>
972 <b>hasFailedTests</b>(<i></i>) 972 <b>hasFailedTests</b>(<i></i>)
973
974 <p> 973 <p>
975 Public method to check for failed tests. 974 Public method to check for failed tests.
976 </p> 975 </p>
976
977 <dl> 977 <dl>
978 <dt>Return:</dt> 978 <dt>Return:</dt>
979 <dd> 979 <dd>
980 flag indicating the existence of failed tests 980 flag indicating the existence of failed tests
981 </dd> 981 </dd>
987 </dd> 987 </dd>
988 </dl> 988 </dl>
989 <a NAME="TestingWidget.on_buttonBox_clicked" ID="TestingWidget.on_buttonBox_clicked"></a> 989 <a NAME="TestingWidget.on_buttonBox_clicked" ID="TestingWidget.on_buttonBox_clicked"></a>
990 <h4>TestingWidget.on_buttonBox_clicked</h4> 990 <h4>TestingWidget.on_buttonBox_clicked</h4>
991 <b>on_buttonBox_clicked</b>(<i>button</i>) 991 <b>on_buttonBox_clicked</b>(<i>button</i>)
992
993 <p> 992 <p>
994 Private slot called by a button of the button box clicked. 993 Private slot called by a button of the button box clicked.
995 </p> 994 </p>
995
996 <dl> 996 <dl>
997 997
998 <dt><i>button</i> (QAbstractButton)</dt> 998 <dt><i>button</i> (QAbstractButton)</dt>
999 <dd> 999 <dd>
1000 button that was clicked 1000 button that was clicked
1001 </dd> 1001 </dd>
1002 </dl> 1002 </dl>
1003 <a NAME="TestingWidget.on_discoverCheckBox_toggled" ID="TestingWidget.on_discoverCheckBox_toggled"></a> 1003 <a NAME="TestingWidget.on_discoverCheckBox_toggled" ID="TestingWidget.on_discoverCheckBox_toggled"></a>
1004 <h4>TestingWidget.on_discoverCheckBox_toggled</h4> 1004 <h4>TestingWidget.on_discoverCheckBox_toggled</h4>
1005 <b>on_discoverCheckBox_toggled</b>(<i>checked</i>) 1005 <b>on_discoverCheckBox_toggled</b>(<i>checked</i>)
1006
1007 <p> 1006 <p>
1008 Private slot handling state changes of the 'discover' checkbox. 1007 Private slot handling state changes of the 'discover' checkbox.
1009 </p> 1008 </p>
1009
1010 <dl> 1010 <dl>
1011 1011
1012 <dt><i>checked</i> (bool)</dt> 1012 <dt><i>checked</i> (bool)</dt>
1013 <dd> 1013 <dd>
1014 state of the checkbox 1014 state of the checkbox
1015 </dd> 1015 </dd>
1016 </dl> 1016 </dl>
1017 <a NAME="TestingWidget.on_discoveryList_customContextMenuRequested" ID="TestingWidget.on_discoveryList_customContextMenuRequested"></a> 1017 <a NAME="TestingWidget.on_discoveryList_customContextMenuRequested" ID="TestingWidget.on_discoveryList_customContextMenuRequested"></a>
1018 <h4>TestingWidget.on_discoveryList_customContextMenuRequested</h4> 1018 <h4>TestingWidget.on_discoveryList_customContextMenuRequested</h4>
1019 <b>on_discoveryList_customContextMenuRequested</b>(<i>pos</i>) 1019 <b>on_discoveryList_customContextMenuRequested</b>(<i>pos</i>)
1020
1021 <p> 1020 <p>
1022 Private slot to show the context menu of the dicovery list. 1021 Private slot to show the context menu of the dicovery list.
1023 </p> 1022 </p>
1023
1024 <dl> 1024 <dl>
1025 1025
1026 <dt><i>pos</i> (QPoint)</dt> 1026 <dt><i>pos</i> (QPoint)</dt>
1027 <dd> 1027 <dd>
1028 the position of the mouse pointer 1028 the position of the mouse pointer
1029 </dd> 1029 </dd>
1030 </dl> 1030 </dl>
1031 <a NAME="TestingWidget.on_discoveryList_itemActivated" ID="TestingWidget.on_discoveryList_itemActivated"></a> 1031 <a NAME="TestingWidget.on_discoveryList_itemActivated" ID="TestingWidget.on_discoveryList_itemActivated"></a>
1032 <h4>TestingWidget.on_discoveryList_itemActivated</h4> 1032 <h4>TestingWidget.on_discoveryList_itemActivated</h4>
1033 <b>on_discoveryList_itemActivated</b>(<i>item, column</i>) 1033 <b>on_discoveryList_itemActivated</b>(<i>item, column</i>)
1034
1035 <p> 1034 <p>
1036 Private slot handling the user activating an item. 1035 Private slot handling the user activating an item.
1037 </p> 1036 </p>
1037
1038 <dl> 1038 <dl>
1039 1039
1040 <dt><i>item</i> (QTreeWidgetItem)</dt> 1040 <dt><i>item</i> (QTreeWidgetItem)</dt>
1041 <dd> 1041 <dd>
1042 reference to the item 1042 reference to the item
1047 </dd> 1047 </dd>
1048 </dl> 1048 </dl>
1049 <a NAME="TestingWidget.on_discoveryList_itemChanged" ID="TestingWidget.on_discoveryList_itemChanged"></a> 1049 <a NAME="TestingWidget.on_discoveryList_itemChanged" ID="TestingWidget.on_discoveryList_itemChanged"></a>
1050 <h4>TestingWidget.on_discoveryList_itemChanged</h4> 1050 <h4>TestingWidget.on_discoveryList_itemChanged</h4>
1051 <b>on_discoveryList_itemChanged</b>(<i>item, column</i>) 1051 <b>on_discoveryList_itemChanged</b>(<i>item, column</i>)
1052
1053 <p> 1052 <p>
1054 Private slot handling the user checking or unchecking an item. 1053 Private slot handling the user checking or unchecking an item.
1055 </p> 1054 </p>
1055
1056 <dl> 1056 <dl>
1057 1057
1058 <dt><i>item</i> (QTreeWidgetItem)</dt> 1058 <dt><i>item</i> (QTreeWidgetItem)</dt>
1059 <dd> 1059 <dd>
1060 reference to the item 1060 reference to the item
1065 </dd> 1065 </dd>
1066 </dl> 1066 </dl>
1067 <a NAME="TestingWidget.on_discoveryPicker_editTextChanged" ID="TestingWidget.on_discoveryPicker_editTextChanged"></a> 1067 <a NAME="TestingWidget.on_discoveryPicker_editTextChanged" ID="TestingWidget.on_discoveryPicker_editTextChanged"></a>
1068 <h4>TestingWidget.on_discoveryPicker_editTextChanged</h4> 1068 <h4>TestingWidget.on_discoveryPicker_editTextChanged</h4>
1069 <b>on_discoveryPicker_editTextChanged</b>(<i>txt</i>) 1069 <b>on_discoveryPicker_editTextChanged</b>(<i>txt</i>)
1070
1071 <p> 1070 <p>
1072 Private slot to handle a change of the discovery start directory. 1071 Private slot to handle a change of the discovery start directory.
1073 </p> 1072 </p>
1073
1074 <dl> 1074 <dl>
1075 1075
1076 <dt><i>txt</i> (str)</dt> 1076 <dt><i>txt</i> (str)</dt>
1077 <dd> 1077 <dd>
1078 new discovery start directory 1078 new discovery start directory
1079 </dd> 1079 </dd>
1080 </dl> 1080 </dl>
1081 <a NAME="TestingWidget.on_frameworkComboBox_currentIndexChanged" ID="TestingWidget.on_frameworkComboBox_currentIndexChanged"></a> 1081 <a NAME="TestingWidget.on_frameworkComboBox_currentIndexChanged" ID="TestingWidget.on_frameworkComboBox_currentIndexChanged"></a>
1082 <h4>TestingWidget.on_frameworkComboBox_currentIndexChanged</h4> 1082 <h4>TestingWidget.on_frameworkComboBox_currentIndexChanged</h4>
1083 <b>on_frameworkComboBox_currentIndexChanged</b>(<i>index</i>) 1083 <b>on_frameworkComboBox_currentIndexChanged</b>(<i>index</i>)
1084
1085 <p> 1084 <p>
1086 Private slot handling the selection of a test framework. 1085 Private slot handling the selection of a test framework.
1087 </p> 1086 </p>
1087
1088 <dl> 1088 <dl>
1089 1089
1090 <dt><i>index</i> (int)</dt> 1090 <dt><i>index</i> (int)</dt>
1091 <dd> 1091 <dd>
1092 index of the selected framework 1092 index of the selected framework
1093 </dd> 1093 </dd>
1094 </dl> 1094 </dl>
1095 <a NAME="TestingWidget.on_showMarkersButton_clicked" ID="TestingWidget.on_showMarkersButton_clicked"></a> 1095 <a NAME="TestingWidget.on_showMarkersButton_clicked" ID="TestingWidget.on_showMarkersButton_clicked"></a>
1096 <h4>TestingWidget.on_showMarkersButton_clicked</h4> 1096 <h4>TestingWidget.on_showMarkersButton_clicked</h4>
1097 <b>on_showMarkersButton_clicked</b>(<i></i>) 1097 <b>on_showMarkersButton_clicked</b>(<i></i>)
1098
1099 <p> 1098 <p>
1100 Private slot to show a window containing the list of defined markers. 1099 Private slot to show a window containing the list of defined markers.
1101 </p> 1100 </p>
1101
1102 <a NAME="TestingWidget.on_statusFilterComboBox_currentTextChanged" ID="TestingWidget.on_statusFilterComboBox_currentTextChanged"></a> 1102 <a NAME="TestingWidget.on_statusFilterComboBox_currentTextChanged" ID="TestingWidget.on_statusFilterComboBox_currentTextChanged"></a>
1103 <h4>TestingWidget.on_statusFilterComboBox_currentTextChanged</h4> 1103 <h4>TestingWidget.on_statusFilterComboBox_currentTextChanged</h4>
1104 <b>on_statusFilterComboBox_currentTextChanged</b>(<i>status</i>) 1104 <b>on_statusFilterComboBox_currentTextChanged</b>(<i>status</i>)
1105
1106 <p> 1105 <p>
1107 Private slot handling the selection of a status for items to be shown. 1106 Private slot handling the selection of a status for items to be shown.
1108 </p> 1107 </p>
1108
1109 <dl> 1109 <dl>
1110 1110
1111 <dt><i>status</i> (str)</dt> 1111 <dt><i>status</i> (str)</dt>
1112 <dd> 1112 <dd>
1113 selected status 1113 selected status
1114 </dd> 1114 </dd>
1115 </dl> 1115 </dl>
1116 <a NAME="TestingWidget.on_testsuitePicker_aboutToShowPathPickerDialog" ID="TestingWidget.on_testsuitePicker_aboutToShowPathPickerDialog"></a> 1116 <a NAME="TestingWidget.on_testsuitePicker_aboutToShowPathPickerDialog" ID="TestingWidget.on_testsuitePicker_aboutToShowPathPickerDialog"></a>
1117 <h4>TestingWidget.on_testsuitePicker_aboutToShowPathPickerDialog</h4> 1117 <h4>TestingWidget.on_testsuitePicker_aboutToShowPathPickerDialog</h4>
1118 <b>on_testsuitePicker_aboutToShowPathPickerDialog</b>(<i></i>) 1118 <b>on_testsuitePicker_aboutToShowPathPickerDialog</b>(<i></i>)
1119
1120 <p> 1119 <p>
1121 Private slot called before the test file selection dialog is shown. 1120 Private slot called before the test file selection dialog is shown.
1122 </p> 1121 </p>
1122
1123 <a NAME="TestingWidget.on_venvComboBox_currentIndexChanged" ID="TestingWidget.on_venvComboBox_currentIndexChanged"></a> 1123 <a NAME="TestingWidget.on_venvComboBox_currentIndexChanged" ID="TestingWidget.on_venvComboBox_currentIndexChanged"></a>
1124 <h4>TestingWidget.on_venvComboBox_currentIndexChanged</h4> 1124 <h4>TestingWidget.on_venvComboBox_currentIndexChanged</h4>
1125 <b>on_venvComboBox_currentIndexChanged</b>(<i>index</i>) 1125 <b>on_venvComboBox_currentIndexChanged</b>(<i>index</i>)
1126
1127 <p> 1126 <p>
1128 Private slot handling the selection of a virtual environment. 1127 Private slot handling the selection of a virtual environment.
1129 </p> 1128 </p>
1129
1130 <dl> 1130 <dl>
1131 1131
1132 <dt><i>index</i> (int)</dt> 1132 <dt><i>index</i> (int)</dt>
1133 <dd> 1133 <dd>
1134 index of the selected environment 1134 index of the selected environment
1135 </dd> 1135 </dd>
1136 </dl> 1136 </dl>
1137 <a NAME="TestingWidget.on_versionsButton_clicked" ID="TestingWidget.on_versionsButton_clicked"></a> 1137 <a NAME="TestingWidget.on_versionsButton_clicked" ID="TestingWidget.on_versionsButton_clicked"></a>
1138 <h4>TestingWidget.on_versionsButton_clicked</h4> 1138 <h4>TestingWidget.on_versionsButton_clicked</h4>
1139 <b>on_versionsButton_clicked</b>(<i></i>) 1139 <b>on_versionsButton_clicked</b>(<i></i>)
1140
1141 <p> 1140 <p>
1142 Private slot to show the versions of available plugins. 1141 Private slot to show the versions of available plugins.
1143 </p> 1142 </p>
1143
1144 <a NAME="TestingWidget.setTestFile" ID="TestingWidget.setTestFile"></a> 1144 <a NAME="TestingWidget.setTestFile" ID="TestingWidget.setTestFile"></a>
1145 <h4>TestingWidget.setTestFile</h4> 1145 <h4>TestingWidget.setTestFile</h4>
1146 <b>setTestFile</b>(<i>testFile, forProject=False</i>) 1146 <b>setTestFile</b>(<i>testFile, forProject=False</i>)
1147
1148 <p> 1147 <p>
1149 Public slot to set the given test file as the current one. 1148 Public slot to set the given test file as the current one.
1150 </p> 1149 </p>
1150
1151 <dl> 1151 <dl>
1152 1152
1153 <dt><i>testFile</i> (str)</dt> 1153 <dt><i>testFile</i> (str)</dt>
1154 <dd> 1154 <dd>
1155 path of the test file 1155 path of the test file
1161 </dd> 1161 </dd>
1162 </dl> 1162 </dl>
1163 <a NAME="TestingWidget.startTests" ID="TestingWidget.startTests"></a> 1163 <a NAME="TestingWidget.startTests" ID="TestingWidget.startTests"></a>
1164 <h4>TestingWidget.startTests</h4> 1164 <h4>TestingWidget.startTests</h4>
1165 <b>startTests</b>(<i>failedOnly=False, debug=False</i>) 1165 <b>startTests</b>(<i>failedOnly=False, debug=False</i>)
1166
1167 <p> 1166 <p>
1168 Public slot to start the test run. 1167 Public slot to start the test run.
1169 </p> 1168 </p>
1169
1170 <dl> 1170 <dl>
1171 1171
1172 <dt><i>failedOnly</i> (bool (optional))</dt> 1172 <dt><i>failedOnly</i> (bool (optional))</dt>
1173 <dd> 1173 <dd>
1174 flag indicating to run only failed tests (defaults to False) 1174 flag indicating to run only failed tests (defaults to False)
1182 <div align="right"><a href="#top">Up</a></div> 1182 <div align="right"><a href="#top">Up</a></div>
1183 <hr /> 1183 <hr />
1184 <hr /> 1184 <hr />
1185 <a NAME="TestingWidgetModes" ID="TestingWidgetModes"></a> 1185 <a NAME="TestingWidgetModes" ID="TestingWidgetModes"></a>
1186 <h2>TestingWidgetModes</h2> 1186 <h2>TestingWidgetModes</h2>
1187
1188 <p> 1187 <p>
1189 Class defining the various modes of the testing widget. 1188 Class defining the various modes of the testing widget.
1190 </p> 1189 </p>
1190
1191 <h3>Derived from</h3> 1191 <h3>Derived from</h3>
1192 enum.Enum 1192 enum.Enum
1193 <h3>Class Attributes</h3> 1193 <h3>Class Attributes</h3>
1194 1194 <table>
1195 <table> 1195 <tr><td>DISCOVERY</td></tr>
1196 <tr><td>DISCOVERY</td></tr><tr><td>IDLE</td></tr><tr><td>RUNNING</td></tr><tr><td>STOPPED</td></tr> 1196 <tr><td>IDLE</td></tr>
1197 </table> 1197 <tr><td>RUNNING</td></tr>
1198 <tr><td>STOPPED</td></tr>
1199 </table>
1200
1198 <h3>Class Methods</h3> 1201 <h3>Class Methods</h3>
1199
1200 <table> 1202 <table>
1201 <tr><td>None</td></tr> 1203 <tr><td>None</td></tr>
1202 </table> 1204 </table>
1205
1203 <h3>Methods</h3> 1206 <h3>Methods</h3>
1204
1205 <table> 1207 <table>
1206 <tr><td>None</td></tr> 1208 <tr><td>None</td></tr>
1207 </table> 1209 </table>
1210
1208 <h3>Static Methods</h3> 1211 <h3>Static Methods</h3>
1209
1210 <table> 1212 <table>
1211 <tr><td>None</td></tr> 1213 <tr><td>None</td></tr>
1212 </table> 1214 </table>
1215
1213 1216
1214 <div align="right"><a href="#top">Up</a></div> 1217 <div align="right"><a href="#top">Up</a></div>
1215 <hr /> 1218 <hr />
1216 <hr /> 1219 <hr />
1217 <a NAME="TestingWindow" ID="TestingWindow"></a> 1220 <a NAME="TestingWindow" ID="TestingWindow"></a>
1218 <h2>TestingWindow</h2> 1221 <h2>TestingWindow</h2>
1219
1220 <p> 1222 <p>
1221 Main window class for the standalone dialog. 1223 Main window class for the standalone dialog.
1222 </p> 1224 </p>
1225
1223 <h3>Derived from</h3> 1226 <h3>Derived from</h3>
1224 EricMainWindow 1227 EricMainWindow
1225 <h3>Class Attributes</h3> 1228 <h3>Class Attributes</h3>
1226
1227 <table> 1229 <table>
1228 <tr><td>None</td></tr> 1230 <tr><td>None</td></tr>
1229 </table> 1231 </table>
1232
1230 <h3>Class Methods</h3> 1233 <h3>Class Methods</h3>
1231
1232 <table> 1234 <table>
1233 <tr><td>None</td></tr> 1235 <tr><td>None</td></tr>
1234 </table> 1236 </table>
1237
1235 <h3>Methods</h3> 1238 <h3>Methods</h3>
1236 1239 <table>
1237 <table>
1238
1239 <tr> 1240 <tr>
1240 <td><a href="#TestingWindow.__init__">TestingWindow</a></td> 1241 <td><a href="#TestingWindow.__init__">TestingWindow</a></td>
1241 <td>Constructor</td> 1242 <td>Constructor</td>
1242 </tr> 1243 </tr>
1243 <tr> 1244 <tr>
1244 <td><a href="#TestingWindow.eventFilter">eventFilter</a></td> 1245 <td><a href="#TestingWindow.eventFilter">eventFilter</a></td>
1245 <td>Public method to filter events.</td> 1246 <td>Public method to filter events.</td>
1246 </tr> 1247 </tr>
1247 </table> 1248 </table>
1249
1248 <h3>Static Methods</h3> 1250 <h3>Static Methods</h3>
1249
1250 <table> 1251 <table>
1251 <tr><td>None</td></tr> 1252 <tr><td>None</td></tr>
1252 </table> 1253 </table>
1254
1253 1255
1254 <a NAME="TestingWindow.__init__" ID="TestingWindow.__init__"></a> 1256 <a NAME="TestingWindow.__init__" ID="TestingWindow.__init__"></a>
1255 <h4>TestingWindow (Constructor)</h4> 1257 <h4>TestingWindow (Constructor)</h4>
1256 <b>TestingWindow</b>(<i>testfile=None, parent=None</i>) 1258 <b>TestingWindow</b>(<i>testfile=None, parent=None</i>)
1257
1258 <p> 1259 <p>
1259 Constructor 1260 Constructor
1260 </p> 1261 </p>
1262
1261 <dl> 1263 <dl>
1262 1264
1263 <dt><i>testfile</i> (str)</dt> 1265 <dt><i>testfile</i> (str)</dt>
1264 <dd> 1266 <dd>
1265 file name of the test script to open 1267 file name of the test script to open
1270 </dd> 1272 </dd>
1271 </dl> 1273 </dl>
1272 <a NAME="TestingWindow.eventFilter" ID="TestingWindow.eventFilter"></a> 1274 <a NAME="TestingWindow.eventFilter" ID="TestingWindow.eventFilter"></a>
1273 <h4>TestingWindow.eventFilter</h4> 1275 <h4>TestingWindow.eventFilter</h4>
1274 <b>eventFilter</b>(<i>obj, event</i>) 1276 <b>eventFilter</b>(<i>obj, event</i>)
1275
1276 <p> 1277 <p>
1277 Public method to filter events. 1278 Public method to filter events.
1278 </p> 1279 </p>
1280
1279 <dl> 1281 <dl>
1280 1282
1281 <dt><i>obj</i> (QObject)</dt> 1283 <dt><i>obj</i> (QObject)</dt>
1282 <dd> 1284 <dd>
1283 reference to the object the event is meant for 1285 reference to the object the event is meant for
1303 <hr /> 1305 <hr />
1304 <hr /> 1306 <hr />
1305 <a NAME="clearSavedHistories" ID="clearSavedHistories"></a> 1307 <a NAME="clearSavedHistories" ID="clearSavedHistories"></a>
1306 <h2>clearSavedHistories</h2> 1308 <h2>clearSavedHistories</h2>
1307 <b>clearSavedHistories</b>(<i>self</i>) 1309 <b>clearSavedHistories</b>(<i>self</i>)
1308
1309 <p> 1310 <p>
1310 Function to clear the saved history lists. 1311 Function to clear the saved history lists.
1311 </p> 1312 </p>
1313
1312 <div align="right"><a href="#top">Up</a></div> 1314 <div align="right"><a href="#top">Up</a></div>
1313 <hr /> 1315 <hr />
1314 </body></html> 1316 </body></html>

eric ide

mercurial