57 unittest.TestResult |
57 unittest.TestResult |
58 <h3>Class Attributes</h3> |
58 <h3>Class Attributes</h3> |
59 <table> |
59 <table> |
60 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
61 </table> |
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 <table> |
|
64 <tr><td>None</td></tr> |
|
65 </table> |
62 <h3>Methods</h3> |
66 <h3>Methods</h3> |
63 <table> |
67 <table> |
64 <tr> |
68 <tr> |
65 <td><a href="#QtTestResult.__init__">QtTestResult</a></td> |
|
66 <td>Constructor</td> |
|
67 </tr><tr> |
|
68 <td><a href="#QtTestResult.addError">addError</a></td> |
69 <td><a href="#QtTestResult.addError">addError</a></td> |
69 <td>Method called if a test errored.</td> |
70 <td>Method called if a test errored.</td> |
70 </tr><tr> |
71 </tr><tr> |
71 <td><a href="#QtTestResult.addExpectedFailure">addExpectedFailure</a></td> |
72 <td><a href="#QtTestResult.addExpectedFailure">addExpectedFailure</a></td> |
72 <td>Method called if a test failed expected.</td> |
73 <td>Method called if a test failed expected.</td> |
84 <td>Method called at the start of a test.</td> |
85 <td>Method called at the start of a test.</td> |
85 </tr><tr> |
86 </tr><tr> |
86 <td><a href="#QtTestResult.stopTest">stopTest</a></td> |
87 <td><a href="#QtTestResult.stopTest">stopTest</a></td> |
87 <td>Method called at the end of a test.</td> |
88 <td>Method called at the end of a test.</td> |
88 </tr> |
89 </tr> |
|
90 </table> |
|
91 <h3>Static Methods</h3> |
|
92 <table> |
|
93 <tr><td>None</td></tr> |
89 </table> |
94 </table> |
90 <a NAME="QtTestResult.__init__" ID="QtTestResult.__init__"></a> |
95 <a NAME="QtTestResult.__init__" ID="QtTestResult.__init__"></a> |
91 <h4>QtTestResult (Constructor)</h4> |
96 <h4>QtTestResult (Constructor)</h4> |
92 <b>QtTestResult</b>(<i>parent</i>) |
97 <b>QtTestResult</b>(<i>parent</i>) |
93 <p> |
98 <p> |
184 <hr /><hr /> |
189 <hr /><hr /> |
185 <a NAME="UnittestDialog" ID="UnittestDialog"></a> |
190 <a NAME="UnittestDialog" ID="UnittestDialog"></a> |
186 <h2>UnittestDialog</h2> |
191 <h2>UnittestDialog</h2> |
187 <p> |
192 <p> |
188 Class implementing the UI to the pyunit package. |
193 Class implementing the UI to the pyunit package. |
189 </p><h4>Signals</h4> |
194 </p><h3>Signals</h3> |
190 <dl> |
195 <dl> |
191 <dt>unittestFile(str, int, int)</dt> |
196 <dt>unittestFile(str, int, int)</dt> |
192 <dd> |
197 <dd> |
193 emitted to show the source of a unittest file |
198 emitted to show the source of a unittest file |
194 </dd> |
199 </dd> |
197 QWidget, Ui_UnittestDialog |
202 QWidget, Ui_UnittestDialog |
198 <h3>Class Attributes</h3> |
203 <h3>Class Attributes</h3> |
199 <table> |
204 <table> |
200 <tr><td>None</td></tr> |
205 <tr><td>None</td></tr> |
201 </table> |
206 </table> |
|
207 <h3>Class Methods</h3> |
|
208 <table> |
|
209 <tr><td>None</td></tr> |
|
210 </table> |
202 <h3>Methods</h3> |
211 <h3>Methods</h3> |
203 <table> |
212 <table> |
204 <tr> |
213 <tr> |
205 <td><a href="#UnittestDialog.__init__">UnittestDialog</a></td> |
|
206 <td>Constructor</td> |
|
207 </tr><tr> |
|
208 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
214 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
209 <td>Private slot to handle the utPrepared signal.</td> |
215 <td>Private slot to handle the utPrepared signal.</td> |
210 </tr><tr> |
216 </tr><tr> |
211 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td> |
217 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td> |
212 <td>Private methode to set the color of the progress color label.</td> |
218 <td>Private methode to set the color of the progress color label.</td> |
266 <td>Public method called if a test is about to be run.</td> |
272 <td>Public method called if a test is about to be run.</td> |
267 </tr><tr> |
273 </tr><tr> |
268 <td><a href="#UnittestDialog.testSucceededUnexpected">testSucceededUnexpected</a></td> |
274 <td><a href="#UnittestDialog.testSucceededUnexpected">testSucceededUnexpected</a></td> |
269 <td>Public method called if a test succeeds unexpectedly.</td> |
275 <td>Public method called if a test succeeds unexpectedly.</td> |
270 </tr> |
276 </tr> |
|
277 </table> |
|
278 <h3>Static Methods</h3> |
|
279 <table> |
|
280 <tr><td>None</td></tr> |
271 </table> |
281 </table> |
272 <a NAME="UnittestDialog.__init__" ID="UnittestDialog.__init__"></a> |
282 <a NAME="UnittestDialog.__init__" ID="UnittestDialog.__init__"></a> |
273 <h4>UnittestDialog (Constructor)</h4> |
283 <h4>UnittestDialog (Constructor)</h4> |
274 <b>UnittestDialog</b>(<i>prog=None, dbs=None, ui=None, parent=None, name=None</i>) |
284 <b>UnittestDialog</b>(<i>prog=None, dbs=None, ui=None, parent=None, name=None</i>) |
275 <p> |
285 <p> |
510 QMainWindow |
520 QMainWindow |
511 <h3>Class Attributes</h3> |
521 <h3>Class Attributes</h3> |
512 <table> |
522 <table> |
513 <tr><td>None</td></tr> |
523 <tr><td>None</td></tr> |
514 </table> |
524 </table> |
|
525 <h3>Class Methods</h3> |
|
526 <table> |
|
527 <tr><td>None</td></tr> |
|
528 </table> |
515 <h3>Methods</h3> |
529 <h3>Methods</h3> |
516 <table> |
530 <table> |
517 <tr> |
531 <tr> |
518 <td><a href="#UnittestWindow.__init__">UnittestWindow</a></td> |
|
519 <td>Constructor</td> |
|
520 </tr><tr> |
|
521 <td><a href="#UnittestWindow.eventFilter">eventFilter</a></td> |
532 <td><a href="#UnittestWindow.eventFilter">eventFilter</a></td> |
522 <td>Public method to filter events.</td> |
533 <td>Public method to filter events.</td> |
523 </tr> |
534 </tr> |
|
535 </table> |
|
536 <h3>Static Methods</h3> |
|
537 <table> |
|
538 <tr><td>None</td></tr> |
524 </table> |
539 </table> |
525 <a NAME="UnittestWindow.__init__" ID="UnittestWindow.__init__"></a> |
540 <a NAME="UnittestWindow.__init__" ID="UnittestWindow.__init__"></a> |
526 <h4>UnittestWindow (Constructor)</h4> |
541 <h4>UnittestWindow (Constructor)</h4> |
527 <b>UnittestWindow</b>(<i>prog=None, parent=None</i>) |
542 <b>UnittestWindow</b>(<i>prog=None, parent=None</i>) |
528 <p> |
543 <p> |