cc7b38b3c1
- fix clang-tidy warnings in test cases
26 lines
909 B
C++
26 lines
909 B
C++
#include "blockstore/implementations/low2highlevel/LowToHighLevelBlockStore.h"
|
|
#include "blockstore/implementations/testfake/FakeBlockStore.h"
|
|
#include "blockstore/implementations/inmemory/InMemoryBlockStore2.h"
|
|
#include "../../testutils/BlockStoreTest.h"
|
|
#include <gtest/gtest.h>
|
|
#include <cpp-utils/tempfile/TempFile.h>
|
|
|
|
|
|
using blockstore::BlockStore;
|
|
using blockstore::lowtohighlevel::LowToHighLevelBlockStore;
|
|
using blockstore::inmemory::InMemoryBlockStore2;
|
|
|
|
using cpputils::make_unique_ref;
|
|
using cpputils::unique_ref;
|
|
|
|
class LowToHighLevelBlockStoreTestFixture: public BlockStoreTestFixture {
|
|
public:
|
|
LowToHighLevelBlockStoreTestFixture() {}
|
|
|
|
unique_ref<BlockStore> createBlockStore() override {
|
|
return make_unique_ref<LowToHighLevelBlockStore>(make_unique_ref<InMemoryBlockStore2>());
|
|
}
|
|
};
|
|
|
|
INSTANTIATE_TYPED_TEST_CASE_P(LowToHighLevel, BlockStoreTest, LowToHighLevelBlockStoreTestFixture);
|