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> |
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 |
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> |