| Index: tools/telemetry/docs/telemetry.unittest.simple_mock.html
|
| diff --git a/tools/telemetry/docs/telemetry.unittest.simple_mock.html b/tools/telemetry/docs/telemetry.unittest.simple_mock.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..662e66882e9ea41c69d830903b3c3e2b98616c71
|
| --- /dev/null
|
| +++ b/tools/telemetry/docs/telemetry.unittest.simple_mock.html
|
| @@ -0,0 +1,106 @@
|
| +
|
| +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| +<html><head><title>Python: module telemetry.unittest.simple_mock</title>
|
| +</head><body bgcolor="#f0f0f8">
|
| +
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
| +<tr bgcolor="#7799ee">
|
| +<td valign=bottom> <br>
|
| +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.unittest.html"><font color="#ffffff">unittest</font></a>.simple_mock</strong></big></big></font></td
|
| +><td align=right valign=bottom
|
| +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/unittest/simple_mock.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/unittest/simple_mock.py</a></font></td></tr></table>
|
| + <p><tt>A very very simple mock <a href="__builtin__.html#object">object</a> harness.</tt></p>
|
| +<p>
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| +<tr bgcolor="#ee77aa">
|
| +<td colspan=3 valign=bottom> <br>
|
| +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
| +
|
| +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
| +<td width="100%"><dl>
|
| +<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
|
| +</font></dt><dd>
|
| +<dl>
|
| +<dt><font face="helvetica, arial"><a href="telemetry.unittest.simple_mock.html#MockFunctionCall">MockFunctionCall</a>
|
| +</font></dt><dt><font face="helvetica, arial"><a href="telemetry.unittest.simple_mock.html#MockObject">MockObject</a>
|
| +</font></dt><dt><font face="helvetica, arial"><a href="telemetry.unittest.simple_mock.html#MockTrace">MockTrace</a>
|
| +</font></dt></dl>
|
| +</dd>
|
| +</dl>
|
| + <p>
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| +<tr bgcolor="#ffc8d8">
|
| +<td colspan=3 valign=bottom> <br>
|
| +<font color="#000000" face="helvetica, arial"><a name="MockFunctionCall">class <strong>MockFunctionCall</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
| +
|
| +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
| +<td width="100%">Methods defined here:<br>
|
| +<dl><dt><a name="MockFunctionCall-VerifyEquals"><strong>VerifyEquals</strong></a>(self, got)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockFunctionCall-WhenCalled"><strong>WhenCalled</strong></a>(self, handler)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockFunctionCall-WillReturn"><strong>WillReturn</strong></a>(self, value)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockFunctionCall-WithArgs"><strong>WithArgs</strong></a>(self, *args)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockFunctionCall-__init__"><strong>__init__</strong></a>(self, name)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockFunctionCall-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
|
| +
|
| +<hr>
|
| +Data descriptors defined here:<br>
|
| +<dl><dt><strong>__dict__</strong></dt>
|
| +<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
| +</dl>
|
| +<dl><dt><strong>__weakref__</strong></dt>
|
| +<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
| +</dl>
|
| +</td></tr></table> <p>
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| +<tr bgcolor="#ffc8d8">
|
| +<td colspan=3 valign=bottom> <br>
|
| +<font color="#000000" face="helvetica, arial"><a name="MockObject">class <strong>MockObject</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
| +
|
| +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
| +<td width="100%">Methods defined here:<br>
|
| +<dl><dt><a name="MockObject-ExpectCall"><strong>ExpectCall</strong></a>(self, func_name, *args)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockObject-__init__"><strong>__init__</strong></a>(self, parent_mock<font color="#909090">=None</font>)</dt></dl>
|
| +
|
| +<dl><dt><a name="MockObject-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt></dl>
|
| +
|
| +<hr>
|
| +Data descriptors defined here:<br>
|
| +<dl><dt><strong>__dict__</strong></dt>
|
| +<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
| +</dl>
|
| +<dl><dt><strong>__weakref__</strong></dt>
|
| +<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
| +</dl>
|
| +</td></tr></table> <p>
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| +<tr bgcolor="#ffc8d8">
|
| +<td colspan=3 valign=bottom> <br>
|
| +<font color="#000000" face="helvetica, arial"><a name="MockTrace">class <strong>MockTrace</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
| +
|
| +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
| +<td width="100%">Methods defined here:<br>
|
| +<dl><dt><a name="MockTrace-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
| +
|
| +<hr>
|
| +Data descriptors defined here:<br>
|
| +<dl><dt><strong>__dict__</strong></dt>
|
| +<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
| +</dl>
|
| +<dl><dt><strong>__weakref__</strong></dt>
|
| +<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
| +</dl>
|
| +</td></tr></table></td></tr></table><p>
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| +<tr bgcolor="#55aa55">
|
| +<td colspan=3 valign=bottom> <br>
|
| +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
| +
|
| +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
| +<td width="100%"><strong>DONT_CARE</strong> = ''</td></tr></table>
|
| +</body></html>
|
|
|