60 <td>Constructor</td> |
60 <td>Constructor</td> |
61 </tr><tr> |
61 </tr><tr> |
62 <td><a href="#DCTestResult.addError">addError</a></td> |
62 <td><a href="#DCTestResult.addError">addError</a></td> |
63 <td>Method called if a test errored.</td> |
63 <td>Method called if a test errored.</td> |
64 </tr><tr> |
64 </tr><tr> |
|
65 <td><a href="#DCTestResult.addExpectedFailure">addExpectedFailure</a></td> |
|
66 <td>Method called if a test failed expected.</td> |
|
67 </tr><tr> |
65 <td><a href="#DCTestResult.addFailure">addFailure</a></td> |
68 <td><a href="#DCTestResult.addFailure">addFailure</a></td> |
66 <td>Method called if a test failed.</td> |
69 <td>Method called if a test failed.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#DCTestResult.addSkip">addSkip</a></td> |
|
72 <td>Method called if a test was skipped.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#DCTestResult.addUnexpectedSuccess">addUnexpectedSuccess</a></td> |
|
75 <td>Method called if a test succeeded expectedly.</td> |
67 </tr><tr> |
76 </tr><tr> |
68 <td><a href="#DCTestResult.startTest">startTest</a></td> |
77 <td><a href="#DCTestResult.startTest">startTest</a></td> |
69 <td>Method called at the start of a test.</td> |
78 <td>Method called at the start of a test.</td> |
70 </tr><tr> |
79 </tr><tr> |
71 <td><a href="#DCTestResult.stopTest">stopTest</a></td> |
80 <td><a href="#DCTestResult.stopTest">stopTest</a></td> |
93 Reference to the test object |
102 Reference to the test object |
94 </dd><dt><i>err</i></dt> |
103 </dd><dt><i>err</i></dt> |
95 <dd> |
104 <dd> |
96 The error traceback |
105 The error traceback |
97 </dd> |
106 </dd> |
|
107 </dl><a NAME="DCTestResult.addExpectedFailure" ID="DCTestResult.addExpectedFailure"></a> |
|
108 <h4>DCTestResult.addExpectedFailure</h4> |
|
109 <b>addExpectedFailure</b>(<i>test, err</i>) |
|
110 <p> |
|
111 Method called if a test failed expected. |
|
112 </p><dl> |
|
113 <dt><i>test</i></dt> |
|
114 <dd> |
|
115 reference to the test object |
|
116 </dd><dt><i>err</i></dt> |
|
117 <dd> |
|
118 error traceback |
|
119 </dd> |
98 </dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a> |
120 </dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a> |
99 <h4>DCTestResult.addFailure</h4> |
121 <h4>DCTestResult.addFailure</h4> |
100 <b>addFailure</b>(<i>test, err</i>) |
122 <b>addFailure</b>(<i>test, err</i>) |
101 <p> |
123 <p> |
102 Method called if a test failed. |
124 Method called if a test failed. |
105 <dd> |
127 <dd> |
106 Reference to the test object |
128 Reference to the test object |
107 </dd><dt><i>err</i></dt> |
129 </dd><dt><i>err</i></dt> |
108 <dd> |
130 <dd> |
109 The error traceback |
131 The error traceback |
|
132 </dd> |
|
133 </dl><a NAME="DCTestResult.addSkip" ID="DCTestResult.addSkip"></a> |
|
134 <h4>DCTestResult.addSkip</h4> |
|
135 <b>addSkip</b>(<i>test, reason</i>) |
|
136 <p> |
|
137 Method called if a test was skipped. |
|
138 </p><dl> |
|
139 <dt><i>test</i></dt> |
|
140 <dd> |
|
141 reference to the test object |
|
142 </dd><dt><i>reason</i></dt> |
|
143 <dd> |
|
144 reason for skipping the test (string) |
|
145 </dd> |
|
146 </dl><a NAME="DCTestResult.addUnexpectedSuccess" ID="DCTestResult.addUnexpectedSuccess"></a> |
|
147 <h4>DCTestResult.addUnexpectedSuccess</h4> |
|
148 <b>addUnexpectedSuccess</b>(<i>test</i>) |
|
149 <p> |
|
150 Method called if a test succeeded expectedly. |
|
151 </p><dl> |
|
152 <dt><i>test</i></dt> |
|
153 <dd> |
|
154 reference to the test object |
110 </dd> |
155 </dd> |
111 </dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a> |
156 </dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a> |
112 <h4>DCTestResult.startTest</h4> |
157 <h4>DCTestResult.startTest</h4> |
113 <b>startTest</b>(<i>test</i>) |
158 <b>startTest</b>(<i>test</i>) |
114 <p> |
159 <p> |