MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / InitGoogleTest

Function InitGoogleTest

rtpose_wrapper/src/gtest/gtest-all.cpp:6191–6193  ·  view source on GitHub ↗

Initializes Google Test. This must be called before calling RUN_ALL_TESTS(). In particular, it parses a command line for the flags that Google Test recognizes. Whenever a Google Test flag is seen, it is removed from argv, and *argc is decremented. No value is returned. Instead, the Google Test flag variables are updated. Calling the function for the second time has no user-visible effect.

Source from the content-addressed store, hash-verified

6189//
6190// Calling the function for the second time has no user-visible effect.
6191void InitGoogleTest(int* argc, char** argv) {
6192 internal::InitGoogleTestImpl(argc, argv);
6193}
6194
6195// This overloaded version can be used in Windows programs compiled in
6196// UNICODE mode.

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

InitGoogleTestImplFunction · 0.85

Tested by

no test coverage detected