2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.page.csv_page_measurement_results
</title>
4 </head><body bgcolor=
"#f0f0f8">
6 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
8 <td valign=bottom
> <br>
9 <font color=
"#ffffff" face=
"helvetica, arial"> <br><big><big><strong><a href=
"telemetry.html"><font color=
"#ffffff">telemetry
</font></a>.
<a href=
"telemetry.page.html"><font color=
"#ffffff">page
</font></a>.csv_page_measurement_results
</strong></big></big></font></td
10 ><td align=right valign=bottom
11 ><font color=
"#ffffff" face=
"helvetica, arial"><a href=
".">index
</a><br><a href=
"../telemetry/page/csv_page_measurement_results.py">telemetry/page/csv_page_measurement_results.py
</a></font></td></tr></table>
12 <p><tt>#
Copyright
(c)
2012 The
Chromium
Authors.
All
rights
reserved.
<br>
13 #
Use
of
this
source
code
is
governed
by
a
BSD-style
license
that
can
be
<br>
14 #
found
in
the
LICENSE
file.
</tt></p>
16 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
17 <tr bgcolor=
"#aa55cc">
18 <td colspan=
3 valign=bottom
> <br>
19 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
21 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </td>
22 <td width=
"100%"><table width=
"100%" summary=
"list"><tr><td width=
"25%" valign=top
><a href=
"csv.html">csv
</a><br>
23 </td><td width=
"25%" valign=top
><a href=
"telemetry.page.page_measurement_results.html">telemetry.page.page_measurement_results
</a><br>
24 </td><td width=
"25%" valign=top
></td><td width=
"25%" valign=top
></td></tr></table></td></tr></table><p>
25 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
26 <tr bgcolor=
"#ee77aa">
27 <td colspan=
3 valign=bottom
> <br>
28 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
30 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
32 <dt><font face=
"helvetica, arial"><a href=
"telemetry.page.page_measurement_results.html#PageMeasurementResults">telemetry.page.page_measurement_results.PageMeasurementResults
</a>(
<a href=
"telemetry.page.page_test_results.html#PageTestResults">telemetry.page.page_test_results.PageTestResults
</a>)
35 <dt><font face=
"helvetica, arial"><a href=
"telemetry.page.csv_page_measurement_results.html#CsvPageMeasurementResults">CsvPageMeasurementResults
</a>
40 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
41 <tr bgcolor=
"#ffc8d8">
42 <td colspan=
3 valign=bottom
> <br>
43 <font color=
"#000000" face=
"helvetica, arial"><a name=
"CsvPageMeasurementResults">class
<strong>CsvPageMeasurementResults
</strong></a>(
<a href=
"telemetry.page.page_measurement_results.html#PageMeasurementResults">telemetry.page.page_measurement_results.PageMeasurementResults
</a>)
</font></td></tr>
45 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
46 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
47 <dd><a href=
"telemetry.page.csv_page_measurement_results.html#CsvPageMeasurementResults">CsvPageMeasurementResults
</a></dd>
48 <dd><a href=
"telemetry.page.page_measurement_results.html#PageMeasurementResults">telemetry.page.page_measurement_results.PageMeasurementResults
</a></dd>
49 <dd><a href=
"telemetry.page.page_test_results.html#PageTestResults">telemetry.page.page_test_results.PageTestResults
</a></dd>
50 <dd><a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a></dd>
51 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
54 Methods defined here:
<br>
55 <dl><dt><a name=
"CsvPageMeasurementResults-DidMeasurePage"><strong>DidMeasurePage
</strong></a>(self)
</dt></dl>
57 <dl><dt><a name=
"CsvPageMeasurementResults-PrintSummary"><strong>PrintSummary
</strong></a>(self)
</dt></dl>
59 <dl><dt><a name=
"CsvPageMeasurementResults-__init__"><strong>__init__
</strong></a>(self, output_stream, output_after_every_page)
</dt></dl>
62 Methods inherited from
<a href=
"telemetry.page.page_measurement_results.html#PageMeasurementResults">telemetry.page.page_measurement_results.PageMeasurementResults
</a>:
<br>
63 <dl><dt><a name=
"CsvPageMeasurementResults-Add"><strong>Add
</strong></a>(self, trace_name, units, value, chart_name
<font color=
"#909090">=None
</font>, data_type
<font color=
"#909090">='default'
</font>)
</dt></dl>
65 <dl><dt><a name=
"CsvPageMeasurementResults-AddSummary"><strong>AddSummary
</strong></a>(self, trace_name, units, value, chart_name
<font color=
"#909090">=None
</font>, data_type
<font color=
"#909090">='default'
</font>)
</dt></dl>
67 <dl><dt><a name=
"CsvPageMeasurementResults-WillMeasurePage"><strong>WillMeasurePage
</strong></a>(self, page)
</dt></dl>
69 <dl><dt><a name=
"CsvPageMeasurementResults-__getitem__"><strong>__getitem__
</strong></a>(self, i)
</dt><dd><tt>Shorthand
for
self.
<strong>page_results
</strong>[i]
</tt></dd></dl>
71 <dl><dt><a name=
"CsvPageMeasurementResults-__len__"><strong>__len__
</strong></a>(self)
</dt></dl>
74 Data descriptors inherited from
<a href=
"telemetry.page.page_measurement_results.html#PageMeasurementResults">telemetry.page.page_measurement_results.PageMeasurementResults
</a>:
<br>
75 <dl><dt><strong>all_measurements_that_have_been_seen
</strong></dt>
77 <dl><dt><strong>page_results
</strong></dt>
79 <dl><dt><strong>values_for_current_page
</strong></dt>
82 Methods inherited from
<a href=
"telemetry.page.page_test_results.html#PageTestResults">telemetry.page.page_test_results.PageTestResults
</a>:
<br>
83 <dl><dt><a name=
"CsvPageMeasurementResults-AddError"><strong>AddError
</strong></a>(self, page, err)
</dt></dl>
85 <dl><dt><a name=
"CsvPageMeasurementResults-AddErrorMessage"><strong>AddErrorMessage
</strong></a>(self, page, message)
</dt></dl>
87 <dl><dt><a name=
"CsvPageMeasurementResults-AddFailure"><strong>AddFailure
</strong></a>(self, page, err)
</dt></dl>
89 <dl><dt><a name=
"CsvPageMeasurementResults-AddFailureMessage"><strong>AddFailureMessage
</strong></a>(self, page, message)
</dt></dl>
91 <dl><dt><a name=
"CsvPageMeasurementResults-AddSkip"><strong>AddSkip
</strong></a>(self, page, reason)
</dt></dl>
93 <dl><dt><a name=
"CsvPageMeasurementResults-AddSuccess"><strong>AddSuccess
</strong></a>(self, page)
</dt></dl>
95 <dl><dt><a name=
"CsvPageMeasurementResults-StartTest"><strong>StartTest
</strong></a>(self, page)
</dt></dl>
97 <dl><dt><a name=
"CsvPageMeasurementResults-StopTest"><strong>StopTest
</strong></a>(self, page)
</dt></dl>
99 <dl><dt><a name=
"CsvPageMeasurementResults-addSkip"><strong>addSkip
</strong></a>(self, test, reason)
</dt></dl>
101 <dl><dt><a name=
"CsvPageMeasurementResults-addSuccess"><strong>addSuccess
</strong></a>(self, test)
</dt></dl>
104 Methods inherited from
<a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a>:
<br>
105 <dl><dt><a name=
"CsvPageMeasurementResults-__repr__"><strong>__repr__
</strong></a>(self)
</dt></dl>
107 <dl><dt><a name=
"CsvPageMeasurementResults-addError"><strong>addError
</strong></a>(self, *args, **kw)
</dt><dd><tt>Called
when
an
error
has
occurred.
'err'
is
a
tuple
of
values
as
<br>
108 returned
by
sys.exc_info().
</tt></dd></dl>
110 <dl><dt><a name=
"CsvPageMeasurementResults-addExpectedFailure"><strong>addExpectedFailure
</strong></a>(self, test, err)
</dt><dd><tt>Called
when
an
expected
failure/error
occured.
</tt></dd></dl>
112 <dl><dt><a name=
"CsvPageMeasurementResults-addFailure"><strong>addFailure
</strong></a>(self, *args, **kw)
</dt><dd><tt>Called
when
an
error
has
occurred.
'err'
is
a
tuple
of
values
as
<br>
113 returned
by
sys.exc_info().
</tt></dd></dl>
115 <dl><dt><a name=
"CsvPageMeasurementResults-addUnexpectedSuccess"><strong>addUnexpectedSuccess
</strong></a>(self, *args, **kw)
</dt><dd><tt>Called
when
a
test
was
expected
to
fail,
but
succeed.
</tt></dd></dl>
117 <dl><dt><a name=
"CsvPageMeasurementResults-printErrors"><strong>printErrors
</strong></a>(self)
</dt><dd><tt>Called
by
TestRunner
after
test
run
</tt></dd></dl>
119 <dl><dt><a name=
"CsvPageMeasurementResults-startTest"><strong>startTest
</strong></a>(self, test)
</dt><dd><tt>Called
when
the
given
test
is
about
to
be
run
</tt></dd></dl>
121 <dl><dt><a name=
"CsvPageMeasurementResults-startTestRun"><strong>startTestRun
</strong></a>(self)
</dt><dd><tt>Called
once
before
any
tests
are
executed.
<br>
123 See
startTest
for
a
method
called
before
each
test.
</tt></dd></dl>
125 <dl><dt><a name=
"CsvPageMeasurementResults-stop"><strong>stop
</strong></a>(self)
</dt><dd><tt>Indicates
that
the
tests
should
be
aborted
</tt></dd></dl>
127 <dl><dt><a name=
"CsvPageMeasurementResults-stopTest"><strong>stopTest
</strong></a>(self, test)
</dt><dd><tt>Called
when
the
given
test
has
been
run
</tt></dd></dl>
129 <dl><dt><a name=
"CsvPageMeasurementResults-stopTestRun"><strong>stopTestRun
</strong></a>(self)
</dt><dd><tt>Called
once
after
all
tests
are
executed.
<br>
131 See
stopTest
for
a
method
called
after
each
test.
</tt></dd></dl>
133 <dl><dt><a name=
"CsvPageMeasurementResults-wasSuccessful"><strong>wasSuccessful
</strong></a>(self)
</dt><dd><tt>Tells
whether
or
not
this
result
was
a
success
</tt></dd></dl>
136 Data descriptors inherited from
<a href=
"unittest.result.html#TestResult">unittest.result.TestResult
</a>:
<br>
137 <dl><dt><strong>__dict__
</strong></dt>
138 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
140 <dl><dt><strong>__weakref__
</strong></dt>
141 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
143 </td></tr></table></td></tr></table>