1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.testing.run_tests</title> 4 <meta charset="utf-8"> 5 </head><body bgcolor="#f0f0f8"> 6 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8 <tr bgcolor="#7799ee"> 9 <td valign=bottom> <br> 10 <font color="#ffffff" face="helvetica, arial"> <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>.run_tests</strong></big></big></font></td 11 ><td align=right valign=bottom 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/testing/run_tests.py">telemetry/testing/run_tests.py</a></font></td></tr></table> 13 <p><tt># Copyright 2012 The Chromium Authors. All rights reserved.<br> 14 # Use of this source code is governed by a BSD-style license that can be<br> 15 # found in the LICENSE file.</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=top><a href="telemetry.internal.util.binary_manager.html">telemetry.internal.util.binary_manager</a><br> 24 <a href="telemetry.internal.browser.browser_finder.html">telemetry.internal.browser.browser_finder</a><br> 25 <a href="telemetry.internal.browser.browser_finder_exceptions.html">telemetry.internal.browser.browser_finder_exceptions</a><br> 26 <a href="telemetry.internal.browser.browser_options.html">telemetry.internal.browser.browser_options</a><br> 27 </td><td width="25%" valign=top><a href="telemetry.testing.browser_test_case.html">telemetry.testing.browser_test_case</a><br> 28 <a href="telemetry.internal.util.command_line.html">telemetry.internal.util.command_line</a><br> 29 <a href="telemetry.decorators.html">telemetry.decorators</a><br> 30 <a href="telemetry.internal.platform.device_finder.html">telemetry.internal.platform.device_finder</a><br> 31 </td><td width="25%" valign=top><a href="logging.html">logging</a><br> 32 <a href="telemetry.testing.options_for_unittests.html">telemetry.testing.options_for_unittests</a><br> 33 <a href="telemetry.core.platform.html">telemetry.core.platform</a><br> 34 <a href="telemetry.internal.util.ps_util.html">telemetry.internal.util.ps_util</a><br> 35 </td><td width="25%" valign=top><a href="sys.html">sys</a><br> 36 <a href="typ.html">typ</a><br> 37 <a href="telemetry.core.util.html">telemetry.core.util</a><br> 38 </td></tr></table></td></tr></table><p> 39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 40 <tr bgcolor="#ee77aa"> 41 <td colspan=3 valign=bottom> <br> 42 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 43 44 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 45 <td width="100%"><dl> 46 <dt><font face="helvetica, arial"><a href="telemetry.internal.util.command_line.html#OptparseCommand">telemetry.internal.util.command_line.OptparseCommand</a>(<a href="telemetry.internal.util.command_line.html#Command">telemetry.internal.util.command_line.Command</a>) 47 </font></dt><dd> 48 <dl> 49 <dt><font face="helvetica, arial"><a href="telemetry.testing.run_tests.html#RunTestsCommand">RunTestsCommand</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> <br> 57 <font color="#000000" face="helvetica, arial"><a name="RunTestsCommand">class <strong>RunTestsCommand</strong></a>(<a href="telemetry.internal.util.command_line.html#OptparseCommand">telemetry.internal.util.command_line.OptparseCommand</a>)</font></td></tr> 58 59 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 60 <td colspan=2><tt>Run unit tests<br> </tt></td></tr> 61 <tr><td> </td> 62 <td width="100%"><dl><dt>Method resolution order:</dt> 63 <dd><a href="telemetry.testing.run_tests.html#RunTestsCommand">RunTestsCommand</a></dd> 64 <dd><a href="telemetry.internal.util.command_line.html#OptparseCommand">telemetry.internal.util.command_line.OptparseCommand</a></dd> 65 <dd><a href="telemetry.internal.util.command_line.html#Command">telemetry.internal.util.command_line.Command</a></dd> 66 <dd><a href="telemetry.internal.util.command_line.html#ArgumentHandlerMixIn">telemetry.internal.util.command_line.ArgumentHandlerMixIn</a></dd> 67 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 68 </dl> 69 <hr> 70 Methods defined here:<br> 71 <dl><dt><a name="RunTestsCommand-Run"><strong>Run</strong></a>(self, args)</dt></dl> 72 73 <dl><dt><a name="RunTestsCommand-__init__"><strong>__init__</strong></a>(self)</dt></dl> 74 75 <hr> 76 Class methods defined here:<br> 77 <dl><dt><a name="RunTestsCommand-AddCommandLineArgs"><strong>AddCommandLineArgs</strong></a>(cls, parser, _)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 78 79 <dl><dt><a name="RunTestsCommand-CreateParser"><strong>CreateParser</strong></a>(cls)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 80 81 <dl><dt><a name="RunTestsCommand-ProcessCommandLineArgs"><strong>ProcessCommandLineArgs</strong></a>(cls, parser, args, _)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 82 83 <dl><dt><a name="RunTestsCommand-main"><strong>main</strong></a>(cls, args<font color="#909090">=None</font>, stream<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 84 85 <hr> 86 Data and other attributes defined here:<br> 87 <dl><dt><strong>usage</strong> = '[test_name ...] [<options>]'</dl> 88 89 <hr> 90 Class methods inherited from <a href="telemetry.internal.util.command_line.html#Command">telemetry.internal.util.command_line.Command</a>:<br> 91 <dl><dt><a name="RunTestsCommand-Description"><strong>Description</strong></a>(cls)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 92 93 <dl><dt><a name="RunTestsCommand-Name"><strong>Name</strong></a>(cls)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 94 95 <hr> 96 Data descriptors inherited from <a href="telemetry.internal.util.command_line.html#ArgumentHandlerMixIn">telemetry.internal.util.command_line.ArgumentHandlerMixIn</a>:<br> 97 <dl><dt><strong>__dict__</strong></dt> 98 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 99 </dl> 100 <dl><dt><strong>__weakref__</strong></dt> 101 <dd><tt>list of weak references to the object (if defined)</tt></dd> 102 </dl> 103 </td></tr></table></td></tr></table><p> 104 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 105 <tr bgcolor="#eeaa77"> 106 <td colspan=3 valign=bottom> <br> 107 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> 108 109 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> 110 <td width="100%"><dl><dt><a name="-GetClassifier"><strong>GetClassifier</strong></a>(args, possible_browser)</dt></dl> 111 </td></tr></table> 112 </body></html>