Documentation/Source/eric6.PyUnit.UnittestDialog.html

changeset 6888
e5f03f779b00
parent 6359
e78be0616e6e
child 6903
0d4e1033731b
equal deleted inserted replaced
6887:4adc2c6978f2 6888:e5f03f779b00
275 <td>Private slot to handle changes of the test file name.</td> 275 <td>Private slot to handle changes of the test file name.</td>
276 </tr><tr> 276 </tr><tr>
277 <td><a href="#UnittestDialog.on_testsuitePicker_pathSelected">on_testsuitePicker_pathSelected</a></td> 277 <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> 278 <td>Private slot called after a test suite has been selected.</td>
279 </tr><tr> 279 </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>
284 <td>Public method to set the project mode of the dialog.</td>
285 </tr><tr>
280 <td><a href="#UnittestDialog.testErrored">testErrored</a></td> 286 <td><a href="#UnittestDialog.testErrored">testErrored</a></td>
281 <td>Public method called if a test errors.</td> 287 <td>Public method called if a test errors.</td>
282 </tr><tr> 288 </tr><tr>
283 <td><a href="#UnittestDialog.testFailed">testFailed</a></td> 289 <td><a href="#UnittestDialog.testFailed">testFailed</a></td>
284 <td>Public method called if a test fails.</td> 290 <td>Public method called if a test fails.</td>
303 <table> 309 <table>
304 <tr><td>None</td></tr> 310 <tr><td>None</td></tr>
305 </table> 311 </table>
306 <a NAME="UnittestDialog.__init__" ID="UnittestDialog.__init__"></a> 312 <a NAME="UnittestDialog.__init__" ID="UnittestDialog.__init__"></a>
307 <h4>UnittestDialog (Constructor)</h4> 313 <h4>UnittestDialog (Constructor)</h4>
308 <b>UnittestDialog</b>(<i>prog=None, dbs=None, ui=None, fromEric=False, parent=None, name=None</i>) 314 <b>UnittestDialog</b>(<i>prog=None, dbs=None, ui=None, parent=None, name=None</i>)
309 <p> 315 <p>
310 Constructor 316 Constructor
311 </p><dl> 317 </p><dl>
312 <dt><i>prog</i></dt> 318 <dt><i>prog</i> (str)</dt>
313 <dd> 319 <dd>
314 filename of the program to open 320 filename of the program to open
315 </dd><dt><i>dbs</i></dt> 321 </dd><dt><i>dbs</i> (DebugServer)</dt>
316 <dd> 322 <dd>
317 reference to the debug server object. It is an indication 323 reference to the debug server object. It is an indication
318 whether we were called from within the eric6 IDE 324 whether we were called from within the eric6 IDE.
319 </dd><dt><i>ui</i></dt> 325 </dd><dt><i>ui</i> (UserInterface)</dt>
320 <dd> 326 <dd>
321 reference to the UI object 327 reference to the UI object
322 </dd><dt><i>fromEric</i></dt> 328 </dd><dt><i>parent</i> (QWidget)</dt>
323 <dd> 329 <dd>
324 flag indicating an instantiation from within the 330 parent widget of this dialog
325 eric IDE (boolean) 331 </dd><dt><i>name</i> (str)</dt>
326 </dd><dt><i>parent</i></dt> 332 <dd>
327 <dd> 333 name of this dialog
328 parent widget of this dialog (QWidget)
329 </dd><dt><i>name</i></dt>
330 <dd>
331 name of this dialog (string)
332 </dd> 334 </dd>
333 </dl><a NAME="UnittestDialog.__UTPrepared" ID="UnittestDialog.__UTPrepared"></a> 335 </dl><a NAME="UnittestDialog.__UTPrepared" ID="UnittestDialog.__UTPrepared"></a>
334 <h4>UnittestDialog.__UTPrepared</h4> 336 <h4>UnittestDialog.__UTPrepared</h4>
335 <b>__UTPrepared</b>(<i>nrTests, exc_type, exc_value</i>) 337 <b>__UTPrepared</b>(<i>nrTests, exc_type, exc_value</i>)
336 <p> 338 <p>
514 </p><dl> 516 </p><dl>
515 <dt><i>suite</i> (str)</dt> 517 <dt><i>suite</i> (str)</dt>
516 <dd> 518 <dd>
517 file name of the test suite 519 file name of the test suite
518 </dd> 520 </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>
532 <h4>UnittestDialog.setProjectMode</h4>
533 <b>setProjectMode</b>(<i>forProject</i>)
534 <p>
535 Public method to set the project mode of the dialog.
536 </p><dl>
537 <dt><i>forProject</i> (bool)</dt>
538 <dd>
539 flag indicating to run for the open project
540 </dd>
519 </dl><a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a> 541 </dl><a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a>
520 <h4>UnittestDialog.testErrored</h4> 542 <h4>UnittestDialog.testErrored</h4>
521 <b>testErrored</b>(<i>test, exc, testId</i>) 543 <b>testErrored</b>(<i>test, exc, testId</i>)
522 <p> 544 <p>
523 Public method called if a test errors. 545 Public method called if a test errors.

eric ide

mercurial