Torque2D Reference

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

- Namespace List
- Namespace Members

Classes | Functions | Variables
gtest_color_test Namespace Reference

## Classes
class | GTestColorTest

## Functions
def | SetEnvVar (env_var, value)
def | UsesColor (term, color_env_var, color_flag)

## Variables
string | __author__ = 'wan@google.com (Zhanyong Wan)'
string | IS_WINDOWS = 'nt'
string | COLOR_ENV_VAR = 'GTEST_COLOR'
string | COLOR_FLAG = 'gtest_color'
tuple | COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_color_test_')

## Function Documentation

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

    Sets the env variable to 'value'; unsets it when 'value' is None.

def gtest_color_test.UsesColor | ( |  | term,
|  |  | color_env_var,
|  |  | color_flag
| ) |  |

    Runs gtest_color_test_ and returns its exit code.

## Variable Documentation

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

string COLOR_ENV_VAR = 'GTEST_COLOR'

string COLOR_FLAG = 'gtest_color'

tuple COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_color_test_')

string IS_WINDOWS = 'nt'