Monero
Loading...
Searching...
No Matches
gtest_color_test Namespace Reference

Classes

class  GTestColorTest

Functions

 SetEnvVar (env_var, value)
 UsesColor (term, color_env_var, color_flag)

Variables

str __author__ = 'wan@google.com (Zhanyong Wan)'
str IS_WINDOWS = 'nt'
str COLOR_ENV_VAR = 'GTEST_COLOR'
str COLOR_FLAG = 'gtest_color'
 COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_color_test_')

Detailed Description

Verifies that Google Test correctly determines whether to use colors.

Function Documentation

◆ SetEnvVar()

gtest_color_test.SetEnvVar ( env_var,
value )
Sets the env variable to 'value'; unsets it when 'value' is None.

◆ UsesColor()

gtest_color_test.UsesColor ( term,
color_env_var,
color_flag )
Runs gtest_color_test_ and returns its exit code.

Variable Documentation

◆ __author__

str gtest_color_test.__author__ = 'wan@google.com (Zhanyong Wan)'
private

◆ COLOR_ENV_VAR

str gtest_color_test.COLOR_ENV_VAR = 'GTEST_COLOR'

◆ COLOR_FLAG

str gtest_color_test.COLOR_FLAG = 'gtest_color'

◆ COMMAND

gtest_color_test.COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_color_test_')

◆ IS_WINDOWS

str gtest_color_test.IS_WINDOWS = 'nt'