telemetry.unittest.gtest_testrunner
index
telemetry/unittest/gtest_testrunner.py

Implements a unittest TestRunner with GTest output.
 
This output is ported from gtest.cc's PrettyUnitTestResultPrinter, but
designed to be a drop-in replacement for unittest's TextTestRunner.

 
Modules
       
telemetry.page.gtest_test_results
time
unittest

 
Classes
       
__builtin__.object
GTestTestRunner
unittest.suite.TestSuite(unittest.suite.BaseTestSuite)
GTestTestSuite

 
class GTestTestRunner(__builtin__.object)
     Methods defined here:
__init__(self, print_result_after_run=True, runner=None)
run(self, test)
Run the given test case or test suite.

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

 
class GTestTestSuite(unittest.suite.TestSuite)
    
Method resolution order:
GTestTestSuite
unittest.suite.TestSuite
unittest.suite.BaseTestSuite
__builtin__.object

Methods defined here:
__call__(self, *args, **kwargs)

Methods inherited from unittest.suite.TestSuite:
debug(self)
Run the tests without collecting errors in a TestResult
run(self, result, debug=False)

Methods inherited from unittest.suite.BaseTestSuite:
__eq__(self, other)
__init__(self, tests=())
__iter__(self)
__ne__(self, other)
__repr__(self)
addTest(self, test)
addTests(self, tests)
countTestCases(self)

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

Data and other attributes inherited from unittest.suite.BaseTestSuite:
__hash__ = None