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

Method SuppressTestEventsIfInSubprocess

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

Disables event forwarding if the control is currently in a death test subprocess. Must not be called before InitGoogleTest.

Source from the content-addressed store, hash-verified

6489// Disables event forwarding if the control is currently in a death test
6490// subprocess. Must not be called before InitGoogleTest.
6491void UnitTestImpl::SuppressTestEventsIfInSubprocess() {
6492 if (internal_run_death_test_flag_.get() != nullptr)
6493 listeners()->SuppressEventForwarding();
6494}
6495#endif // GTEST_HAS_DEATH_TEST
6496
6497// Initializes event listeners performing XML output as specified by

Callers

nothing calls this directly

Calls 3

listenersFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected