]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/objectstore/store_test_fixture.h
2 #include <boost/scoped_ptr.hpp>
3 #include <gtest/gtest.h>
7 class StoreTestFixture
: virtual public ::testing::Test
{
8 const std::string type
;
9 const std::string data_dir
;
12 boost::scoped_ptr
<ObjectStore
> store
;
14 StoreTestFixture(const std::string
& type
)
15 : type(type
), data_dir(type
+ ".test_temp_dir")
17 void SetUp() override
;
18 void TearDown() override
;