#include "blockstore/implementations/compressing/CompressingBlockStore.h" #include "blockstore/implementations/compressing/compressors/Gzip.h" #include "blockstore/implementations/compressing/compressors/RunLengthEncoding.h" #include "blockstore/implementations/testfake/FakeBlockStore.h" #include "../../testutils/BlockStoreTest.h" #include using ::testing::Test; using blockstore::BlockStore; using blockstore::compressing::CompressingBlockStore; using blockstore::compressing::Gzip; using blockstore::compressing::RunLengthEncoding; using blockstore::testfake::FakeBlockStore; using cpputils::make_unique_ref; using cpputils::unique_ref; template class CompressingBlockStoreTestFixture: public BlockStoreTestFixture { public: unique_ref createBlockStore() override { return make_unique_ref>(make_unique_ref()); } }; INSTANTIATE_TYPED_TEST_CASE_P(Compressing_Gzip, BlockStoreTest, CompressingBlockStoreTestFixture); INSTANTIATE_TYPED_TEST_CASE_P(Compressing_RunLengthEncoding, BlockStoreTest, CompressingBlockStoreTestFixture);