| 7994 | class DeathTestImpl : public DeathTest { |
| 7995 | protected: |
| 7996 | DeathTestImpl(const char* a_statement, Matcher<const std::string&> matcher) |
| 7997 | : statement_(a_statement), |
| 7998 | matcher_(std::move(matcher)), |
| 7999 | spawned_(false), |
| 8000 | status_(-1), |
| 8001 | outcome_(IN_PROGRESS), |
| 8002 | read_fd_(-1), |
| 8003 | write_fd_(-1) {} |
| 8004 | |
| 8005 | // read_fd_ is expected to be closed and cleared by a derived class. |
| 8006 | ~DeathTestImpl() override { GTEST_DEATH_TEST_CHECK_(read_fd_ == -1); } |
nothing calls this directly
no outgoing calls
no test coverage detected