telemetry.testing.system_stub.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html><head><title>Python: module telemetry.testing.system_stub</title>
  3. <meta charset="utf-8">
  4. </head><body bgcolor="#f0f0f8">
  5. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
  6. <tr bgcolor="#7799ee">
  7. <td valign=bottom>&nbsp;<br>
  8. <font color="#ffffff" face="helvetica, arial">&nbsp;<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>.system_stub</strong></big></big></font></td
  9. ><td align=right valign=bottom
  10. ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/testing/system_stub.py">telemetry/testing/system_stub.py</a></font></td></tr></table>
  11. <p><tt>Provides&nbsp;stubs&nbsp;for&nbsp;os,&nbsp;sys&nbsp;and&nbsp;subprocess&nbsp;for&nbsp;testing<br>
  12. &nbsp;<br>
  13. This&nbsp;test&nbsp;allows&nbsp;one&nbsp;to&nbsp;test&nbsp;code&nbsp;that&nbsp;itself&nbsp;uses&nbsp;os,&nbsp;sys,&nbsp;and&nbsp;subprocess.</tt></p>
  14. <p>
  15. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  16. <tr bgcolor="#aa55cc">
  17. <td colspan=3 valign=bottom>&nbsp;<br>
  18. <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
  19. <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  20. <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ntpath.html">ntpath</a><br>
  21. <a href="os.html">os</a><br>
  22. </td><td width="25%" valign=top><a href="posixpath.html">posixpath</a><br>
  23. <a href="re.html">re</a><br>
  24. </td><td width="25%" valign=top><a href="shlex.html">shlex</a><br>
  25. <a href="sys.html">sys</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>&nbsp;<br>
  30. <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
  31. <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  32. <td width="100%"><dl>
  33. <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
  34. </font></dt><dd>
  35. <dl>
  36. <dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#AdbDevice">AdbDevice</a>
  37. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#AdbInstallCertStub">AdbInstallCertStub</a>
  38. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#CertUtilsStub">CertUtilsStub</a>
  39. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#CloudStorageModuleStub">CloudStorageModuleStub</a>
  40. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#LoggingStub">LoggingStub</a>
  41. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#OpenFunctionStub">OpenFunctionStub</a>
  42. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#OsModuleStub">OsModuleStub</a>
  43. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#Override">Override</a>
  44. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#PerfControlModuleStub">PerfControlModuleStub</a>
  45. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#PlatformSettingsStub">PlatformSettingsStub</a>
  46. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#RawInputFunctionStub">RawInputFunctionStub</a>
  47. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#SubprocessModuleStub">SubprocessModuleStub</a>
  48. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#SysModuleStub">SysModuleStub</a>
  49. </font></dt><dt><font face="helvetica, arial"><a href="telemetry.testing.system_stub.html#ThermalThrottleModuleStub">ThermalThrottleModuleStub</a>
  50. </font></dt></dl>
  51. </dd>
  52. </dl>
  53. <p>
  54. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  55. <tr bgcolor="#ffc8d8">
  56. <td colspan=3 valign=bottom>&nbsp;<br>
  57. <font color="#000000" face="helvetica, arial"><a name="AdbDevice">class <strong>AdbDevice</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  58. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  59. <td width="100%">Methods defined here:<br>
  60. <dl><dt><a name="AdbDevice-FileExists"><strong>FileExists</strong></a>(self, _)</dt></dl>
  61. <dl><dt><a name="AdbDevice-GetProp"><strong>GetProp</strong></a>(self, property_name)</dt></dl>
  62. <dl><dt><a name="AdbDevice-HasRoot"><strong>HasRoot</strong></a>(self)</dt></dl>
  63. <dl><dt><a name="AdbDevice-NeedsSU"><strong>NeedsSU</strong></a>(self)</dt></dl>
  64. <dl><dt><a name="AdbDevice-ReadFile"><strong>ReadFile</strong></a>(self, device_path, as_root<font color="#909090">=False</font>)</dt></dl>
  65. <dl><dt><a name="AdbDevice-RunShellCommand"><strong>RunShellCommand</strong></a>(self, args, **_kwargs)</dt></dl>
  66. <dl><dt><a name="AdbDevice-SetProp"><strong>SetProp</strong></a>(self, property_name, property_value)</dt></dl>
  67. <dl><dt><a name="AdbDevice-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  68. <hr>
  69. Data descriptors defined here:<br>
  70. <dl><dt><strong>__dict__</strong></dt>
  71. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  72. </dl>
  73. <dl><dt><strong>__weakref__</strong></dt>
  74. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  75. </dl>
  76. </td></tr></table> <p>
  77. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  78. <tr bgcolor="#ffc8d8">
  79. <td colspan=3 valign=bottom>&nbsp;<br>
  80. <font color="#000000" face="helvetica, arial"><a name="AdbInstallCertStub">class <strong>AdbInstallCertStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  81. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  82. <td width="100%">Data descriptors defined here:<br>
  83. <dl><dt><strong>__dict__</strong></dt>
  84. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  85. </dl>
  86. <dl><dt><strong>__weakref__</strong></dt>
  87. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  88. </dl>
  89. <hr>
  90. Data and other attributes defined here:<br>
  91. <dl><dt><strong>AndroidCertInstaller</strong> = &lt;class 'telemetry.testing.system_stub.AndroidCertInstaller'&gt;</dl>
  92. </td></tr></table> <p>
  93. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  94. <tr bgcolor="#ffc8d8">
  95. <td colspan=3 valign=bottom>&nbsp;<br>
  96. <font color="#000000" face="helvetica, arial"><a name="CertUtilsStub">class <strong>CertUtilsStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  97. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  98. <td width="100%">Static methods defined here:<br>
  99. <dl><dt><a name="CertUtilsStub-generate_dummy_ca_cert"><strong>generate_dummy_ca_cert</strong></a>()</dt></dl>
  100. <dl><dt><a name="CertUtilsStub-write_dummy_ca_cert"><strong>write_dummy_ca_cert</strong></a>(_ca_cert_str, _key_str, cert_path)</dt></dl>
  101. <hr>
  102. Data descriptors defined here:<br>
  103. <dl><dt><strong>__dict__</strong></dt>
  104. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  105. </dl>
  106. <dl><dt><strong>__weakref__</strong></dt>
  107. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  108. </dl>
  109. <hr>
  110. Data and other attributes defined here:<br>
  111. <dl><dt><strong>openssl_import_error</strong> = None</dl>
  112. </td></tr></table> <p>
  113. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  114. <tr bgcolor="#ffc8d8">
  115. <td colspan=3 valign=bottom>&nbsp;<br>
  116. <font color="#000000" face="helvetica, arial"><a name="CloudStorageModuleStub">class <strong>CloudStorageModuleStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  117. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  118. <td width="100%">Methods defined here:<br>
  119. <dl><dt><a name="CloudStorageModuleStub-CalculateHash"><strong>CalculateHash</strong></a>(self, file_path)</dt></dl>
  120. <dl><dt><a name="CloudStorageModuleStub-ChangeRemoteHashForTesting"><strong>ChangeRemoteHashForTesting</strong></a>(self, bucket, remote_path, new_hash)</dt></dl>
  121. <dl><dt><a name="CloudStorageModuleStub-CheckPermissionLevelForBucket"><strong>CheckPermissionLevelForBucket</strong></a>(self, bucket)</dt></dl>
  122. <dl><dt><a name="CloudStorageModuleStub-Exists"><strong>Exists</strong></a>(self, bucket, remote_path)</dt></dl>
  123. <dl><dt><a name="CloudStorageModuleStub-Get"><strong>Get</strong></a>(self, bucket, remote_path, local_path)</dt></dl>
  124. <dl><dt><a name="CloudStorageModuleStub-GetFilesInDirectoryIfChanged"><strong>GetFilesInDirectoryIfChanged</strong></a>(self, directory, bucket)</dt></dl>
  125. <dl><dt><a name="CloudStorageModuleStub-GetHelper"><strong>GetHelper</strong></a>(self, bucket, remote_path, local_path, only_if_changed)</dt></dl>
  126. <dl><dt><a name="CloudStorageModuleStub-GetIfChanged"><strong>GetIfChanged</strong></a>(self, local_path, bucket<font color="#909090">=None</font>)</dt></dl>
  127. <dl><dt><a name="CloudStorageModuleStub-GetLocalDataFiles"><strong>GetLocalDataFiles</strong></a>(self)</dt></dl>
  128. <dl><dt><a name="CloudStorageModuleStub-GetLocalHashFiles"><strong>GetLocalHashFiles</strong></a>(self)</dt></dl>
  129. <dl><dt><a name="CloudStorageModuleStub-GetRemotePathsForTesting"><strong>GetRemotePathsForTesting</strong></a>(self)</dt></dl>
  130. <dl><dt><a name="CloudStorageModuleStub-Insert"><strong>Insert</strong></a>(self, bucket, remote_path, local_path)</dt></dl>
  131. <dl><dt><a name="CloudStorageModuleStub-List"><strong>List</strong></a>(self, bucket)</dt></dl>
  132. <dl><dt><a name="CloudStorageModuleStub-ReadHash"><strong>ReadHash</strong></a>(self, hash_path)</dt></dl>
  133. <dl><dt><a name="CloudStorageModuleStub-SetCalculatedHashesForTesting"><strong>SetCalculatedHashesForTesting</strong></a>(self, calculated_hash_dictionary)</dt><dd><tt>#&nbsp;Set&nbsp;a&nbsp;dictionary&nbsp;of&nbsp;data&nbsp;files&nbsp;and&nbsp;their&nbsp;"calculated"&nbsp;hashes.</tt></dd></dl>
  134. <dl><dt><a name="CloudStorageModuleStub-SetHashFileContentsForTesting"><strong>SetHashFileContentsForTesting</strong></a>(self, hash_file_dictionary)</dt><dd><tt>#&nbsp;Set&nbsp;a&nbsp;dictionary&nbsp;of&nbsp;hash&nbsp;files&nbsp;and&nbsp;the&nbsp;hashes&nbsp;they&nbsp;should&nbsp;contain.</tt></dd></dl>
  135. <dl><dt><a name="CloudStorageModuleStub-SetPermissionLevelForTesting"><strong>SetPermissionLevelForTesting</strong></a>(self, permission_level)</dt></dl>
  136. <dl><dt><a name="CloudStorageModuleStub-SetRemotePathsForTesting"><strong>SetRemotePathsForTesting</strong></a>(self, remote_path_dict<font color="#909090">=None</font>)</dt></dl>
  137. <dl><dt><a name="CloudStorageModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  138. <hr>
  139. Data descriptors defined here:<br>
  140. <dl><dt><strong>__dict__</strong></dt>
  141. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  142. </dl>
  143. <dl><dt><strong>__weakref__</strong></dt>
  144. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  145. </dl>
  146. <hr>
  147. Data and other attributes defined here:<br>
  148. <dl><dt><strong>BUCKET_ALIASES</strong> = {'internal': 'chrome-telemetry', 'partner': 'chrome-partner-telemetry', 'public': 'chromium-telemetry'}</dl>
  149. <dl><dt><strong>CREDENTIALS_ERROR_PERMISSION</strong> = -1</dl>
  150. <dl><dt><strong>CloudStorageError</strong> = &lt;class 'telemetry.testing.system_stub.CloudStorageError'&gt;</dl>
  151. <dl><dt><strong>CredentialsError</strong> = &lt;class 'telemetry.testing.system_stub.CredentialsError'&gt;</dl>
  152. <dl><dt><strong>INTERNAL_BUCKET</strong> = 'chrome-telemetry'</dl>
  153. <dl><dt><strong>INTERNAL_PERMISSION</strong> = 2</dl>
  154. <dl><dt><strong>NotFoundError</strong> = &lt;class 'telemetry.testing.system_stub.NotFoundError'&gt;</dl>
  155. <dl><dt><strong>PARTNER_BUCKET</strong> = 'chrome-partner-telemetry'</dl>
  156. <dl><dt><strong>PARTNER_PERMISSION</strong> = 1</dl>
  157. <dl><dt><strong>PUBLIC_BUCKET</strong> = 'chromium-telemetry'</dl>
  158. <dl><dt><strong>PUBLIC_PERMISSION</strong> = 0</dl>
  159. <dl><dt><strong>PermissionError</strong> = &lt;class 'telemetry.testing.system_stub.PermissionError'&gt;</dl>
  160. </td></tr></table> <p>
  161. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  162. <tr bgcolor="#ffc8d8">
  163. <td colspan=3 valign=bottom>&nbsp;<br>
  164. <font color="#000000" face="helvetica, arial"><a name="LoggingStub">class <strong>LoggingStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  165. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  166. <td width="100%">Methods defined here:<br>
  167. <dl><dt><a name="LoggingStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  168. <dl><dt><a name="LoggingStub-error"><strong>error</strong></a>(self, msg, *args)</dt></dl>
  169. <dl><dt><a name="LoggingStub-info"><strong>info</strong></a>(self, msg, *args)</dt></dl>
  170. <dl><dt><a name="LoggingStub-warn"><strong>warn</strong></a>(self, msg, *args)</dt></dl>
  171. <dl><dt><a name="LoggingStub-warning"><strong>warning</strong></a>(self, msg, *args)</dt></dl>
  172. <hr>
  173. Data descriptors defined here:<br>
  174. <dl><dt><strong>__dict__</strong></dt>
  175. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  176. </dl>
  177. <dl><dt><strong>__weakref__</strong></dt>
  178. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  179. </dl>
  180. </td></tr></table> <p>
  181. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  182. <tr bgcolor="#ffc8d8">
  183. <td colspan=3 valign=bottom>&nbsp;<br>
  184. <font color="#000000" face="helvetica, arial"><a name="OpenFunctionStub">class <strong>OpenFunctionStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  185. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  186. <td width="100%">Methods defined here:<br>
  187. <dl><dt><a name="OpenFunctionStub-__call__"><strong>__call__</strong></a>(self, name, *args, **kwargs)</dt></dl>
  188. <dl><dt><a name="OpenFunctionStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  189. <hr>
  190. Data descriptors defined here:<br>
  191. <dl><dt><strong>__dict__</strong></dt>
  192. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  193. </dl>
  194. <dl><dt><strong>__weakref__</strong></dt>
  195. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  196. </dl>
  197. <hr>
  198. Data and other attributes defined here:<br>
  199. <dl><dt><strong>FileStub</strong> = &lt;class 'telemetry.testing.system_stub.FileStub'&gt;</dl>
  200. </td></tr></table> <p>
  201. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  202. <tr bgcolor="#ffc8d8">
  203. <td colspan=3 valign=bottom>&nbsp;<br>
  204. <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>
  205. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  206. <td width="100%">Methods defined here:<br>
  207. <dl><dt><a name="OsModuleStub-__init__"><strong>__init__</strong></a>(self, sys_module<font color="#909090">=&lt;module 'sys' (built-in)&gt;</font>)</dt></dl>
  208. <dl><dt><a name="OsModuleStub-access"><strong>access</strong></a>(self, path, _)</dt></dl>
  209. <dl><dt><a name="OsModuleStub-chdir"><strong>chdir</strong></a>(self, path)</dt></dl>
  210. <dl><dt><a name="OsModuleStub-getenv"><strong>getenv</strong></a>(self, name, value<font color="#909090">=None</font>)</dt></dl>
  211. <dl><dt><a name="OsModuleStub-walk"><strong>walk</strong></a>(self, top)</dt></dl>
  212. <hr>
  213. Data descriptors defined here:<br>
  214. <dl><dt><strong>__dict__</strong></dt>
  215. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  216. </dl>
  217. <dl><dt><strong>__weakref__</strong></dt>
  218. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  219. </dl>
  220. <hr>
  221. Data and other attributes defined here:<br>
  222. <dl><dt><strong>OsEnvironModuleStub</strong> = &lt;class 'telemetry.testing.system_stub.OsEnvironModuleStub'&gt;</dl>
  223. <dl><dt><strong>OsPathModuleStub</strong> = &lt;class 'telemetry.testing.system_stub.OsPathModuleStub'&gt;</dl>
  224. <dl><dt><strong>X_OK</strong> = 1</dl>
  225. <dl><dt><strong>pathsep</strong> = ':'</dl>
  226. <dl><dt><strong>sep</strong> = '/'</dl>
  227. </td></tr></table> <p>
  228. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  229. <tr bgcolor="#ffc8d8">
  230. <td colspan=3 valign=bottom>&nbsp;<br>
  231. <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>
  232. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  233. <td width="100%">Methods defined here:<br>
  234. <dl><dt><a name="Override-Restore"><strong>Restore</strong></a>(self)</dt></dl>
  235. <dl><dt><a name="Override-__del__"><strong>__del__</strong></a>(self)</dt></dl>
  236. <dl><dt><a name="Override-__init__"><strong>__init__</strong></a>(self, base_module, module_list)</dt></dl>
  237. <hr>
  238. Data descriptors defined here:<br>
  239. <dl><dt><strong>__dict__</strong></dt>
  240. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  241. </dl>
  242. <dl><dt><strong>__weakref__</strong></dt>
  243. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  244. </dl>
  245. </td></tr></table> <p>
  246. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  247. <tr bgcolor="#ffc8d8">
  248. <td colspan=3 valign=bottom>&nbsp;<br>
  249. <font color="#000000" face="helvetica, arial"><a name="PerfControlModuleStub">class <strong>PerfControlModuleStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  250. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  251. <td width="100%">Methods defined here:<br>
  252. <dl><dt><a name="PerfControlModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  253. <hr>
  254. Data descriptors defined here:<br>
  255. <dl><dt><strong>__dict__</strong></dt>
  256. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  257. </dl>
  258. <dl><dt><strong>__weakref__</strong></dt>
  259. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  260. </dl>
  261. <hr>
  262. Data and other attributes defined here:<br>
  263. <dl><dt><strong>PerfControlStub</strong> = &lt;class 'telemetry.testing.system_stub.PerfControlStub'&gt;</dl>
  264. </td></tr></table> <p>
  265. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  266. <tr bgcolor="#ffc8d8">
  267. <td colspan=3 valign=bottom>&nbsp;<br>
  268. <font color="#000000" face="helvetica, arial"><a name="PlatformSettingsStub">class <strong>PlatformSettingsStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  269. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  270. <td width="100%">Static methods defined here:<br>
  271. <dl><dt><a name="PlatformSettingsStub-HasSniSupport"><strong>HasSniSupport</strong></a>()</dt></dl>
  272. <hr>
  273. Data descriptors defined here:<br>
  274. <dl><dt><strong>__dict__</strong></dt>
  275. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  276. </dl>
  277. <dl><dt><strong>__weakref__</strong></dt>
  278. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  279. </dl>
  280. </td></tr></table> <p>
  281. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  282. <tr bgcolor="#ffc8d8">
  283. <td colspan=3 valign=bottom>&nbsp;<br>
  284. <font color="#000000" face="helvetica, arial"><a name="RawInputFunctionStub">class <strong>RawInputFunctionStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  285. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  286. <td width="100%">Methods defined here:<br>
  287. <dl><dt><a name="RawInputFunctionStub-__call__"><strong>__call__</strong></a>(self, name, *args, **kwargs)</dt></dl>
  288. <dl><dt><a name="RawInputFunctionStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  289. <hr>
  290. Data descriptors defined here:<br>
  291. <dl><dt><strong>__dict__</strong></dt>
  292. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  293. </dl>
  294. <dl><dt><strong>__weakref__</strong></dt>
  295. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  296. </dl>
  297. </td></tr></table> <p>
  298. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  299. <tr bgcolor="#ffc8d8">
  300. <td colspan=3 valign=bottom>&nbsp;<br>
  301. <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>
  302. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  303. <td width="100%">Methods defined here:<br>
  304. <dl><dt><a name="SubprocessModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  305. <dl><dt><a name="SubprocessModuleStub-call"><strong>call</strong></a>(self, *args, **kwargs)</dt></dl>
  306. <hr>
  307. Data descriptors defined here:<br>
  308. <dl><dt><strong>__dict__</strong></dt>
  309. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  310. </dl>
  311. <dl><dt><strong>__weakref__</strong></dt>
  312. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  313. </dl>
  314. <hr>
  315. Data and other attributes defined here:<br>
  316. <dl><dt><strong>PopenStub</strong> = &lt;class 'telemetry.testing.system_stub.PopenStub'&gt;</dl>
  317. </td></tr></table> <p>
  318. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  319. <tr bgcolor="#ffc8d8">
  320. <td colspan=3 valign=bottom>&nbsp;<br>
  321. <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>
  322. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  323. <td width="100%">Methods defined here:<br>
  324. <dl><dt><a name="SysModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  325. <hr>
  326. Data descriptors defined here:<br>
  327. <dl><dt><strong>__dict__</strong></dt>
  328. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  329. </dl>
  330. <dl><dt><strong>__weakref__</strong></dt>
  331. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  332. </dl>
  333. </td></tr></table> <p>
  334. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  335. <tr bgcolor="#ffc8d8">
  336. <td colspan=3 valign=bottom>&nbsp;<br>
  337. <font color="#000000" face="helvetica, arial"><a name="ThermalThrottleModuleStub">class <strong>ThermalThrottleModuleStub</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
  338. <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  339. <td width="100%">Methods defined here:<br>
  340. <dl><dt><a name="ThermalThrottleModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl>
  341. <hr>
  342. Data descriptors defined here:<br>
  343. <dl><dt><strong>__dict__</strong></dt>
  344. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  345. </dl>
  346. <dl><dt><strong>__weakref__</strong></dt>
  347. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  348. </dl>
  349. <hr>
  350. Data and other attributes defined here:<br>
  351. <dl><dt><strong>ThermalThrottleStub</strong> = &lt;class 'telemetry.testing.system_stub.ThermalThrottleStub'&gt;</dl>
  352. </td></tr></table></td></tr></table>
  353. </body></html>