Torque2D Reference

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

- Namespace List
- Namespace Members

Classes | Functions | Variables
gtest_break_on_failure_unittest Namespace Reference

## Classes
class | GTestBreakOnFailureUnitTest

## Functions
def | SetEnvVar (env_var, value)
def | Run (command)

## Variables
string | __author__ = 'wan@google.com (Zhanyong Wan)'
string | IS_WINDOWS = 'nt'
string | BREAK_ON_FAILURE_ENV_VAR = 'GTEST_BREAK_ON_FAILURE'
string | BREAK_ON_FAILURE_FLAG = 'gtest_break_on_failure'
string | THROW_ON_FAILURE_ENV_VAR = 'GTEST_THROW_ON_FAILURE'
string | CATCH_EXCEPTIONS_ENV_VAR = 'GTEST_CATCH_EXCEPTIONS'
tuple | EXE_PATH
tuple | environ = os.environ.copy()

## Function Documentation

def gtest_break_on_failure_unittest.Run | ( |  | command | ) |

    Runs a command; returns 1 if it was killed by a signal, or 0 otherwise.

def gtest_break_on_failure_unittest.SetEnvVar | ( |  | env_var,
|  |  | value
| ) |  |

    Sets an environment variable to a given value; unsets it when the
    given value is None.

## Variable Documentation

string __author__ = 'wan@google.com (Zhanyong Wan)'

string BREAK_ON_FAILURE_ENV_VAR = 'GTEST_BREAK_ON_FAILURE'

string BREAK_ON_FAILURE_FLAG = 'gtest_break_on_failure'

string CATCH_EXCEPTIONS_ENV_VAR = 'GTEST_CATCH_EXCEPTIONS'

tuple environ = os.environ.copy()

tuple EXE_PATH

Initial value:
1 = gtest_test_utils.GetTestExecutablePath(
2 'gtest_break_on_failure_unittest_')
gtest_test_utils.GetTestExecutablePath
def GetTestExecutablePath
Definition: gtest_test_utils.py:141

string IS_WINDOWS = 'nt'

string THROW_ON_FAILURE_ENV_VAR = 'GTEST_THROW_ON_FAILURE'