94 <table> |
94 <table> |
95 <tr><td>None</td></tr> |
95 <tr><td>None</td></tr> |
96 </table> |
96 </table> |
97 <a NAME="QtTestResult.__init__" ID="QtTestResult.__init__"></a> |
97 <a NAME="QtTestResult.__init__" ID="QtTestResult.__init__"></a> |
98 <h4>QtTestResult (Constructor)</h4> |
98 <h4>QtTestResult (Constructor)</h4> |
99 <b>QtTestResult</b>(<i>parent</i>) |
99 <b>QtTestResult</b>(<i>parent, failfast</i>) |
100 <p> |
100 <p> |
101 Constructor |
101 Constructor |
102 </p><dl> |
102 </p><dl> |
103 <dt><i>parent</i></dt> |
103 <dt><i>parent</i> (UnittestDialog)</dt> |
104 <dd> |
104 <dd> |
105 The parent widget. |
105 reference to the parent widget |
|
106 </dd><dt><i>failfast</i> (bool)</dt> |
|
107 <dd> |
|
108 flag indicating to stop at the first error |
106 </dd> |
109 </dd> |
107 </dl><a NAME="QtTestResult.addError" ID="QtTestResult.addError"></a> |
110 </dl><a NAME="QtTestResult.addError" ID="QtTestResult.addError"></a> |
108 <h4>QtTestResult.addError</h4> |
111 <h4>QtTestResult.addError</h4> |
109 <b>addError</b>(<i>test, err</i>) |
112 <b>addError</b>(<i>test, err</i>) |
110 <p> |
113 <p> |
219 <tr> |
222 <tr> |
220 <td><a href="#UnittestDialog.__init__">UnittestDialog</a></td> |
223 <td><a href="#UnittestDialog.__init__">UnittestDialog</a></td> |
221 <td>Constructor</td> |
224 <td>Constructor</td> |
222 </tr><tr> |
225 </tr><tr> |
223 <td><a href="#UnittestDialog.__UTDiscovered">__UTDiscovered</a></td> |
226 <td><a href="#UnittestDialog.__UTDiscovered">__UTDiscovered</a></td> |
224 <td>Private slot to handle the utPrepared signal.</td> |
227 <td>Private slot to handle the utDiscovered signal.</td> |
225 </tr><tr> |
228 </tr><tr> |
226 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
229 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td> |
227 <td>Private slot to handle the utPrepared signal.</td> |
230 <td>Private slot to handle the utPrepared signal.</td> |
228 </tr><tr> |
231 </tr><tr> |
229 <td><a href="#UnittestDialog.__assembleTestCasesList">__assembleTestCasesList</a></td> |
232 <td><a href="#UnittestDialog.__assembleTestCasesList">__assembleTestCasesList</a></td> |
358 </dd> |
361 </dd> |
359 </dl><a NAME="UnittestDialog.__UTDiscovered" ID="UnittestDialog.__UTDiscovered"></a> |
362 </dl><a NAME="UnittestDialog.__UTDiscovered" ID="UnittestDialog.__UTDiscovered"></a> |
360 <h4>UnittestDialog.__UTDiscovered</h4> |
363 <h4>UnittestDialog.__UTDiscovered</h4> |
361 <b>__UTDiscovered</b>(<i>testCases, exc_type, exc_value</i>) |
364 <b>__UTDiscovered</b>(<i>testCases, exc_type, exc_value</i>) |
362 <p> |
365 <p> |
363 Private slot to handle the utPrepared signal. |
366 Private slot to handle the utDiscovered signal. |
364 </p><p> |
367 </p><p> |
365 If the unittest suite was loaded successfully, we ask the |
368 If the unittest suite was loaded successfully, we ask the |
366 client to run the test suite. |
369 client to run the test suite. |
367 </p><dl> |
370 </p><dl> |
368 <dt><i>testCases</i> (str)</dt> |
371 <dt><i>testCases</i> (str)</dt> |