eric6/Documentation/Source/eric6.PyUnit.UnittestDialog.html

branch
maintenance
changeset 8043
0acf98cd089a
parent 8032
76375aa6bc04
child 8544
ea3d92626170
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
275 <h3>Derived from</h3> 275 <h3>Derived from</h3>
276 QWidget, Ui_UnittestDialog 276 QWidget, Ui_UnittestDialog
277 <h3>Class Attributes</h3> 277 <h3>Class Attributes</h3>
278 278
279 <table> 279 <table>
280 <tr><td>ErrorsInfoRole</td></tr><tr><td>TestCaseFileRole</td></tr><tr><td>TestCaseNameRole</td></tr> 280 <tr><td>ErrorsInfoRole</td></tr><tr><td>FailedExpectedColorDarkTheme</td></tr><tr><td>FailedExpectedColorLightTheme</td></tr><tr><td>SkippedColorDarkTheme</td></tr><tr><td>SkippedColorLightTheme</td></tr><tr><td>SucceededUnexpectedColorDarkTheme</td></tr><tr><td>SucceededUnexpectedColorLightTheme</td></tr><tr><td>TestCaseFileRole</td></tr><tr><td>TestCaseNameRole</td></tr>
281 </table> 281 </table>
282 <h3>Class Methods</h3> 282 <h3>Class Methods</h3>
283 283
284 <table> 284 <table>
285 <tr><td>None</td></tr> 285 <tr><td>None</td></tr>
340 <td><a href="#UnittestDialog.__setStoppedMode">__setStoppedMode</a></td> 340 <td><a href="#UnittestDialog.__setStoppedMode">__setStoppedMode</a></td>
341 <td>Private method to set the GUI in stopped mode.</td> 341 <td>Private method to set the GUI in stopped mode.</td>
342 </tr> 342 </tr>
343 <tr> 343 <tr>
344 <td><a href="#UnittestDialog.__showSource">__showSource</a></td> 344 <td><a href="#UnittestDialog.__showSource">__showSource</a></td>
345 <td>Private slot to show the source of a traceback in an eric6 editor.</td> 345 <td>Private slot to show the source of a traceback in an eric editor.</td>
346 </tr> 346 </tr>
347 <tr> 347 <tr>
348 <td><a href="#UnittestDialog.__stopTests">__stopTests</a></td> 348 <td><a href="#UnittestDialog.__stopTests">__stopTests</a></td>
349 <td>Private slot to stop the test.</td> 349 <td>Private slot to stop the test.</td>
350 </tr> 350 </tr>
424 <td><a href="#UnittestDialog.testFailed">testFailed</a></td> 424 <td><a href="#UnittestDialog.testFailed">testFailed</a></td>
425 <td>Public method called if a test fails.</td> 425 <td>Public method called if a test fails.</td>
426 </tr> 426 </tr>
427 <tr> 427 <tr>
428 <td><a href="#UnittestDialog.testFailedExpected">testFailedExpected</a></td> 428 <td><a href="#UnittestDialog.testFailedExpected">testFailedExpected</a></td>
429 <td>Public method called if a test fails expectedly.</td> 429 <td>Public method called if a test fails as expected.</td>
430 </tr> 430 </tr>
431 <tr> 431 <tr>
432 <td><a href="#UnittestDialog.testFinished">testFinished</a></td> 432 <td><a href="#UnittestDialog.testFinished">testFinished</a></td>
433 <td>Public method called if a test has finished.</td> 433 <td>Public method called if a test has finished.</td>
434 </tr> 434 </tr>
465 filename of the program to open 465 filename of the program to open
466 </dd> 466 </dd>
467 <dt><i>dbs</i> (DebugServer)</dt> 467 <dt><i>dbs</i> (DebugServer)</dt>
468 <dd> 468 <dd>
469 reference to the debug server object. It is an indication 469 reference to the debug server object. It is an indication
470 whether we were called from within the eric6 IDE. 470 whether we were called from within the eric IDE.
471 </dd> 471 </dd>
472 <dt><i>ui</i> (UserInterface)</dt> 472 <dt><i>ui</i> (UserInterface)</dt>
473 <dd> 473 <dd>
474 reference to the UI object 474 reference to the UI object
475 </dd> 475 </dd>
552 <dd> 552 <dd>
553 name of directory discovery was started at 553 name of directory discovery was started at
554 </dd> 554 </dd>
555 </dl> 555 </dl>
556 <dl> 556 <dl>
557 <dt>Returns:</dt> 557 <dt>Return:</dt>
558 <dd> 558 <dd>
559 list of tuples containing the test case ID, a short description 559 list of tuples containing the test case ID, a short description
560 and the path of the test file name 560 and the path of the test file name
561 </dd> 561 </dd>
562 </dl> 562 </dl>
586 <dd> 586 <dd>
587 path of the module in dotted notation 587 path of the module in dotted notation
588 </dd> 588 </dd>
589 </dl> 589 </dl>
590 <dl> 590 <dl>
591 <dt>Returns:</dt> 591 <dt>Return:</dt>
592 <dd> 592 <dd>
593 reference to the item or None 593 reference to the item or None
594 </dd> 594 </dd>
595 </dl> 595 </dl>
596 <dl> 596 <dl>
655 <dd> 655 <dd>
656 reference to the parent item 656 reference to the parent item
657 </dd> 657 </dd>
658 </dl> 658 </dl>
659 <dl> 659 <dl>
660 <dt>Returns:</dt> 660 <dt>Return:</dt>
661 <dd> 661 <dd>
662 list of selected test cases 662 list of selected test cases
663 </dd> 663 </dd>
664 </dl> 664 </dl>
665 <dl> 665 <dl>
699 <a NAME="UnittestDialog.__showSource" ID="UnittestDialog.__showSource"></a> 699 <a NAME="UnittestDialog.__showSource" ID="UnittestDialog.__showSource"></a>
700 <h4>UnittestDialog.__showSource</h4> 700 <h4>UnittestDialog.__showSource</h4>
701 <b>__showSource</b>(<i></i>) 701 <b>__showSource</b>(<i></i>)
702 702
703 <p> 703 <p>
704 Private slot to show the source of a traceback in an eric6 editor. 704 Private slot to show the source of a traceback in an eric editor.
705 </p> 705 </p>
706 <a NAME="UnittestDialog.__stopTests" ID="UnittestDialog.__stopTests"></a> 706 <a NAME="UnittestDialog.__stopTests" ID="UnittestDialog.__stopTests"></a>
707 <h4>UnittestDialog.__stopTests</h4> 707 <h4>UnittestDialog.__stopTests</h4>
708 <b>__stopTests</b>(<i></i>) 708 <b>__stopTests</b>(<i></i>)
709 709
730 730
731 <p> 731 <p>
732 Public method to check, if there are failed tests from the last run. 732 Public method to check, if there are failed tests from the last run.
733 </p> 733 </p>
734 <dl> 734 <dl>
735 <dt>Returns:</dt> 735 <dt>Return:</dt>
736 <dd> 736 <dd>
737 flag indicating the presence of failed tests (boolean) 737 flag indicating the presence of failed tests (boolean)
738 </dd> 738 </dd>
739 </dl> 739 </dl>
740 <a NAME="UnittestDialog.insertDiscovery" ID="UnittestDialog.insertDiscovery"></a> 740 <a NAME="UnittestDialog.insertDiscovery" ID="UnittestDialog.insertDiscovery"></a>
949 <p> 949 <p>
950 Public slot to start the test. 950 Public slot to start the test.
951 </p> 951 </p>
952 <dl> 952 <dl>
953 953
954 <dt><i>failedOnly=</i></dt> 954 <dt><i>failedOnly</i></dt>
955 <dd> 955 <dd>
956 flag indicating to run only failed tests (boolean) 956 flag indicating to run only failed tests (boolean)
957 </dd> 957 </dd>
958 </dl> 958 </dl>
959 <a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a> 959 <a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a>
1003 <a NAME="UnittestDialog.testFailedExpected" ID="UnittestDialog.testFailedExpected"></a> 1003 <a NAME="UnittestDialog.testFailedExpected" ID="UnittestDialog.testFailedExpected"></a>
1004 <h4>UnittestDialog.testFailedExpected</h4> 1004 <h4>UnittestDialog.testFailedExpected</h4>
1005 <b>testFailedExpected</b>(<i>test, exc, testId</i>) 1005 <b>testFailedExpected</b>(<i>test, exc, testId</i>)
1006 1006
1007 <p> 1007 <p>
1008 Public method called if a test fails expectedly. 1008 Public method called if a test fails as expected.
1009 </p> 1009 </p>
1010 <dl> 1010 <dl>
1011 1011
1012 <dt><i>test</i></dt> 1012 <dt><i>test</i></dt>
1013 <dd> 1013 <dd>
1165 <dd> 1165 <dd>
1166 reference to the event object (QEvent) 1166 reference to the event object (QEvent)
1167 </dd> 1167 </dd>
1168 </dl> 1168 </dl>
1169 <dl> 1169 <dl>
1170 <dt>Returns:</dt> 1170 <dt>Return:</dt>
1171 <dd> 1171 <dd>
1172 flag indicating, whether the event was handled (boolean) 1172 flag indicating, whether the event was handled (boolean)
1173 </dd> 1173 </dd>
1174 </dl> 1174 </dl>
1175 <div align="right"><a href="#top">Up</a></div> 1175 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial