221 <td>Constructor</td> |
221 <td>Constructor</td> |
222 </tr><tr> |
222 </tr><tr> |
223 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
223 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
224 <td>Private slot to handle the utPrepared signal.</td> |
224 <td>Private slot to handle the utPrepared signal.</td> |
225 </tr><tr> |
225 </tr><tr> |
|
226 <td><a href="#UnittestDialog.__openEditor">__openEditor</a></td> |
|
227 <td>Private method to open an editor window for the given file.</td> |
|
228 </tr><tr> |
226 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td> |
229 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td> |
227 <td>Private methode to set the color of the progress color label.</td> |
230 <td>Private methode to set the color of the progress color label.</td> |
228 </tr><tr> |
231 </tr><tr> |
229 <td><a href="#UnittestDialog.__setRunningMode">__setRunningMode</a></td> |
232 <td><a href="#UnittestDialog.__setRunningMode">__setRunningMode</a></td> |
230 <td>Private method to set the GUI in running mode.</td> |
233 <td>Private method to set the GUI in running mode.</td> |
232 <td><a href="#UnittestDialog.__setStoppedMode">__setStoppedMode</a></td> |
235 <td><a href="#UnittestDialog.__setStoppedMode">__setStoppedMode</a></td> |
233 <td>Private method to set the GUI in stopped mode.</td> |
236 <td>Private method to set the GUI in stopped mode.</td> |
234 </tr><tr> |
237 </tr><tr> |
235 <td><a href="#UnittestDialog.__showSource">__showSource</a></td> |
238 <td><a href="#UnittestDialog.__showSource">__showSource</a></td> |
236 <td>Private slot to show the source of a traceback in an eric6 editor.</td> |
239 <td>Private slot to show the source of a traceback in an eric6 editor.</td> |
|
240 </tr><tr> |
|
241 <td><a href="#UnittestDialog.closeEvent">closeEvent</a></td> |
|
242 <td>Protected method to handle the close event.</td> |
237 </tr><tr> |
243 </tr><tr> |
238 <td><a href="#UnittestDialog.hasFailedTests">hasFailedTests</a></td> |
244 <td><a href="#UnittestDialog.hasFailedTests">hasFailedTests</a></td> |
239 <td>Public method to check, if there are failed tests from the last run.</td> |
245 <td>Public method to check, if there are failed tests from the last run.</td> |
240 </tr><tr> |
246 </tr><tr> |
241 <td><a href="#UnittestDialog.insertProg">insertProg</a></td> |
247 <td><a href="#UnittestDialog.insertProg">insertProg</a></td> |
341 type of exception occured during preparation (string) |
347 type of exception occured during preparation (string) |
342 </dd><dt><i>exc_value</i></dt> |
348 </dd><dt><i>exc_value</i></dt> |
343 <dd> |
349 <dd> |
344 value of exception occured during preparation (string) |
350 value of exception occured during preparation (string) |
345 </dd> |
351 </dd> |
|
352 </dl><a NAME="UnittestDialog.__openEditor" ID="UnittestDialog.__openEditor"></a> |
|
353 <h4>UnittestDialog.__openEditor</h4> |
|
354 <b>__openEditor</b>(<i>filename, linenumber</i>) |
|
355 <p> |
|
356 Private method to open an editor window for the given file. |
|
357 </p><p> |
|
358 Note: This method opens an editor window when the unittest dialog |
|
359 is called as a standalone application. |
|
360 </p><dl> |
|
361 <dt><i>filename</i> (str)</dt> |
|
362 <dd> |
|
363 path of the file to be opened |
|
364 </dd><dt><i>linenumber</i> (int)</dt> |
|
365 <dd> |
|
366 line number to place the cursor at |
|
367 </dd> |
346 </dl><a NAME="UnittestDialog.__setProgressColor" ID="UnittestDialog.__setProgressColor"></a> |
368 </dl><a NAME="UnittestDialog.__setProgressColor" ID="UnittestDialog.__setProgressColor"></a> |
347 <h4>UnittestDialog.__setProgressColor</h4> |
369 <h4>UnittestDialog.__setProgressColor</h4> |
348 <b>__setProgressColor</b>(<i>color</i>) |
370 <b>__setProgressColor</b>(<i>color</i>) |
349 <p> |
371 <p> |
350 Private methode to set the color of the progress color label. |
372 Private methode to set the color of the progress color label. |
366 </p><a NAME="UnittestDialog.__showSource" ID="UnittestDialog.__showSource"></a> |
388 </p><a NAME="UnittestDialog.__showSource" ID="UnittestDialog.__showSource"></a> |
367 <h4>UnittestDialog.__showSource</h4> |
389 <h4>UnittestDialog.__showSource</h4> |
368 <b>__showSource</b>(<i></i>) |
390 <b>__showSource</b>(<i></i>) |
369 <p> |
391 <p> |
370 Private slot to show the source of a traceback in an eric6 editor. |
392 Private slot to show the source of a traceback in an eric6 editor. |
371 </p><a NAME="UnittestDialog.hasFailedTests" ID="UnittestDialog.hasFailedTests"></a> |
393 </p><a NAME="UnittestDialog.closeEvent" ID="UnittestDialog.closeEvent"></a> |
|
394 <h4>UnittestDialog.closeEvent</h4> |
|
395 <b>closeEvent</b>(<i>event</i>) |
|
396 <p> |
|
397 Protected method to handle the close event. |
|
398 </p><dl> |
|
399 <dt><i>event</i> (QCloseEvent)</dt> |
|
400 <dd> |
|
401 close event |
|
402 </dd> |
|
403 </dl><a NAME="UnittestDialog.hasFailedTests" ID="UnittestDialog.hasFailedTests"></a> |
372 <h4>UnittestDialog.hasFailedTests</h4> |
404 <h4>UnittestDialog.hasFailedTests</h4> |
373 <b>hasFailedTests</b>(<i></i>) |
405 <b>hasFailedTests</b>(<i></i>) |
374 <p> |
406 <p> |
375 Public method to check, if there are failed tests from the last run. |
407 Public method to check, if there are failed tests from the last run. |
376 </p><dl> |
408 </p><dl> |