]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/objectstore/store_test_fixture.h
add subtree-ish sources for 12.0.3
[ceph.git] / 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 : 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 };