Torque2D Reference

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

- Namespace List
- Namespace Members

Classes | Functions | Variables
gtest_throw_on_failure_test Namespace Reference

## Classes
class | ThrowOnFailureTest

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

## Variables
string | __author__ = 'wan@google.com (Zhanyong Wan)'
string | THROW_ON_FAILURE = 'gtest_throw_on_failure'
tuple | EXE_PATH

## Function Documentation

def gtest_throw_on_failure_test.Run | ( |  | command | ) |

    Runs a command; returns True/False if its exit code is/isn't 0.

def gtest_throw_on_failure_test.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)'

tuple EXE_PATH

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

string THROW_ON_FAILURE = 'gtest_throw_on_failure'