2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.page.page_test_runner</title>
4 </head><body bgcolor="#f0f0f8">
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
8 <td valign=bottom> <br>
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.page.html"><font color="#ffffff">page</font></a>.page_test_runner</strong></big></big></font></td
10 ><td align=right valign=bottom
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/page/page_test_runner.py">telemetry/page/page_test_runner.py</a></font></td></tr></table>
12 <p><tt># Copyright (c) 2012 The Chromium Authors. All rights reserved.<br>
13 # Use of this source code is governed by a BSD-style license that can be<br>
14 # found in the LICENSE file.</tt></p>
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
17 <tr bgcolor="#aa55cc">
18 <td colspan=3 valign=bottom> <br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.core.browser_options.html">telemetry.core.browser_options</a><br>
23 <a href="telemetry.core.discover.html">telemetry.core.discover</a><br>
24 </td><td width="25%" valign=top><a href="os.html">os</a><br>
25 <a href="telemetry.page.page_runner.html">telemetry.page.page_runner</a><br>
26 </td><td width="25%" valign=top><a href="telemetry.page.page_set.html">telemetry.page.page_set</a><br>
27 <a href="telemetry.page.page_test.html">telemetry.page.page_test</a><br>
28 </td><td width="25%" valign=top><a href="sys.html">sys</a><br>
29 <a href="telemetry.test.html">telemetry.test</a><br>
30 </td></tr></table></td></tr></table><p>
31 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
32 <tr bgcolor="#ee77aa">
33 <td colspan=3 valign=bottom> <br>
34 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
36 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
38 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
41 <dt><font face="helvetica, arial"><a href="telemetry.page.page_test_runner.html#PageTestRunner">PageTestRunner</a>
46 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
47 <tr bgcolor="#ffc8d8">
48 <td colspan=3 valign=bottom> <br>
49 <font color="#000000" face="helvetica, arial"><a name="PageTestRunner">class <strong>PageTestRunner</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
51 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
52 <td width="100%">Methods defined here:<br>
53 <dl><dt><a name="PageTestRunner-FindTestConstructors"><strong>FindTestConstructors</strong></a>(self, base_dirs)</dt></dl>
55 <dl><dt><a name="PageTestRunner-FindTestName"><strong>FindTestName</strong></a>(self, test_constructors, args)</dt><dd><tt>Find the test name in an arbitrary argument list.<br>
57 We can't use the optparse parser, because the test may add its own<br>
58 command-line options. If the user passed in any of those, the<br>
59 optparse parsing will fail.<br>
62 test_name or None</tt></dd></dl>
64 <dl><dt><a name="PageTestRunner-GetPageSet"><strong>GetPageSet</strong></a>(self, test, env)</dt></dl>
66 <dl><dt><a name="PageTestRunner-ParseCommandLine"><strong>ParseCommandLine</strong></a>(self, args, env)</dt></dl>
68 <dl><dt><a name="PageTestRunner-PrintParseError"><strong>PrintParseError</strong></a>(self, message)</dt></dl>
70 <dl><dt><a name="PageTestRunner-Run"><strong>Run</strong></a>(self, env)</dt></dl>
72 <dl><dt><a name="PageTestRunner-__init__"><strong>__init__</strong></a>(self)</dt></dl>
75 Data descriptors defined here:<br>
76 <dl><dt><strong>__dict__</strong></dt>
77 <dd><tt>dictionary for instance variables (if defined)</tt></dd>
79 <dl><dt><strong>__weakref__</strong></dt>
80 <dd><tt>list of weak references to the object (if defined)</tt></dd>
82 <dl><dt><strong>test_class</strong></dt>
84 <dl><dt><strong>test_class_name</strong></dt>
86 </td></tr></table></td></tr></table><p>
87 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
88 <tr bgcolor="#eeaa77">
89 <td colspan=3 valign=bottom> <br>
90 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
92 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
93 <td width="100%"><dl><dt><a name="-Main"><strong>Main</strong></a>(env)</dt><dd><tt>Turns a PageTest into a command-line program.<br>
96 base_dir: Path to directory containing tests and ProfileCreators.</tt></dd></dl>