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

17 lines
489 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 std::make_unique;
using std::unique_ptr;
using blobstore::onblocks::BlobStoreOnBlocks;
using blockstore::testfake::FakeBlockStore;
constexpr uint32_t BlobStoreTest::BLOCKSIZE_BYTES;
BlobStoreTest::BlobStoreTest()
: blobStore(make_unique<BlobStoreOnBlocks>(make_unique<FakeBlockStore>(), BLOCKSIZE_BYTES)) {
}