libcryfs/test/implementations/onblocks/testutils/BlobStoreTest.cpp

15 lines
482 B
C++
Raw Normal View History

2015-03-05 22:23:30 +01:00
#include "BlobStoreTest.h"
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
#include "../../../../implementations/onblocks/BlobStoreOnBlocks.h"
using blobstore::onblocks::BlobStoreOnBlocks;
using blockstore::testfake::FakeBlockStore;
2015-06-26 15:59:18 +02:00
using cpputils::make_unique_ref;
2015-03-05 22:23:30 +01:00
constexpr uint32_t BlobStoreTest::BLOCKSIZE_BYTES;
BlobStoreTest::BlobStoreTest()
2015-06-26 15:59:18 +02:00
: blobStore(make_unique_ref<BlobStoreOnBlocks>(make_unique_ref<FakeBlockStore>(), BLOCKSIZE_BYTES)) {
2015-03-05 22:23:30 +01:00
}