Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
GTestListTestsUnitTest Class Reference
Inheritance diagram for GTestListTestsUnitTest:

## Public Member Functions
def | RunAndVerify (self, flag_value, expected_output, other_flag)
def | testDefaultBehavior (self)
def | testFlag (self)
def | testOverrideNonFilterFlags (self)
def | testWithFilterFlags (self)

## Detailed Description

    Tests using the --gtest_list_tests flag to list all tests.

## Member Function Documentation

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.

The documentation for this class was generated from the following file:

- testing/googleTest/test/gtest_list_tests_unittest.py