telemetry.page.page_test_runner
index
telemetry/page/page_test_runner.py

# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
telemetry.core.browser_options
telemetry.core.discover
os
telemetry.page.page_runner
telemetry.page.page_set
telemetry.page.page_test
sys
telemetry.test

 
Classes
       
__builtin__.object
PageTestRunner

 
class PageTestRunner(__builtin__.object)
     Methods defined here:
FindTestConstructors(self, base_dirs)
FindTestName(self, test_constructors, args)
Find the test name in an arbitrary argument list.
 
We can't use the optparse parser, because the test may add its own
command-line options. If the user passed in any of those, the
optparse parsing will fail.
 
Returns:
  test_name or None
GetPageSet(self, test, env)
ParseCommandLine(self, args, env)
PrintParseError(self, message)
Run(self, env)
__init__(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
test_class
test_class_name

 
Functions
       
Main(env)
Turns a PageTest into a command-line program.
 
Args:
  base_dir: Path to directory containing tests and ProfileCreators.