| OLD | NEW |
| (Empty) | |
| 1 |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 <html><head><title>Python: module telemetry.unittest.gtest_testrunner</title> |
| 4 </head><body bgcolor="#f0f0f8"> |
| 5 |
| 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 7 <tr bgcolor="#7799ee"> |
| 8 <td valign=bottom> <br> |
| 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.unittest.html"><font color="#ffffff">unittest</font></a>.gtest_testrunner</stro
ng></big></big></font></td |
| 10 ><td align=right valign=bottom |
| 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"file:/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/unittest/gtest_tes
trunner.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/unittest/gte
st_testrunner.py</a></font></td></tr></table> |
| 12 <p><tt>Implements a unittest TestRunner with GTest&
nbsp;output.<br> |
| 13 <br> |
| 14 This output is ported from gtest.cc's PrettyUnitTe
stResultPrinter, but<br> |
| 15 designed to be a drop-in replacement for unit
test's TextTestRunner.</tt></p> |
| 16 <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> |
| 21 |
| 22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.page.gtest_test_results.html">telemetry.page.gtest_test_re
sults</a><br> |
| 24 </td><td width="25%" valign=top><a href="time.html">time</a><br> |
| 25 </td><td width="25%" valign=top><a href="unittest.html">unittest</a><br> |
| 26 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
| 27 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 28 <tr bgcolor="#ee77aa"> |
| 29 <td colspan=3 valign=bottom> <br> |
| 30 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 31 |
| 32 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 33 <td width="100%"><dl> |
| 34 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| 35 </font></dt><dd> |
| 36 <dl> |
| 37 <dt><font face="helvetica, arial"><a href="telemetry.unittest.gtest_testrunner.h
tml#GTestTestRunner">GTestTestRunner</a> |
| 38 </font></dt></dl> |
| 39 </dd> |
| 40 <dt><font face="helvetica, arial"><a href="unittest.suite.html#TestSuite">unitte
st.suite.TestSuite</a>(<a href="unittest.suite.html#BaseTestSuite">unittest.suit
e.BaseTestSuite</a>) |
| 41 </font></dt><dd> |
| 42 <dl> |
| 43 <dt><font face="helvetica, arial"><a href="telemetry.unittest.gtest_testrunner.h
tml#GTestTestSuite">GTestTestSuite</a> |
| 44 </font></dt></dl> |
| 45 </dd> |
| 46 </dl> |
| 47 <p> |
| 48 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 49 <tr bgcolor="#ffc8d8"> |
| 50 <td colspan=3 valign=bottom> <br> |
| 51 <font color="#000000" face="helvetica, arial"><a name="GTestTestRunner">class <s
trong>GTestTestRunner</strong></a>(<a href="__builtin__.html#object">__builtin__
.object</a>)</font></td></tr> |
| 52 |
| 53 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 54 <td width="100%">Methods defined here:<br> |
| 55 <dl><dt><a name="GTestTestRunner-__init__"><strong>__init__</strong></a>(self, p
rint_result_after_run<font color="#909090">=True</font>, runner<font color="#909
090">=None</font>)</dt></dl> |
| 56 |
| 57 <dl><dt><a name="GTestTestRunner-run"><strong>run</strong></a>(self, test)</dt><
dd><tt>Run the given test case or test suite.
</tt></dd></dl> |
| 58 |
| 59 <hr> |
| 60 Data descriptors defined here:<br> |
| 61 <dl><dt><strong>__dict__</strong></dt> |
| 62 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 63 </dl> |
| 64 <dl><dt><strong>__weakref__</strong></dt> |
| 65 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 66 </dl> |
| 67 </td></tr></table> <p> |
| 68 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 69 <tr bgcolor="#ffc8d8"> |
| 70 <td colspan=3 valign=bottom> <br> |
| 71 <font color="#000000" face="helvetica, arial"><a name="GTestTestSuite">class <st
rong>GTestTestSuite</strong></a>(<a href="unittest.suite.html#TestSuite">unittes
t.suite.TestSuite</a>)</font></td></tr> |
| 72 |
| 73 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 74 <td width="100%"><dl><dt>Method resolution order:</dt> |
| 75 <dd><a href="telemetry.unittest.gtest_testrunner.html#GTestTestSuite">GTestTestS
uite</a></dd> |
| 76 <dd><a href="unittest.suite.html#TestSuite">unittest.suite.TestSuite</a></dd> |
| 77 <dd><a href="unittest.suite.html#BaseTestSuite">unittest.suite.BaseTestSuite</a>
</dd> |
| 78 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 79 </dl> |
| 80 <hr> |
| 81 Methods defined here:<br> |
| 82 <dl><dt><a name="GTestTestSuite-__call__"><strong>__call__</strong></a>(self, *a
rgs, **kwargs)</dt></dl> |
| 83 |
| 84 <hr> |
| 85 Methods inherited from <a href="unittest.suite.html#TestSuite">unittest.suite.Te
stSuite</a>:<br> |
| 86 <dl><dt><a name="GTestTestSuite-debug"><strong>debug</strong></a>(self)</dt><dd>
<tt>Run the tests without collecting errors in&nbs
p;a TestResult</tt></dd></dl> |
| 87 |
| 88 <dl><dt><a name="GTestTestSuite-run"><strong>run</strong></a>(self, result, debu
g<font color="#909090">=False</font>)</dt></dl> |
| 89 |
| 90 <hr> |
| 91 Methods inherited from <a href="unittest.suite.html#BaseTestSuite">unittest.suit
e.BaseTestSuite</a>:<br> |
| 92 <dl><dt><a name="GTestTestSuite-__eq__"><strong>__eq__</strong></a>(self, other)
</dt></dl> |
| 93 |
| 94 <dl><dt><a name="GTestTestSuite-__init__"><strong>__init__</strong></a>(self, te
sts<font color="#909090">=()</font>)</dt></dl> |
| 95 |
| 96 <dl><dt><a name="GTestTestSuite-__iter__"><strong>__iter__</strong></a>(self)</d
t></dl> |
| 97 |
| 98 <dl><dt><a name="GTestTestSuite-__ne__"><strong>__ne__</strong></a>(self, other)
</dt></dl> |
| 99 |
| 100 <dl><dt><a name="GTestTestSuite-__repr__"><strong>__repr__</strong></a>(self)</d
t></dl> |
| 101 |
| 102 <dl><dt><a name="GTestTestSuite-addTest"><strong>addTest</strong></a>(self, test
)</dt></dl> |
| 103 |
| 104 <dl><dt><a name="GTestTestSuite-addTests"><strong>addTests</strong></a>(self, te
sts)</dt></dl> |
| 105 |
| 106 <dl><dt><a name="GTestTestSuite-countTestCases"><strong>countTestCases</strong><
/a>(self)</dt></dl> |
| 107 |
| 108 <hr> |
| 109 Data descriptors inherited from <a href="unittest.suite.html#BaseTestSuite">unit
test.suite.BaseTestSuite</a>:<br> |
| 110 <dl><dt><strong>__dict__</strong></dt> |
| 111 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 112 </dl> |
| 113 <dl><dt><strong>__weakref__</strong></dt> |
| 114 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 115 </dl> |
| 116 <hr> |
| 117 Data and other attributes inherited from <a href="unittest.suite.html#BaseTestSu
ite">unittest.suite.BaseTestSuite</a>:<br> |
| 118 <dl><dt><strong>__hash__</strong> = None</dl> |
| 119 |
| 120 </td></tr></table></td></tr></table> |
| 121 </body></html> |
| OLD | NEW |