2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.testing.progress_reporter
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
9 <td valign=bottom
> <br>
10 <font color=
"#ffffff" face=
"helvetica, arial"> <br><big><big><strong><a href=
"telemetry.html"><font color=
"#ffffff">telemetry
</font></a>.
<a href=
"telemetry.testing.html"><font color=
"#ffffff">testing
</font></a>.progress_reporter
</strong></big></big></font></td
11 ><td align=right valign=bottom
12 ><font color=
"#ffffff" face=
"helvetica, arial"><a href=
".">index
</a><br><a href=
"../telemetry/testing/progress_reporter.py">telemetry/testing/progress_reporter.py
</a></font></td></tr></table>
13 <p><tt>#
Copyright
2014 The
Chromium
Authors.
All
rights
reserved.
<br>
14 #
Use
of
this
source
code
is
governed
by
a
BSD-style
license
that
can
be
<br>
15 #
found
in
the
LICENSE
file.
</tt></p>
17 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
18 <tr bgcolor=
"#aa55cc">
19 <td colspan=
3 valign=bottom
> <br>
20 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
22 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </td>
23 <td width=
"100%"><table width=
"100%" summary=
"list"><tr><td width=
"25%" valign=top
><a href=
"telemetry.testing.options_for_unittests.html">telemetry.testing.options_for_unittests
</a><br>
24 </td><td width=
"25%" valign=top
><a href=
"telemetry.internal.util.path.html">telemetry.internal.util.path
</a><br>
25 </td><td width=
"25%" valign=top
><a href=
"sys.html">sys
</a><br>
26 </td><td width=
"25%" valign=top
><a href=
"unittest.html">unittest
</a><br>
27 </td></tr></table></td></tr></table><p>
28 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
29 <tr bgcolor=
"#ee77aa">
30 <td colspan=
3 valign=bottom
> <br>
31 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
33 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
35 <dt><font face=
"helvetica, arial"><a href=
"__builtin__.html#object">__builtin__.object
</a>
38 <dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.progress_reporter.html#ProgressReporter">ProgressReporter
</a>
39 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.progress_reporter.html#TestRunner">TestRunner
</a>
42 <dt><font face=
"helvetica, arial"><a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
45 <dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.progress_reporter.html#TestResult">TestResult
</a>
48 <dt><font face=
"helvetica, arial"><a href=
"unittest.suite.html#TestSuite">unittest.suite.TestSuite
</a>(
<a href=
"unittest.suite.html#BaseTestSuite">unittest.suite.BaseTestSuite
</a>)
51 <dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.progress_reporter.html#TestSuite">TestSuite
</a>
56 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
57 <tr bgcolor=
"#ffc8d8">
58 <td colspan=
3 valign=bottom
> <br>
59 <font color=
"#000000" face=
"helvetica, arial"><a name=
"ProgressReporter">class
<strong>ProgressReporter
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
61 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
62 <td width=
"100%">Methods defined here:
<br>
63 <dl><dt><a name=
"ProgressReporter-Error"><strong>Error
</strong></a>(self, test, err)
</dt></dl>
65 <dl><dt><a name=
"ProgressReporter-Failure"><strong>Failure
</strong></a>(self, test, err)
</dt></dl>
67 <dl><dt><a name=
"ProgressReporter-Skip"><strong>Skip
</strong></a>(self, test, reason)
</dt></dl>
69 <dl><dt><a name=
"ProgressReporter-StartTest"><strong>StartTest
</strong></a>(self, test)
</dt></dl>
71 <dl><dt><a name=
"ProgressReporter-StartTestRun"><strong>StartTestRun
</strong></a>(self)
</dt></dl>
73 <dl><dt><a name=
"ProgressReporter-StartTestSuite"><strong>StartTestSuite
</strong></a>(self, suite)
</dt></dl>
75 <dl><dt><a name=
"ProgressReporter-StopTest"><strong>StopTest
</strong></a>(self, test)
</dt></dl>
77 <dl><dt><a name=
"ProgressReporter-StopTestRun"><strong>StopTestRun
</strong></a>(self, result)
</dt></dl>
79 <dl><dt><a name=
"ProgressReporter-StopTestSuite"><strong>StopTestSuite
</strong></a>(self, suite)
</dt></dl>
81 <dl><dt><a name=
"ProgressReporter-Success"><strong>Success
</strong></a>(self, test)
</dt></dl>
83 <dl><dt><a name=
"ProgressReporter-__init__"><strong>__init__
</strong></a>(self, output_stream)
</dt></dl>
86 Data descriptors defined here:
<br>
87 <dl><dt><strong>__dict__
</strong></dt>
88 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
90 <dl><dt><strong>__weakref__
</strong></dt>
91 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
93 </td></tr></table> <p>
94 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
95 <tr bgcolor=
"#ffc8d8">
96 <td colspan=
3 valign=bottom
> <br>
97 <font color=
"#000000" face=
"helvetica, arial"><a name=
"TestResult">class
<strong>TestResult
</strong></a>(
<a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a>)
</font></td></tr>
99 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
100 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
101 <dd><a href=
"telemetry.testing.progress_reporter.html#TestResult">TestResult
</a></dd>
102 <dd><a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a></dd>
103 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
106 Methods defined here:
<br>
107 <dl><dt><a name=
"TestResult-__init__"><strong>__init__
</strong></a>(self, progress_reporters)
</dt></dl>
109 <dl><dt><a name=
"TestResult-addError"><strong>addError
</strong></a>(self, test, err)
</dt></dl>
111 <dl><dt><a name=
"TestResult-addFailure"><strong>addFailure
</strong></a>(self, test, err)
</dt></dl>
113 <dl><dt><a name=
"TestResult-addSkip"><strong>addSkip
</strong></a>(self, test, reason)
</dt></dl>
115 <dl><dt><a name=
"TestResult-addSuccess"><strong>addSuccess
</strong></a>(self, test)
</dt></dl>
117 <dl><dt><a name=
"TestResult-startTest"><strong>startTest
</strong></a>(self, test)
</dt></dl>
119 <dl><dt><a name=
"TestResult-startTestRun"><strong>startTestRun
</strong></a>(self)
</dt></dl>
121 <dl><dt><a name=
"TestResult-startTestSuite"><strong>startTestSuite
</strong></a>(self, suite)
</dt></dl>
123 <dl><dt><a name=
"TestResult-stopTest"><strong>stopTest
</strong></a>(self, test)
</dt></dl>
125 <dl><dt><a name=
"TestResult-stopTestRun"><strong>stopTestRun
</strong></a>(self)
</dt></dl>
127 <dl><dt><a name=
"TestResult-stopTestSuite"><strong>stopTestSuite
</strong></a>(self, suite)
</dt></dl>
130 Data descriptors defined here:
<br>
131 <dl><dt><strong>failures_and_errors
</strong></dt>
134 Methods inherited from
<a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a>:
<br>
135 <dl><dt><a name=
"TestResult-__repr__"><strong>__repr__
</strong></a>(self)
</dt></dl>
137 <dl><dt><a name=
"TestResult-addExpectedFailure"><strong>addExpectedFailure
</strong></a>(self, test, err)
</dt><dd><tt>Called
when
an
expected
failure/error
occured.
</tt></dd></dl>
139 <dl><dt><a name=
"TestResult-addUnexpectedSuccess"><strong>addUnexpectedSuccess
</strong></a>(self, *args, **kw)
</dt><dd><tt>Called
when
a
test
was
expected
to
fail,
but
succeed.
</tt></dd></dl>
141 <dl><dt><a name=
"TestResult-printErrors"><strong>printErrors
</strong></a>(self)
</dt><dd><tt>Called
by
<a href=
"#TestRunner">TestRunner
</a> after
test
run
</tt></dd></dl>
143 <dl><dt><a name=
"TestResult-stop"><strong>stop
</strong></a>(self)
</dt><dd><tt>Indicates
that
the
tests
should
be
aborted
</tt></dd></dl>
145 <dl><dt><a name=
"TestResult-wasSuccessful"><strong>wasSuccessful
</strong></a>(self)
</dt><dd><tt>Tells
whether
or
not
this
result
was
a
success
</tt></dd></dl>
148 Data descriptors inherited from
<a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a>:
<br>
149 <dl><dt><strong>__dict__
</strong></dt>
150 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
152 <dl><dt><strong>__weakref__
</strong></dt>
153 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
155 </td></tr></table> <p>
156 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
157 <tr bgcolor=
"#ffc8d8">
158 <td colspan=
3 valign=bottom
> <br>
159 <font color=
"#000000" face=
"helvetica, arial"><a name=
"TestRunner">class
<strong>TestRunner
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
161 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
162 <td width=
"100%">Methods defined here:
<br>
163 <dl><dt><a name=
"TestRunner-run"><strong>run
</strong></a>(self, test, progress_reporters, repeat_count, args)
</dt></dl>
166 Data descriptors defined here:
<br>
167 <dl><dt><strong>__dict__
</strong></dt>
168 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
170 <dl><dt><strong>__weakref__
</strong></dt>
171 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
173 </td></tr></table> <p>
174 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
175 <tr bgcolor=
"#ffc8d8">
176 <td colspan=
3 valign=bottom
> <br>
177 <font color=
"#000000" face=
"helvetica, arial"><a name=
"TestSuite">class
<strong>TestSuite
</strong></a>(
<a href=
"unittest.suite.html#TestSuite">unittest.suite.TestSuite
</a>)
</font></td></tr>
179 <tr bgcolor=
"#ffc8d8"><td rowspan=
2><tt> </tt></td>
180 <td colspan=
2><tt><a href=
"#TestSuite">TestSuite
</a> that
can
delegate
start
and
stop
calls
to
a
<a href=
"#TestResult">TestResult
</a> <a href=
"__builtin__.html#object">object
</a>.
<br> </tt></td></tr>
182 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
183 <dd><a href=
"telemetry.testing.progress_reporter.html#TestSuite">TestSuite
</a></dd>
184 <dd><a href=
"unittest.suite.html#TestSuite">unittest.suite.TestSuite
</a></dd>
185 <dd><a href=
"unittest.suite.html#BaseTestSuite">unittest.suite.BaseTestSuite
</a></dd>
186 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
189 Methods defined here:
<br>
190 <dl><dt><a name=
"TestSuite-run"><strong>run
</strong></a>(self, result)
</dt></dl>
193 Methods inherited from
<a href=
"unittest.suite.html#TestSuite">unittest.suite.TestSuite
</a>:
<br>
194 <dl><dt><a name=
"TestSuite-debug"><strong>debug
</strong></a>(self)
</dt><dd><tt>Run
the
tests
without
collecting
errors
in
a
<a href=
"#TestResult">TestResult
</a></tt></dd></dl>
197 Methods inherited from
<a href=
"unittest.suite.html#BaseTestSuite">unittest.suite.BaseTestSuite
</a>:
<br>
198 <dl><dt><a name=
"TestSuite-__call__"><strong>__call__
</strong></a>(self, *args, **kwds)
</dt></dl>
200 <dl><dt><a name=
"TestSuite-__eq__"><strong>__eq__
</strong></a>(self, other)
</dt></dl>
202 <dl><dt><a name=
"TestSuite-__init__"><strong>__init__
</strong></a>(self, tests
<font color=
"#909090">=()
</font>)
</dt></dl>
204 <dl><dt><a name=
"TestSuite-__iter__"><strong>__iter__
</strong></a>(self)
</dt></dl>
206 <dl><dt><a name=
"TestSuite-__ne__"><strong>__ne__
</strong></a>(self, other)
</dt></dl>
208 <dl><dt><a name=
"TestSuite-__repr__"><strong>__repr__
</strong></a>(self)
</dt></dl>
210 <dl><dt><a name=
"TestSuite-addTest"><strong>addTest
</strong></a>(self, test)
</dt></dl>
212 <dl><dt><a name=
"TestSuite-addTests"><strong>addTests
</strong></a>(self, tests)
</dt></dl>
214 <dl><dt><a name=
"TestSuite-countTestCases"><strong>countTestCases
</strong></a>(self)
</dt></dl>
217 Data descriptors inherited from
<a href=
"unittest.suite.html#BaseTestSuite">unittest.suite.BaseTestSuite
</a>:
<br>
218 <dl><dt><strong>__dict__
</strong></dt>
219 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
221 <dl><dt><strong>__weakref__
</strong></dt>
222 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
225 Data and other attributes inherited from
<a href=
"unittest.suite.html#BaseTestSuite">unittest.suite.BaseTestSuite
</a>:
<br>
226 <dl><dt><strong>__hash__
</strong> = None
</dl>
228 </td></tr></table></td></tr></table>