61 <tr> |
61 <tr> |
62 <td><a href="#DCTestResult.__init__">DCTestResult</a></td> |
62 <td><a href="#DCTestResult.__init__">DCTestResult</a></td> |
63 <td>Constructor</td> |
63 <td>Constructor</td> |
64 </tr><tr> |
64 </tr><tr> |
65 <td><a href="#DCTestResult.addError">addError</a></td> |
65 <td><a href="#DCTestResult.addError">addError</a></td> |
66 <td>Method called if a test errored.</td> |
66 <td>Public method called if a test errored.</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#DCTestResult.addExpectedFailure">addExpectedFailure</a></td> |
68 <td><a href="#DCTestResult.addExpectedFailure">addExpectedFailure</a></td> |
69 <td>Method called if a test failed expected.</td> |
69 <td>Public method called if a test failed expected.</td> |
70 </tr><tr> |
70 </tr><tr> |
71 <td><a href="#DCTestResult.addFailure">addFailure</a></td> |
71 <td><a href="#DCTestResult.addFailure">addFailure</a></td> |
72 <td>Method called if a test failed.</td> |
72 <td>Public method called if a test failed.</td> |
73 </tr><tr> |
73 </tr><tr> |
74 <td><a href="#DCTestResult.addSkip">addSkip</a></td> |
74 <td><a href="#DCTestResult.addSkip">addSkip</a></td> |
75 <td>Method called if a test was skipped.</td> |
75 <td>Public method called if a test was skipped.</td> |
76 </tr><tr> |
76 </tr><tr> |
77 <td><a href="#DCTestResult.addUnexpectedSuccess">addUnexpectedSuccess</a></td> |
77 <td><a href="#DCTestResult.addUnexpectedSuccess">addUnexpectedSuccess</a></td> |
78 <td>Method called if a test succeeded expectedly.</td> |
78 <td>Public method called if a test succeeded expectedly.</td> |
79 </tr><tr> |
79 </tr><tr> |
80 <td><a href="#DCTestResult.startTest">startTest</a></td> |
80 <td><a href="#DCTestResult.startTest">startTest</a></td> |
81 <td>Method called at the start of a test.</td> |
81 <td>Public method called at the start of a test.</td> |
82 </tr><tr> |
82 </tr><tr> |
83 <td><a href="#DCTestResult.stopTest">stopTest</a></td> |
83 <td><a href="#DCTestResult.stopTest">stopTest</a></td> |
84 <td>Method called at the end of a test.</td> |
84 <td>Public method called at the end of a test.</td> |
85 </tr> |
85 </tr> |
86 </table> |
86 </table> |
87 <h3>Static Methods</h3> |
87 <h3>Static Methods</h3> |
88 <table> |
88 <table> |
89 <tr><td>None</td></tr> |
89 <tr><td>None</td></tr> |
100 </dd> |
100 </dd> |
101 </dl><a NAME="DCTestResult.addError" ID="DCTestResult.addError"></a> |
101 </dl><a NAME="DCTestResult.addError" ID="DCTestResult.addError"></a> |
102 <h4>DCTestResult.addError</h4> |
102 <h4>DCTestResult.addError</h4> |
103 <b>addError</b>(<i>test, err</i>) |
103 <b>addError</b>(<i>test, err</i>) |
104 <p> |
104 <p> |
105 Method called if a test errored. |
105 Public method called if a test errored. |
106 </p><dl> |
106 </p><dl> |
107 <dt><i>test</i></dt> |
107 <dt><i>test</i></dt> |
108 <dd> |
108 <dd> |
109 Reference to the test object |
109 Reference to the test object |
110 </dd><dt><i>err</i></dt> |
110 </dd><dt><i>err</i></dt> |
113 </dd> |
113 </dd> |
114 </dl><a NAME="DCTestResult.addExpectedFailure" ID="DCTestResult.addExpectedFailure"></a> |
114 </dl><a NAME="DCTestResult.addExpectedFailure" ID="DCTestResult.addExpectedFailure"></a> |
115 <h4>DCTestResult.addExpectedFailure</h4> |
115 <h4>DCTestResult.addExpectedFailure</h4> |
116 <b>addExpectedFailure</b>(<i>test, err</i>) |
116 <b>addExpectedFailure</b>(<i>test, err</i>) |
117 <p> |
117 <p> |
118 Method called if a test failed expected. |
118 Public method called if a test failed expected. |
119 </p><dl> |
119 </p><dl> |
120 <dt><i>test</i></dt> |
120 <dt><i>test</i></dt> |
121 <dd> |
121 <dd> |
122 reference to the test object |
122 reference to the test object |
123 </dd><dt><i>err</i></dt> |
123 </dd><dt><i>err</i></dt> |
126 </dd> |
126 </dd> |
127 </dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a> |
127 </dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a> |
128 <h4>DCTestResult.addFailure</h4> |
128 <h4>DCTestResult.addFailure</h4> |
129 <b>addFailure</b>(<i>test, err</i>) |
129 <b>addFailure</b>(<i>test, err</i>) |
130 <p> |
130 <p> |
131 Method called if a test failed. |
131 Public method called if a test failed. |
132 </p><dl> |
132 </p><dl> |
133 <dt><i>test</i></dt> |
133 <dt><i>test</i></dt> |
134 <dd> |
134 <dd> |
135 Reference to the test object |
135 Reference to the test object |
136 </dd><dt><i>err</i></dt> |
136 </dd><dt><i>err</i></dt> |
139 </dd> |
139 </dd> |
140 </dl><a NAME="DCTestResult.addSkip" ID="DCTestResult.addSkip"></a> |
140 </dl><a NAME="DCTestResult.addSkip" ID="DCTestResult.addSkip"></a> |
141 <h4>DCTestResult.addSkip</h4> |
141 <h4>DCTestResult.addSkip</h4> |
142 <b>addSkip</b>(<i>test, reason</i>) |
142 <b>addSkip</b>(<i>test, reason</i>) |
143 <p> |
143 <p> |
144 Method called if a test was skipped. |
144 Public method called if a test was skipped. |
145 </p><dl> |
145 </p><dl> |
146 <dt><i>test</i></dt> |
146 <dt><i>test</i></dt> |
147 <dd> |
147 <dd> |
148 reference to the test object |
148 reference to the test object |
149 </dd><dt><i>reason</i></dt> |
149 </dd><dt><i>reason</i></dt> |
152 </dd> |
152 </dd> |
153 </dl><a NAME="DCTestResult.addUnexpectedSuccess" ID="DCTestResult.addUnexpectedSuccess"></a> |
153 </dl><a NAME="DCTestResult.addUnexpectedSuccess" ID="DCTestResult.addUnexpectedSuccess"></a> |
154 <h4>DCTestResult.addUnexpectedSuccess</h4> |
154 <h4>DCTestResult.addUnexpectedSuccess</h4> |
155 <b>addUnexpectedSuccess</b>(<i>test</i>) |
155 <b>addUnexpectedSuccess</b>(<i>test</i>) |
156 <p> |
156 <p> |
157 Method called if a test succeeded expectedly. |
157 Public method called if a test succeeded expectedly. |
158 </p><dl> |
158 </p><dl> |
159 <dt><i>test</i></dt> |
159 <dt><i>test</i></dt> |
160 <dd> |
160 <dd> |
161 reference to the test object |
161 reference to the test object |
162 </dd> |
162 </dd> |
163 </dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a> |
163 </dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a> |
164 <h4>DCTestResult.startTest</h4> |
164 <h4>DCTestResult.startTest</h4> |
165 <b>startTest</b>(<i>test</i>) |
165 <b>startTest</b>(<i>test</i>) |
166 <p> |
166 <p> |
167 Method called at the start of a test. |
167 Public method called at the start of a test. |
168 </p><dl> |
168 </p><dl> |
169 <dt><i>test</i></dt> |
169 <dt><i>test</i></dt> |
170 <dd> |
170 <dd> |
171 Reference to the test object |
171 Reference to the test object |
172 </dd> |
172 </dd> |
173 </dl><a NAME="DCTestResult.stopTest" ID="DCTestResult.stopTest"></a> |
173 </dl><a NAME="DCTestResult.stopTest" ID="DCTestResult.stopTest"></a> |
174 <h4>DCTestResult.stopTest</h4> |
174 <h4>DCTestResult.stopTest</h4> |
175 <b>stopTest</b>(<i>test</i>) |
175 <b>stopTest</b>(<i>test</i>) |
176 <p> |
176 <p> |
177 Method called at the end of a test. |
177 Public method called at the end of a test. |
178 </p><dl> |
178 </p><dl> |
179 <dt><i>test</i></dt> |
179 <dt><i>test</i></dt> |
180 <dd> |
180 <dd> |
181 Reference to the test object |
181 Reference to the test object |
182 </dd> |
182 </dd> |