| 52 | } |
| 53 | |
| 54 | static bool ReadEventProto(io::RecordReader* reader, uint64* offset, |
| 55 | Event* proto) { |
| 56 | string record; |
| 57 | Status s = reader->ReadRecord(offset, &record); |
| 58 | if (!s.ok()) { |
| 59 | return false; |
| 60 | } |
| 61 | return ParseProtoUnlimited(proto, record); |
| 62 | } |
| 63 | |
| 64 | void VerifyFile(const string& filename) { |
| 65 | CHECK(env()->FileExists(filename).ok()); |
no test coverage detected