MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / BoolFromGTestEnv

Function BoolFromGTestEnv

src/gtest/gtest-all.cpp:8508–8513  ·  view source on GitHub ↗

Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered true iff it's not "0".

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gtest-all.cppFile · 0.85

Calls 2

FlagToEnvVarFunction · 0.85
GetEnvFunction · 0.85

Tested by

no test coverage detected