- 3.0.1 core module.
googletest-env-var-test Namespace Reference

Classes

class  GTestEnvVarTest
 

Functions

def AssertEq (expected, actual)
 
def SetEnvVar (env_var, value)
 
def GetFlag (flag)
 
def TestFlag (flag, test_val, default_val)
 

Variables

string IS_WINDOWS = 'nt'
 
string IS_LINUX = 'posix'
 
 COMMAND = gtest_test_utils.GetTestExecutablePath('googletest-env-var-test_')
 
 environ = os.environ.copy()
 

Function Documentation

def googletest-env-var-test.AssertEq (   expected,
  actual 
)
def googletest-env-var-test.SetEnvVar (   env_var,
  value 
)
def googletest-env-var-test.GetFlag (   flag)
def googletest-env-var-test.TestFlag (   flag,
  test_val,
  default_val 
)
Verifies that the given flag is affected by the corresponding env var.

References AssertEq(), GetFlag(), and SetEnvVar().

Referenced by googletest-env-var-test.GTestEnvVarTest.testEnvVarAffectsFlag().

Variable Documentation

string googletest-env-var-test.IS_WINDOWS = 'nt'
string googletest-env-var-test.IS_LINUX = 'posix'
googletest-env-var-test.COMMAND = gtest_test_utils.GetTestExecutablePath('googletest-env-var-test_')
googletest-env-var-test.environ = os.environ.copy()