Disables event forwarding if the control is currently in a death test subprocess. Must not be called before InitGoogleTest.
| 6489 | // Disables event forwarding if the control is currently in a death test |
| 6490 | // subprocess. Must not be called before InitGoogleTest. |
| 6491 | void 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 |
nothing calls this directly
no test coverage detected