telemetry.page.page_measurement_runner
index
telemetry/page/page_measurement_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.page.page_measurement
telemetry.page.page_test_runner
sys

 
Classes
       
telemetry.page.page_test_runner.PageTestRunner(__builtin__.object)
PageMeasurementRunner

 
class PageMeasurementRunner(telemetry.page.page_test_runner.PageTestRunner)
    
Method resolution order:
PageMeasurementRunner
telemetry.page.page_test_runner.PageTestRunner
__builtin__.object

Data descriptors defined here:
test_class
test_class_name

Methods inherited from telemetry.page.page_test_runner.PageTestRunner:
FindTestConstructors(self, base_dir)
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
GetModernizedTestName(self, arg)
Sometimes tests change names but buildbots keep calling the old name.
 
If arg matches an old test name, return the new test name instead.
Otherwise, return the arg.
GetPageSet(self, test, page_set_filenames)
ParseCommandLine(self, args, base_dir, page_set_filenames)
PrintParseError(self, message)
Run(self, base_dir, page_set_filenames)
__init__(self)

Data descriptors inherited from telemetry.page.page_test_runner.PageTestRunner:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

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