Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MemFileTest : public ::testing::Test {
- protected:
- void SetUp() override {
- auto result = MemFile::OpenMemFile("/tmp/foo", 10);
- ASSERT_OK(result);
- file_ = std::move(result.ValueOrDie());
- }
- Status DeleteFile() { return Status::OK; }
- void TearDown() override {
- // LOG("TearDown");
- // EXPECT_OK(file_.Close());
- // EXPECT_OK(DeleteFile());
- }
- MemFile file_;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement