20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.DebugClients.Python3.DCTestResult</h1> |
23 <h1>eric5.DebugClients.Python3.DCTestResult</h1> |
24 <p> |
24 <p> |
25 Module implementing a TestResult derivative for the eric5 debugger. |
25 Module implementing a TestResult derivative for the eric5 debugger. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#DCTestResult">DCTestResult</a></td> |
34 <td><a href="#DCTestResult">DCTestResult</a></td> |
35 <td>A TestResult derivative to work with eric5's debug client.</td> |
35 <td>A TestResult derivative to work with eric5's debug client.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="DCTestResult" ID="DCTestResult"></a> |
43 <a NAME="DCTestResult" ID="DCTestResult"></a> |
44 <h2>DCTestResult</h2> |
44 <h2>DCTestResult</h2> |
45 <p> |
45 <p> |
46 A TestResult derivative to work with eric5's debug client. |
46 A TestResult derivative to work with eric5's debug client. |
47 </p><p> |
47 </p><p> |
48 For more details see unittest.py of the standard python distribution. |
48 For more details see unittest.py of the standard python distribution. |
49 </p> |
49 </p> |
50 <h3>Derived from</h3> |
50 <h3>Derived from</h3> |
51 TestResult |
51 TestResult |
52 <h3>Class Attributes</h3> |
52 <h3>Class Attributes</h3> |
53 <table> |
53 <table> |
55 </table> |
55 </table> |
56 <h3>Methods</h3> |
56 <h3>Methods</h3> |
57 <table> |
57 <table> |
58 <tr> |
58 <tr> |
59 <td><a href="#DCTestResult.__init__">DCTestResult</a></td> |
59 <td><a href="#DCTestResult.__init__">DCTestResult</a></td> |
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.addFailure">addFailure</a></td> |
65 <td><a href="#DCTestResult.addFailure">addFailure</a></td> |
66 <td>Method called if a test failed.</td> |
66 <td>Method called if a test failed.</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#DCTestResult.startTest">startTest</a></td> |
68 <td><a href="#DCTestResult.startTest">startTest</a></td> |
69 <td>Method called at the start of a test.</td> |
69 <td>Method called at the start of a test.</td> |
70 </tr><tr> |
70 </tr><tr> |
71 <td><a href="#DCTestResult.stopTest">stopTest</a></td> |
71 <td><a href="#DCTestResult.stopTest">stopTest</a></td> |
72 <td>Method called at the end of a test.</td> |
72 <td>Method called at the end of a test.</td> |
73 </tr> |
73 </tr> |
74 </table> |
74 </table> |
75 <a NAME="DCTestResult.__init__" ID="DCTestResult.__init__"></a> |
75 <a NAME="DCTestResult.__init__" ID="DCTestResult.__init__"></a> |
76 <h4>DCTestResult (Constructor)</h4> |
76 <h4>DCTestResult (Constructor)</h4> |
77 <b>DCTestResult</b>(<i>parent</i>) |
77 <b>DCTestResult</b>(<i>parent</i>) |
78 <p> |
78 <p> |
79 Constructor |
79 Constructor |
80 </p><dl> |
80 </p><dl> |
81 <dt><i>parent</i></dt> |
81 <dt><i>parent</i></dt> |
82 <dd> |
82 <dd> |
83 The parent widget. |
83 The parent widget. |
84 </dd> |
84 </dd> |
85 </dl><a NAME="DCTestResult.addError" ID="DCTestResult.addError"></a> |
85 </dl><a NAME="DCTestResult.addError" ID="DCTestResult.addError"></a> |
86 <h4>DCTestResult.addError</h4> |
86 <h4>DCTestResult.addError</h4> |
87 <b>addError</b>(<i>test, err</i>) |
87 <b>addError</b>(<i>test, err</i>) |
88 <p> |
88 <p> |
89 Method called if a test errored. |
89 Method called if a test errored. |
90 </p><dl> |
90 </p><dl> |
91 <dt><i>test</i></dt> |
91 <dt><i>test</i></dt> |
92 <dd> |
92 <dd> |
93 Reference to the test object |
93 Reference to the test object |
94 </dd><dt><i>err</i></dt> |
94 </dd><dt><i>err</i></dt> |
95 <dd> |
95 <dd> |
96 The error traceback |
96 The error traceback |
97 </dd> |
97 </dd> |
98 </dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a> |
98 </dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a> |
99 <h4>DCTestResult.addFailure</h4> |
99 <h4>DCTestResult.addFailure</h4> |
100 <b>addFailure</b>(<i>test, err</i>) |
100 <b>addFailure</b>(<i>test, err</i>) |
101 <p> |
101 <p> |
102 Method called if a test failed. |
102 Method called if a test failed. |
103 </p><dl> |
103 </p><dl> |
104 <dt><i>test</i></dt> |
104 <dt><i>test</i></dt> |
105 <dd> |
105 <dd> |
106 Reference to the test object |
106 Reference to the test object |
107 </dd><dt><i>err</i></dt> |
107 </dd><dt><i>err</i></dt> |
108 <dd> |
108 <dd> |
109 The error traceback |
109 The error traceback |
110 </dd> |
110 </dd> |
111 </dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a> |
111 </dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a> |
112 <h4>DCTestResult.startTest</h4> |
112 <h4>DCTestResult.startTest</h4> |
113 <b>startTest</b>(<i>test</i>) |
113 <b>startTest</b>(<i>test</i>) |
114 <p> |
114 <p> |
115 Method called at the start of a test. |
115 Method called at the start of a test. |
116 </p><dl> |
116 </p><dl> |
117 <dt><i>test</i></dt> |
117 <dt><i>test</i></dt> |
118 <dd> |
118 <dd> |
119 Reference to the test object |
119 Reference to the test object |
120 </dd> |
120 </dd> |
121 </dl><a NAME="DCTestResult.stopTest" ID="DCTestResult.stopTest"></a> |
121 </dl><a NAME="DCTestResult.stopTest" ID="DCTestResult.stopTest"></a> |
122 <h4>DCTestResult.stopTest</h4> |
122 <h4>DCTestResult.stopTest</h4> |
123 <b>stopTest</b>(<i>test</i>) |
123 <b>stopTest</b>(<i>test</i>) |
124 <p> |
124 <p> |
125 Method called at the end of a test. |
125 Method called at the end of a test. |
126 </p><dl> |
126 </p><dl> |
127 <dt><i>test</i></dt> |
127 <dt><i>test</i></dt> |
128 <dd> |
128 <dd> |
129 Reference to the test object |
129 Reference to the test object |
130 </dd> |
130 </dd> |
131 </dl> |
131 </dl> |
132 <div align="right"><a href="#top">Up</a></div> |
132 <div align="right"><a href="#top">Up</a></div> |
133 <hr /> |
133 <hr /> |
134 </body></html> |
134 </body></html> |