telemetry.page.page_measurement_results
index
telemetry/page/page_measurement_results.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_value
telemetry.page.page_test_results

 
Classes
       
__builtin__.object
ValuesForSinglePage
telemetry.page.page_test_results.PageTestResults(unittest.result.TestResult)
PageMeasurementResults

 
class PageMeasurementResults(telemetry.page.page_test_results.PageTestResults)
    
Method resolution order:
PageMeasurementResults
telemetry.page.page_test_results.PageTestResults
unittest.result.TestResult
__builtin__.object

Methods defined here:
Add(self, trace_name, units, value, chart_name=None, data_type='default')
AddSummary(self, trace_name, units, value, chart_name=None, data_type='default')
DidMeasurePage(self)
WillMeasurePage(self, page)
__getitem__(self, i)
Shorthand for self.page_results[i]
__init__(self, trace_tag='')
__len__(self)

Data descriptors defined here:
all_measurements_that_have_been_seen
page_results
values_for_current_page

Methods inherited from telemetry.page.page_test_results.PageTestResults:
AddError(self, page, err)
AddErrorMessage(self, page, message)
AddFailure(self, page, err)
AddFailureMessage(self, page, message)
AddSkip(self, page, reason)
AddSuccess(self, page)
PrintSummary(self)
StartTest(self, page)
StopTest(self, page)
addSkip(self, test, reason)
addSuccess(self, test)

Methods inherited from unittest.result.TestResult:
__repr__(self)
addError(self, *args, **kw)
Called when an error has occurred. 'err' is a tuple of values as
returned by sys.exc_info().
addExpectedFailure(self, test, err)
Called when an expected failure/error occured.
addFailure(self, *args, **kw)
Called when an error has occurred. 'err' is a tuple of values as
returned by sys.exc_info().
addUnexpectedSuccess(self, *args, **kw)
Called when a test was expected to fail, but succeed.
printErrors(self)
Called by TestRunner after test run
startTest(self, test)
Called when the given test is about to be run
startTestRun(self)
Called once before any tests are executed.
 
See startTest for a method called before each test.
stop(self)
Indicates that the tests should be aborted
stopTest(self, test)
Called when the given test has been run
stopTestRun(self)
Called once after all tests are executed.
 
See stopTest for a method called after each test.
wasSuccessful(self)
Tells whether or not this result was a success

Data descriptors inherited from unittest.result.TestResult:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class ValuesForSinglePage(__builtin__.object)
     Methods defined here:
AddValue(self, value)
FindValueByMeasurementName(self, measurement_name)
FindValueByTraceName(self, trace_name)
__contains__(self, trace_name)
__getitem__(self, trace_name)
__init__(self, page)

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