Torque2D Reference
|
Public Member Functions | |
def | RunAndVerify (self, flag_value, expected_output, other_flag) |
def | testDefaultBehavior (self) |
def | testFlag (self) |
def | testOverrideNonFilterFlags (self) |
def | testWithFilterFlags (self) |
Tests using the --gtest_list_tests flag to list all tests.
def RunAndVerify | ( | self, | |
flag_value, | |||
expected_output, | |||
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: 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.
def testDefaultBehavior | ( | self | ) |
Tests the behavior of the default mode.
def testFlag | ( | self | ) |
Tests using the --gtest_list_tests flag.
def testOverrideNonFilterFlags | ( | self | ) |
Tests that --gtest_list_tests overrides the non-filter flags.
def testWithFilterFlags | ( | self | ) |
Tests that --gtest_list_tests takes into account the --gtest_filter flag.