#include #include #include #include #include "google/gtest/gtest.h" using blockstore::BlockStore; using blockstore::BlockStoreWithRandomKeys; using blockstore::testfake::FakeBlockStore; using std::unique_ptr; using std::make_unique; class FakeBlockStoreTestFixture: public BlockStoreTestFixture { public: unique_ptr createBlockStore() override { return make_unique(); } }; INSTANTIATE_TYPED_TEST_CASE_P(TestFake, BlockStoreTest, FakeBlockStoreTestFixture); class FakeBlockStoreWithRandomKeysTestFixture: public BlockStoreWithRandomKeysTestFixture { public: unique_ptr createBlockStore() override { return make_unique(); } }; INSTANTIATE_TYPED_TEST_CASE_P(TestFake, BlockStoreWithRandomKeysTest, FakeBlockStoreWithRandomKeysTestFixture);