Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / objectstore / store_test_fixture.h
1 #include <string>
2 #include <boost/scoped_ptr.hpp>
3 #include <gtest/gtest.h>
4
5 class ObjectStore;
6
7 class StoreTestFixture : virtual public ::testing::Test {
8   const std::string type;
9   const std::string data_dir;
10
11 public:
12   boost::scoped_ptr<ObjectStore> store;
13
14   StoreTestFixture(const std::string& type)
15     : type(type), data_dir(type + ".test_temp_dir")
16   {}
17   void SetUp() override;
18   void TearDown() override;
19 };