| 6518 | class DeathTestImpl : public DeathTest { |
| 6519 | protected: |
| 6520 | DeathTestImpl(const char* a_statement, const RE* a_regex) |
| 6521 | : statement_(a_statement), |
| 6522 | regex_(a_regex), |
| 6523 | spawned_(false), |
| 6524 | status_(-1), |
| 6525 | outcome_(IN_PROGRESS), |
| 6526 | read_fd_(-1), |
| 6527 | write_fd_(-1) {} |
| 6528 | |
| 6529 | // read_fd_ is expected to be closed and cleared by a derived class. |
| 6530 | ~DeathTestImpl() { GTEST_DEATH_TEST_CHECK_(read_fd_ == -1); } |
nothing calls this directly
no outgoing calls
no test coverage detected