| Index: tools/telemetry/docs/telemetry.unittest.system_stub.html
|
| diff --git a/tools/telemetry/docs/telemetry.unittest.system_stub.html b/tools/telemetry/docs/telemetry.unittest.system_stub.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cd380c7a841b6e3a47e7077936d35bd9af316458
|
| --- /dev/null
|
| +++ b/tools/telemetry/docs/telemetry.unittest.system_stub.html
|
| @@ -0,0 +1,164 @@
|
| +
|
| +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| +<html><head><title>Python: module telemetry.unittest.system_stub</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>.system_stub</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/system_stub.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/unittest/system_stub.py</a></font></td></tr></table>
|
| + <p><tt>Provides stubs for os, sys and subprocess for testing<br>
|
| + <br>
|
| +This test allows one to test code that itself uses os, sys, and subprocess.</tt></p>
|
| +<p>
|
| +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
| +<tr bgcolor="#aa55cc">
|
| +<td colspan=3 valign=bottom> <br>
|
| +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
| +
|
| +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
| +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
|
| +</td><td width="25%" valign=top><a href="re.html">re</a><br>
|
| +</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
|
| +</td><td width="25%" valign=top><a href="shlex.html">shlex</a><br>
|
| +</td></tr></table></td></tr></table><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.system_stub.html#AdbCommandsModuleStub">AdbCommandsModuleStub</a>
|
| +</font></dt><dt><font face="helvetica, arial"><a href="telemetry.unittest.system_stub.html#OsModuleStub">OsModuleStub</a>
|
| +</font></dt><dt><font face="helvetica, arial"><a href="telemetry.unittest.system_stub.html#Override">Override</a>
|
| +</font></dt><dt><font face="helvetica, arial"><a href="telemetry.unittest.system_stub.html#SubprocessModuleStub">SubprocessModuleStub</a>
|
| +</font></dt><dt><font face="helvetica, arial"><a href="telemetry.unittest.system_stub.html#SysModuleStub">SysModuleStub</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="AdbCommandsModuleStub">class <strong>AdbCommandsModuleStub</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="AdbCommandsModuleStub-GetAttachedDevices"><strong>GetAttachedDevices</strong></a>(self)</dt></dl>
|
| +
|
| +<dl><dt><a name="AdbCommandsModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
| +
|
| +<hr>
|
| +Static methods defined here:<br>
|
| +<dl><dt><a name="AdbCommandsModuleStub-HasForwarder"><strong>HasForwarder</strong></a>(_<font color="#909090">=None</font>)</dt></dl>
|
| +
|
| +<dl><dt><a name="AdbCommandsModuleStub-IsAndroidSupported"><strong>IsAndroidSupported</strong></a>()</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>
|
| +<hr>
|
| +Data and other attributes defined here:<br>
|
| +<dl><dt><strong>AdbCommandsStub</strong> = <class 'telemetry.unittest.system_stub.AdbCommandsStub'></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="OsModuleStub">class <strong>OsModuleStub</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="OsModuleStub-__init__"><strong>__init__</strong></a>(self, sys_module<font color="#909090">=<module 'sys' (built-in)></font>)</dt></dl>
|
| +
|
| +<dl><dt><a name="OsModuleStub-getenv"><strong>getenv</strong></a>(self, name)</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>
|
| +<hr>
|
| +Data and other attributes defined here:<br>
|
| +<dl><dt><strong>OsPathModuleStub</strong> = <class 'telemetry.unittest.system_stub.OsPathModuleStub'></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="Override">class <strong>Override</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="Override-Restore"><strong>Restore</strong></a>(self)</dt></dl>
|
| +
|
| +<dl><dt><a name="Override-__del__"><strong>__del__</strong></a>(self)</dt></dl>
|
| +
|
| +<dl><dt><a name="Override-__init__"><strong>__init__</strong></a>(self, base_module, module_list)</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="SubprocessModuleStub">class <strong>SubprocessModuleStub</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="SubprocessModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
| +
|
| +<dl><dt><a name="SubprocessModuleStub-call"><strong>call</strong></a>(self, *args, **kwargs)</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>
|
| +<hr>
|
| +Data and other attributes defined here:<br>
|
| +<dl><dt><strong>PopenStub</strong> = <class 'telemetry.unittest.system_stub.PopenStub'></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="SysModuleStub">class <strong>SysModuleStub</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="SysModuleStub-__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>
|
| +</body></html>
|
|
|