| 36 | |
| 37 | struct AsyncFileAppenderTest : public ::testing::Test { |
| 38 | virtual void SetUp() override { |
| 39 | ASSERT_EQ(0, ::pipe(pipefd)); |
| 40 | ::fcntl(pipefd[1], F_SETPIPE_SZ, 16 * 4096); |
| 41 | file_object.fd = pipefd[1]; |
| 42 | } |
| 43 | |
| 44 | virtual void TearDown() override { |
| 45 | ASSERT_EQ(0, close(pipefd[1])); |
nothing calls this directly
no outgoing calls
no test coverage detected