MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / initGTest

Method initGTest

src/drivers/GTestDriver.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void GTestStep::initGTest() {
25 int fake_argc = 1;
26 char* fake_argv[1];
27 fake_argv[0] = (char*)"cucumber-cpp";
28 ::testing::InitGoogleTest(&fake_argc, fake_argv);
29 initialized = true;
30}
31
32void GTestStep::initFlags() {
33 ::testing::GTEST_FLAG(throw_on_failure) = true; // let cucumber-cpp drive

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected