Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtest_list_tests_unittest Namespace Reference

Classes

class  GTestListTestsUnitTest
 

Functions

def Run
 

Variables

string __author__ 'phanna@google.com (Patrick Hanna)'
 
string LIST_TESTS_FLAG 'gtest_list_tests'
 
tuple EXE_PATH gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_')
 
tuple EXPECTED_OUTPUT_NO_FILTER_RE re.compile(r"""FooDeathTest\. Test1Foo\. Bar1 Bar2 DISABLED_Bar3Abc\. Xyz DefFooBar\. BazFooTest\. Test1 DISABLED_Test2 Test3TypedTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\. TestA TestBTypedTest/1\. # TypeParam = int\s*\*( __ptr64)? TestA TestBTypedTest/2\. # TypeParam = .*MyArray<bool,\s*42> TestA TestBMy/TypeParamTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\. TestA TestBMy/TypeParamTest/1\. # TypeParam = int\s*\*( __ptr64)? TestA TestBMy/TypeParamTest/2\. # TypeParam = .*MyArray<bool,\s*42> TestA TestBMyInstantiation/ValueParamTest\. TestA/0 # GetParam\(\) = one line TestA/1 # GetParam\(\) = two\\nlines TestA/2 # GetParam\(\) = a very\\nlo{241}\.\.\. TestB/0 # GetParam\(\) = one line TestB/1 # GetParam\(\) = two\\nlines TestB/2 # GetParam\(\) = a very\\nlo{241}\.\.\.""")
 
tuple EXPECTED_OUTPUT_FILTER_FOO_RE re.compile(r"""FooDeathTest\. Test1Foo\. Bar1 Bar2 DISABLED_Bar3FooBar\. BazFooTest\. Test1 DISABLED_Test2 Test3""")
 

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.

View newest version in sPHENIX GitHub at line 117 of file gtest_list_tests_unittest.py

Referenced by gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify().

+ Here is the caller graph for this function:

Variable Documentation

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

Definition at line 40 of file gtest_list_tests_unittest.py.

View newest version in sPHENIX GitHub at line 40 of file gtest_list_tests_unittest.py

tuple 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.

View newest version in sPHENIX GitHub at line 52 of file gtest_list_tests_unittest.py

tuple gtest_list_tests_unittest.EXPECTED_OUTPUT_FILTER_FOO_RE re.compile(r"""FooDeathTest\. Test1Foo\. Bar1 Bar2 DISABLED_Bar3FooBar\. BazFooTest\. Test1 DISABLED_Test2 Test3""")

Definition at line 100 of file gtest_list_tests_unittest.py.

View newest version in sPHENIX GitHub at line 100 of file gtest_list_tests_unittest.py

tuple gtest_list_tests_unittest.EXPECTED_OUTPUT_NO_FILTER_RE re.compile(r"""FooDeathTest\. Test1Foo\. Bar1 Bar2 DISABLED_Bar3Abc\. Xyz DefFooBar\. BazFooTest\. Test1 DISABLED_Test2 Test3TypedTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\. TestA TestBTypedTest/1\. # TypeParam = int\s*\*( __ptr64)? TestA TestBTypedTest/2\. # TypeParam = .*MyArray<bool,\s*42> TestA TestBMy/TypeParamTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\. TestA TestBMy/TypeParamTest/1\. # TypeParam = int\s*\*( __ptr64)? TestA TestBMy/TypeParamTest/2\. # TypeParam = .*MyArray<bool,\s*42> TestA TestBMyInstantiation/ValueParamTest\. TestA/0 # GetParam\(\) = one line TestA/1 # GetParam\(\) = two\\nlines TestA/2 # GetParam\(\) = a very\\nlo{241}\.\.\. TestB/0 # GetParam\(\) = one line TestB/1 # GetParam\(\) = two\\nlines TestB/2 # GetParam\(\) = a very\\nlo{241}\.\.\.""")

Definition at line 56 of file gtest_list_tests_unittest.py.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 49 of file gtest_list_tests_unittest.py