Classes | |
class | GTestEnvVarTest |
Functions | |
def | AssertEq (expected, actual) |
def | GetFlag (flag) |
def | SetEnvVar (env_var, value) |
def | TestFlag (flag, test_val, default_val) |
Variables | |
string | __author__ = 'wan@google.com (Zhanyong Wan)' |
COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_env_var_test_') | |
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 gmock/gtest/test/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 gmock/gtest/test/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 gmock/gtest/test/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 gmock/gtest/test/gtest_env_var_test.py.
|
private |
Definition at line 34 of file gmock/gtest/test/gtest_env_var_test.py.
gtest_env_var_test.COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_env_var_test_') |
Definition at line 43 of file gmock/gtest/test/gtest_env_var_test.py.
gtest_env_var_test.environ = os.environ.copy() |
Definition at line 45 of file gmock/gtest/test/gtest_env_var_test.py.
string gtest_env_var_test.IS_LINUX = 'posix' |
Definition at line 41 of file gmock/gtest/test/gtest_env_var_test.py.
string gtest_env_var_test.IS_WINDOWS = 'nt' |
Definition at line 40 of file gmock/gtest/test/gtest_env_var_test.py.