proxygen
gtest_list_tests_unittest Namespace Reference

Classes

class  GTestListTestsUnitTest
 

Functions

def Run (args)
 

Variables

string __author__ = 'phanna@google.com (Patrick Hanna)'
 
string LIST_TESTS_FLAG = 'gtest_list_tests'
 
 EXE_PATH = gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_')
 
 EXPECTED_OUTPUT_NO_FILTER_RE = re.compile(r)
 
 EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile(r)
 

Function Documentation

def gtest_list_tests_unittest.Run (   args)
Runs gtest_list_tests_unittest_ and returns the list of tests printed.

Definition at line 117 of file gtest_list_tests_unittest.py.

Referenced by gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify().

117 def Run(args):
118  """Runs gtest_list_tests_unittest_ and returns the list of tests printed."""
119 
120  return gtest_test_utils.Subprocess([EXE_PATH] + args,
121  capture_stderr=False).output
122 
123 
124 # The unit test.
125 

Variable Documentation

string gtest_list_tests_unittest.__author__ = 'phanna@google.com (Patrick Hanna)'
private

Definition at line 40 of file gtest_list_tests_unittest.py.

gtest_list_tests_unittest.EXE_PATH = gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_')

Definition at line 52 of file gtest_list_tests_unittest.py.

gtest_list_tests_unittest.EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile(r)

Definition at line 100 of file gtest_list_tests_unittest.py.

gtest_list_tests_unittest.EXPECTED_OUTPUT_NO_FILTER_RE = re.compile(r)

Definition at line 56 of file gtest_list_tests_unittest.py.

string gtest_list_tests_unittest.LIST_TESTS_FLAG = 'gtest_list_tests'

Definition at line 49 of file gtest_list_tests_unittest.py.