Analysis Software
Documentation for sPHENIX simulation software
|
Public Member Functions | |
def | RunAndVerify |
def | testDefaultBehavior |
def | testFlag |
def | testOverrideNonFilterFlags |
def | testWithFilterFlags |
Tests using the --gtest_list_tests flag to list all tests.
Definition at line 126 of file gtest_list_tests_unittest.py.
View newest version in sPHENIX GitHub at line 126 of file gtest_list_tests_unittest.py
def gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify | ( | self, | |
flag_value, | |||
expected_output_re, | |||
other_flag | |||
) |
Runs gtest_list_tests_unittest_ and verifies that it prints the correct tests. Args: flag_value: value of the --gtest_list_tests flag; None if the flag should not be present. expected_output_re: regular expression that matches the expected output after running command; other_flag: a different flag to be passed to command along with gtest_list_tests; None if the flag should not be present.
Definition at line 129 of file gtest_list_tests_unittest.py.
View newest version in sPHENIX GitHub at line 129 of file gtest_list_tests_unittest.py
References join(), and gtest_list_tests_unittest.Run().
Referenced by gtest_throw_on_failure_test.ThrowOnFailureTest.testDefaultBehavior(), gtest_list_tests_unittest.GTestListTestsUnitTest.testDefaultBehavior(), gtest_list_tests_unittest.GTestListTestsUnitTest.testFlag(), gtest_list_tests_unittest.GTestListTestsUnitTest.testOverrideNonFilterFlags(), gtest_throw_on_failure_test.ThrowOnFailureTest.testThrowOnFailureEnvVar(), gtest_throw_on_failure_test.ThrowOnFailureTest.testThrowOnFailureFlag(), gtest_throw_on_failure_test.ThrowOnFailureTest.testThrowOnFailureFlagOverridesEnvVar(), and gtest_list_tests_unittest.GTestListTestsUnitTest.testWithFilterFlags().
def gtest_list_tests_unittest.GTestListTestsUnitTest.testDefaultBehavior | ( | self | ) |
Tests the behavior of the default mode.
Definition at line 173 of file gtest_list_tests_unittest.py.
View newest version in sPHENIX GitHub at line 173 of file gtest_list_tests_unittest.py
References gtest_break_on_failure_unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify(), and gtest_filter_unittest.GTestFilterUnitTest.RunAndVerify().
def gtest_list_tests_unittest.GTestListTestsUnitTest.testFlag | ( | self | ) |
Tests using the --gtest_list_tests flag.
Definition at line 180 of file gtest_list_tests_unittest.py.
View newest version in sPHENIX GitHub at line 180 of file gtest_list_tests_unittest.py
References gtest_break_on_failure_unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify(), and gtest_filter_unittest.GTestFilterUnitTest.RunAndVerify().
def gtest_list_tests_unittest.GTestListTestsUnitTest.testOverrideNonFilterFlags | ( | self | ) |
Tests that --gtest_list_tests overrides the non-filter flags.
Definition at line 190 of file gtest_list_tests_unittest.py.
View newest version in sPHENIX GitHub at line 190 of file gtest_list_tests_unittest.py
References gtest_break_on_failure_unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify(), and gtest_filter_unittest.GTestFilterUnitTest.RunAndVerify().
def gtest_list_tests_unittest.GTestListTestsUnitTest.testWithFilterFlags | ( | self | ) |
Tests that --gtest_list_tests takes into account the --gtest_filter flag.
Definition at line 197 of file gtest_list_tests_unittest.py.
View newest version in sPHENIX GitHub at line 197 of file gtest_list_tests_unittest.py
References gtest_test_utils.Main(), gtest_break_on_failure_unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify(), and gtest_filter_unittest.GTestFilterUnitTest.RunAndVerify().