MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / GTestIsInitialized

Function GTestIsInitialized

tests/gtest/gtest-all.cc:1840–1840  ·  view source on GitHub ↗

GTestIsInitialized() returns true iff the user has initialized Google Test. Useful for catching the user mistake of not initializing Google Test before calling RUN_ALL_TESTS().

Source from the content-addressed store, hash-verified

1838// Google Test. Useful for catching the user mistake of not initializing
1839// Google Test before calling RUN_ALL_TESTS().
1840static bool GTestIsInitialized() { return GetArgvs().size() > 0; }
1841
1842// Iterates over a vector of TestSuites, keeping a running sum of the
1843// results of calling a given int-returning method on each.

Callers 2

RunAllTestsMethod · 0.85
InitGoogleTestImplFunction · 0.85

Calls 2

GetArgvsFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected