Classes | |
| class | GTestEnvVarTest |
Functions | |
| def | AssertEq |
| def | GetFlag |
| def | SetEnvVar |
| def | TestFlag |
Variables | |
| string | __author__ = 'wan@google.com (Zhanyong Wan)' |
| tuple | COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_env_var_test_') |
| tuple | environ = os.environ.copy() |
| string | IS_LINUX = 'posix' |
| string | IS_WINDOWS = 'nt' |
| def gtest_env_var_test.AssertEq | ( | expected, | |
| actual | |||
| ) |
Definition at line 48 of file gtest_env_var_test.py.
| def gtest_env_var_test.GetFlag | ( | flag | ) |
Runs gtest_env_var_test_ and returns its output.
Definition at line 64 of file gtest_env_var_test.py.
| def gtest_env_var_test.SetEnvVar | ( | env_var, | |
| value | |||
| ) |
Sets the env variable to 'value'; unsets it when 'value' is None.
Definition at line 55 of file gtest_env_var_test.py.
| def gtest_env_var_test.TestFlag | ( | flag, | |
| test_val, | |||
| default_val | |||
| ) |
Verifies that the given flag is affected by the corresponding env var.
Definition at line 73 of file gtest_env_var_test.py.
| string gtest_env_var_test::__author__ = 'wan@google.com (Zhanyong Wan)' |
Definition at line 34 of file gtest_env_var_test.py.
| tuple gtest_env_var_test::COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_env_var_test_') |
Definition at line 43 of file gtest_env_var_test.py.
| tuple gtest_env_var_test::environ = os.environ.copy() |
Definition at line 45 of file gtest_env_var_test.py.
| string gtest_env_var_test::IS_LINUX = 'posix' |
Definition at line 41 of file gtest_env_var_test.py.
| string gtest_env_var_test::IS_WINDOWS = 'nt' |
Definition at line 40 of file gtest_env_var_test.py.