| 109 | } |
| 110 | |
| 111 | TEST(EventWriter, WriteFlush) { |
| 112 | string file_prefix = GetDirName("/writeflush_test"); |
| 113 | EventsWriter writer(file_prefix); |
| 114 | WriteFile(&writer); |
| 115 | TF_EXPECT_OK(writer.Flush()); |
| 116 | string filename = writer.FileName(); |
| 117 | VerifyFile(filename); |
| 118 | } |
| 119 | |
| 120 | TEST(EventWriter, WriteClose) { |
| 121 | string file_prefix = GetDirName("/writeclose_test"); |
nothing calls this directly
no test coverage detected