| 254 | void OpenFile() { ASSERT_OK_AND_ASSIGN(file_, ReadableFile::Open(path_)); } |
| 255 | |
| 256 | void MakeTestFile() { |
| 257 | std::string data = "testdata"; |
| 258 | std::ofstream stream; |
| 259 | stream.open(path_.c_str()); |
| 260 | stream << data; |
| 261 | } |
| 262 | |
| 263 | protected: |
| 264 | std::shared_ptr<ReadableFile> file_; |