- 3.0.1 core module.
googletest-throw-on-failure-test Namespace Reference

Classes

class  ThrowOnFailureTest
 

Functions

def SetEnvVar (env_var, value)
 
def Run (command)
 

Variables

string THROW_ON_FAILURE = 'gtest_throw_on_failure'
 
 EXE_PATH
 

Function Documentation

def googletest-throw-on-failure-test.SetEnvVar (   env_var,
  value 
)
Sets an environment variable to a given value; unsets it when the
given value is None.

Referenced by googletest-throw-on-failure-test.ThrowOnFailureTest.RunAndVerify().

def googletest-throw-on-failure-test.Run (   command)
Runs a command; returns True/False if its exit code is/isn't 0.

Referenced by googletest-throw-on-failure-test.ThrowOnFailureTest.RunAndVerify().

Variable Documentation

string googletest-throw-on-failure-test.THROW_ON_FAILURE = 'gtest_throw_on_failure'
googletest-throw-on-failure-test.EXE_PATH
Initial value:
2  'googletest-throw-on-failure-test_')
def GetTestExecutablePath(executable_name, build_dir=None)
Definition: gtest_test_utils.py:151