Fix includes after merging repositories
This commit is contained in:
parent
31d52d3c8d
commit
31672e086c
@ -4,7 +4,7 @@
|
||||
#include "datanodestore/DataLeafNode.h"
|
||||
#include "utils/Math.h"
|
||||
#include <cmath>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::function;
|
||||
using cpputils::unique_ref;
|
||||
|
@ -1,14 +1,14 @@
|
||||
#include "parallelaccessdatatreestore/DataTreeRef.h"
|
||||
#include "parallelaccessdatatreestore/ParallelAccessDataTreeStore.h"
|
||||
#include <messmer/blockstore/implementations/parallelaccess/ParallelAccessBlockStore.h>
|
||||
#include <blockstore/implementations/parallelaccess/ParallelAccessBlockStore.h>
|
||||
#include "datanodestore/DataLeafNode.h"
|
||||
#include "datanodestore/DataNodeStore.h"
|
||||
#include "datatreestore/DataTreeStore.h"
|
||||
#include "datatreestore/DataTree.h"
|
||||
#include "BlobStoreOnBlocks.h"
|
||||
#include "BlobOnBlocks.h"
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using cpputils::unique_ref;
|
||||
using cpputils::make_unique_ref;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_BLOCKED_BLOBSTOREONBLOCKS_H_
|
||||
|
||||
#include "../../interface/BlobStore.h"
|
||||
#include "messmer/blockstore/interface/BlockStore.h"
|
||||
#include <blockstore/interface/BlockStore.h>
|
||||
|
||||
namespace blobstore {
|
||||
namespace onblocks {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "DataInnerNode.h"
|
||||
#include "DataNodeStore.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using blockstore::Block;
|
||||
using cpputils::Data;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATANODESTORE_DATAINNERNODE_CHILDENTRY_H_
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATANODESTORE_DATAINNERNODE_CHILDENTRY_H_
|
||||
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
|
||||
namespace blobstore{
|
||||
namespace onblocks{
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "DataLeafNode.h"
|
||||
#include "DataInnerNode.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using blockstore::Block;
|
||||
using cpputils::Data;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "DataLeafNode.h"
|
||||
#include "DataNode.h"
|
||||
#include "DataNodeStore.h"
|
||||
#include <messmer/blockstore/utils/BlockStoreUtils.h>
|
||||
#include <blockstore/utils/BlockStoreUtils.h>
|
||||
|
||||
using blockstore::Block;
|
||||
using blockstore::Key;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATANODESTORE_DATANODE_H_
|
||||
|
||||
#include "DataNodeView.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
namespace blobstore {
|
||||
namespace onblocks {
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "DataInnerNode.h"
|
||||
#include "DataLeafNode.h"
|
||||
#include "DataNodeStore.h"
|
||||
#include "messmer/blockstore/interface/BlockStore.h"
|
||||
#include "messmer/blockstore/interface/Block.h"
|
||||
#include "messmer/blockstore/utils/BlockStoreUtils.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <blockstore/interface/BlockStore.h>
|
||||
#include <blockstore/interface/Block.h>
|
||||
#include <blockstore/utils/BlockStoreUtils.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using blockstore::BlockStore;
|
||||
using blockstore::Block;
|
||||
|
@ -3,9 +3,9 @@
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATANODESTORE_DATANODESTORE_H_
|
||||
|
||||
#include <memory>
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/macros.h>
|
||||
#include "DataNodeView.h"
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
|
||||
namespace blockstore{
|
||||
class Block;
|
||||
|
@ -2,11 +2,11 @@
|
||||
#ifndef MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATANODESTORE_DATANODEVIEW_H_
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATANODESTORE_DATANODEVIEW_H_
|
||||
|
||||
#include "messmer/blockstore/interface/Block.h"
|
||||
#include <blockstore/interface/Block.h>
|
||||
#include "../BlobStoreOnBlocks.h"
|
||||
#include "DataInnerNode_ChildEntry.h"
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
@ -7,10 +7,10 @@
|
||||
|
||||
#include "impl/algorithms.h"
|
||||
|
||||
#include "messmer/cpp-utils/pointer/cast.h"
|
||||
#include "messmer/cpp-utils/pointer/optional_ownership_ptr.h"
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/pointer/optional_ownership_ptr.h>
|
||||
#include <cmath>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using blockstore::Key;
|
||||
using blobstore::onblocks::datanodestore::DataNodeStore;
|
||||
|
@ -3,12 +3,12 @@
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATATREE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/cpp-utils/pointer/optional_ownership_ptr.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <cpp-utils/pointer/optional_ownership_ptr.h>
|
||||
#include "../datanodestore/DataNodeView.h"
|
||||
//TODO Replace with C++14 once std::shared_mutex is supported
|
||||
#include <boost/thread/shared_mutex.hpp>
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
|
||||
namespace blobstore {
|
||||
namespace onblocks {
|
||||
|
@ -3,9 +3,9 @@
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_DATATREESTORE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace blobstore {
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "algorithms.h"
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
|
||||
#include "../../datanodestore/DataInnerNode.h"
|
||||
#include "../../datanodestore/DataNodeStore.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::function;
|
||||
using cpputils::optional_ownership_ptr;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_IMPL_ALGORITHMS_H_
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_IMPL_ALGORITHMS_H_
|
||||
|
||||
#include <messmer/cpp-utils/pointer/optional_ownership_ptr.h>
|
||||
#include <cpp-utils/pointer/optional_ownership_ptr.h>
|
||||
|
||||
namespace blobstore {
|
||||
namespace onblocks {
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_PARALLELACCESSDATATREESTORE_DATATREEREF_H_
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_PARALLELACCESSDATATREESTORE_DATATREEREF_H_
|
||||
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include <parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "../datatreestore/DataTree.h"
|
||||
|
||||
namespace blobstore {
|
||||
|
@ -3,9 +3,9 @@
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_PARALLELACCESSDATATREESTORE_PARALLELACCESSDATATREESTORE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
#include <parallelaccessstore/ParallelAccessStore.h>
|
||||
|
||||
namespace blobstore {
|
||||
namespace onblocks {
|
||||
|
@ -2,8 +2,8 @@
|
||||
#ifndef MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_PARALLELACCESSDATATREESTORE_PARALLELACCESSDATATREESTOREADAPTER_H_
|
||||
#define MESSMER_BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_PARALLELACCESSDATATREESTORE_PARALLELACCESSDATATREESTOREADAPTER_H_
|
||||
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "../datatreestore/DataTreeStore.h"
|
||||
#include "../datatreestore/DataTree.h"
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdint>
|
||||
#include <messmer/blockstore/utils/Key.h>
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
namespace blobstore {
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
#include "messmer/blockstore/utils/Key.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <blockstore/utils/Key.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
|
||||
namespace blobstore {
|
||||
|
||||
|
@ -35,6 +35,7 @@ add_library(${PROJECT_NAME} STATIC ${SOURCES})
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE rt)
|
||||
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC cpp-utils)
|
||||
|
||||
target_add_boost(${PROJECT_NAME} filesystem system thread)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "../../interface/Block.h"
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace caching {
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include "../../interface/Block.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using cpputils::dynamic_pointer_move;
|
||||
using cpputils::Data;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "NewBlock.h"
|
||||
#include "CachingBlockStore.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <messmer/cpp-utils/data/DataUtils.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/data/DataUtils.h>
|
||||
|
||||
using cpputils::Data;
|
||||
using boost::none;
|
||||
|
@ -3,9 +3,9 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_CACHING_NEWBLOCK_H_
|
||||
|
||||
#include "../../interface/BlockStore.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <memory>
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include <memory>
|
||||
#include <boost/optional.hpp>
|
||||
#include <future>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <messmer/cpp-utils/lock/MutexPoolLock.h>
|
||||
#include <messmer/cpp-utils/pointer/gcc_4_8_compatibility.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/lock/MutexPoolLock.h>
|
||||
#include <cpp-utils/pointer/gcc_4_8_compatibility.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace caching {
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <boost/date_time/posix_time/posix_time_types.hpp>
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "PeriodicTask.h"
|
||||
#include <messmer/cpp-utils/logging/logging.h>
|
||||
#include <cpp-utils/logging/logging.h>
|
||||
|
||||
using std::function;
|
||||
using std::endl;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_CACHING_CACHE_PERIODICTASK_H_
|
||||
|
||||
#include <functional>
|
||||
#include <messmer/cpp-utils/thread/LoopThread.h>
|
||||
#include <cpp-utils/thread/LoopThread.h>
|
||||
#include <boost/chrono.hpp>
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <unordered_map>
|
||||
#include <cassert>
|
||||
#include <boost/optional.hpp>
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace caching {
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#include "../../interface/Block.h"
|
||||
#include "../../interface/BlockStore.h"
|
||||
#include <messmer/cpp-utils/data/DataUtils.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/data/DataUtils.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include <mutex>
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "Gzip.h"
|
||||
#include <cryptopp/cryptopp/gzip.h>
|
||||
#include <cryptopp/gzip.h>
|
||||
|
||||
using cpputils::Data;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_IMPLEMENTATIONS_COMPRESSING_COMPRESSORS_GZIP_H
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_COMPRESSING_COMPRESSORS_GZIP_H
|
||||
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace compressing {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "RunLengthEncoding.h"
|
||||
#include <sstream>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using cpputils::Data;
|
||||
using std::string;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_IMPLEMENTATIONS_COMPRESSING_COMPRESSORS_RUNLENGTHENCODING_H
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_COMPRESSING_COMPRESSORS_RUNLENGTHENCODING_H
|
||||
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace compressing {
|
||||
|
@ -3,18 +3,18 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_ENCRYPTED_ENCRYPTEDBLOCK_H_
|
||||
|
||||
#include "../../interface/Block.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include "../../interface/BlockStore.h"
|
||||
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <memory>
|
||||
#include <iostream>
|
||||
#include <boost/optional.hpp>
|
||||
#include <messmer/cpp-utils/crypto/symmetric/Cipher.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <messmer/cpp-utils/data/DataUtils.h>
|
||||
#include <cpp-utils/crypto/symmetric/Cipher.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/data/DataUtils.h>
|
||||
#include <mutex>
|
||||
#include <messmer/cpp-utils/logging/logging.h>
|
||||
#include <cpp-utils/logging/logging.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace encrypted {
|
||||
|
@ -3,8 +3,8 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_ENCRYPTED_ENCRYPTEDBLOCKSTORE_H_
|
||||
|
||||
#include "../../interface/BlockStore.h"
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include "EncryptedBlock.h"
|
||||
#include <iostream>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "InMemoryBlock.h"
|
||||
#include "InMemoryBlockStore.h"
|
||||
#include <cstring>
|
||||
#include <messmer/cpp-utils/data/DataUtils.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/data/DataUtils.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::make_shared;
|
||||
using std::istream;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
||||
|
||||
#include "../../interface/Block.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace inmemory {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "InMemoryBlock.h"
|
||||
#include "InMemoryBlockStore.h"
|
||||
#include <memory>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::make_unique;
|
||||
using std::string;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
||||
|
||||
#include "../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
|
||||
#include <mutex>
|
||||
#include <map>
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include "OnDiskBlock.h"
|
||||
#include "OnDiskBlockStore.h"
|
||||
#include "../../utils/FileDoesntExistException.h"
|
||||
#include <messmer/cpp-utils/data/DataUtils.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/data/DataUtils.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::istream;
|
||||
using std::ostream;
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include "../../interface/Block.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include <iostream>
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include <mutex>
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <boost/filesystem.hpp>
|
||||
#include "../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/macros.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace ondisk {
|
||||
|
@ -2,9 +2,9 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_IMPLEMENTATIONS_PARALLELACCESS_BLOCKREF_H_
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_PARALLELACCESS_BLOCKREF_H_
|
||||
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include <parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "../../interface/Block.h"
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <memory>
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -2,8 +2,8 @@
|
||||
#include "ParallelAccessBlockStore.h"
|
||||
#include "ParallelAccessBlockStoreAdapter.h"
|
||||
#include <cassert>
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::string;
|
||||
using std::promise;
|
||||
|
@ -2,10 +2,10 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_IMPLEMENTATIONS_PARALLELACCESS_PARALLELACCESSBLOCKSTORE_H_
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_PARALLELACCESS_PARALLELACCESSBLOCKSTORE_H_
|
||||
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include <parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "BlockRef.h"
|
||||
#include "../../interface/BlockStore.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace parallelaccess {
|
||||
|
@ -2,8 +2,8 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_IMPLEMENTATIONS_PARALLELACCESS_PARALLELACCESSBLOCKSTOREADAPTER_H_
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_PARALLELACCESS_PARALLELACCESSBLOCKSTOREADAPTER_H_
|
||||
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/parallelaccessstore/ParallelAccessStore.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <parallelaccessstore/ParallelAccessStore.h>
|
||||
#include "../../interface/BlockStore.h"
|
||||
|
||||
namespace blockstore {
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "FakeBlock.h"
|
||||
#include "FakeBlockStore.h"
|
||||
#include <cstring>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <messmer/cpp-utils/data/DataUtils.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/data/DataUtils.h>
|
||||
|
||||
using std::shared_ptr;
|
||||
using std::istream;
|
||||
|
@ -3,9 +3,9 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_TESTFAKE_FAKEBLOCK_H_
|
||||
|
||||
#include "../../interface/Block.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/macros.h>
|
||||
|
||||
namespace blockstore {
|
||||
namespace testfake {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "FakeBlock.h"
|
||||
#include "FakeBlockStore.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using std::make_shared;
|
||||
using std::string;
|
||||
|
@ -3,8 +3,8 @@
|
||||
#define MESSMER_BLOCKSTORE_IMPLEMENTATIONS_TESTFAKE_FAKEBLOCKSTORE_H_
|
||||
|
||||
#include "../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include "messmer/cpp-utils/macros.h"
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
|
||||
#include <mutex>
|
||||
#include <map>
|
||||
|
@ -5,8 +5,8 @@
|
||||
#include "Block.h"
|
||||
#include <string>
|
||||
#include <boost/optional.hpp>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
namespace blockstore {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "../BlockStore.h"
|
||||
#include "../Block.h"
|
||||
#include <messmer/cpp-utils/random/Random.h>
|
||||
#include <cpp-utils/random/Random.h>
|
||||
|
||||
namespace blockstore {
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "../interface/BlockStore.h"
|
||||
#include "BlockStoreUtils.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include <cassert>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
using cpputils::Data;
|
||||
using cpputils::unique_ref;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_UTILS_BLOCKSTOREUTILS_H_
|
||||
#define MESSMER_BLOCKSTORE_UTILS_BLOCKSTOREUTILS_H_
|
||||
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
|
||||
namespace blockstore {
|
||||
class BlockStore;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define MESSMER_BLOCKSTORE_UTILS_KEY_H_
|
||||
|
||||
#include <string>
|
||||
#include <messmer/cpp-utils/data/FixedSizeData.h>
|
||||
#include <cpp-utils/data/FixedSizeData.h>
|
||||
|
||||
namespace blockstore {
|
||||
|
||||
|
@ -40,7 +40,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE rt)
|
||||
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE curl)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE pthread curl)
|
||||
|
||||
# TODO From Crypto++ 5.7 on, it should support cmake with find_package().
|
||||
find_library(CryptoPP cryptopp)
|
||||
|
@ -1,12 +1,12 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <messmer/blockstore/implementations/compressing/CompressingBlockStore.h>
|
||||
#include <messmer/blockstore/implementations/compressing/compressors/RunLengthEncoding.h>
|
||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlockStore.h>
|
||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlock.h>
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include "../../../implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include "../../../implementations/onblocks/BlobOnBlocks.h"
|
||||
#include <blockstore/implementations/compressing/CompressingBlockStore.h>
|
||||
#include <blockstore/implementations/compressing/compressors/RunLengthEncoding.h>
|
||||
#include <blockstore/implementations/inmemory/InMemoryBlockStore.h>
|
||||
#include <blockstore/implementations/inmemory/InMemoryBlock.h>
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include "blobstore/implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include "blobstore/implementations/onblocks/BlobOnBlocks.h"
|
||||
|
||||
using namespace blobstore;
|
||||
using namespace blobstore::onblocks;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "testutils/BlobStoreTest.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include "../../../implementations/onblocks/datanodestore/DataNodeView.h"
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeView.h"
|
||||
|
||||
using cpputils::unique_ref;
|
||||
using ::testing::WithParamInterface;
|
||||
@ -60,7 +60,7 @@ TEST_F(BlobReadWriteTest, WritingImmediatelyFlushes_LargeSize) {
|
||||
TEST_F(BlobReadWriteTest, WritingCloseTo16ByteLimitDoesntDestroySize) {
|
||||
blob->resize(1);
|
||||
blob->write(randomData.data(), 32776, 4);
|
||||
EXPECT_EQ(32780, blob->size());
|
||||
EXPECT_EQ(32780u, blob->size());
|
||||
}
|
||||
|
||||
struct DataRange {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "testutils/BlobStoreTest.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <cpp-utils/data/Data.h>
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
|
||||
using namespace blobstore;
|
||||
using blockstore::Key;
|
||||
@ -21,12 +21,12 @@ constexpr uint32_t BlobSizeTest::MEDIUM_SIZE;
|
||||
constexpr uint32_t BlobSizeTest::LARGE_SIZE;
|
||||
|
||||
TEST_F(BlobSizeTest, CreatedBlobIsEmpty) {
|
||||
EXPECT_EQ(0, blob->size());
|
||||
EXPECT_EQ(0u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, Growing_1Byte) {
|
||||
blob->resize(1);
|
||||
EXPECT_EQ(1, blob->size());
|
||||
EXPECT_EQ(1u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, Growing_Large) {
|
||||
@ -37,24 +37,24 @@ TEST_F(BlobSizeTest, Growing_Large) {
|
||||
TEST_F(BlobSizeTest, Shrinking_Empty) {
|
||||
blob->resize(LARGE_SIZE);
|
||||
blob->resize(0);
|
||||
EXPECT_EQ(0, blob->size());
|
||||
EXPECT_EQ(0u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, Shrinking_1Byte) {
|
||||
blob->resize(LARGE_SIZE);
|
||||
blob->resize(1);
|
||||
EXPECT_EQ(1, blob->size());
|
||||
EXPECT_EQ(1u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, ResizingToItself_Empty) {
|
||||
blob->resize(0);
|
||||
EXPECT_EQ(0, blob->size());
|
||||
EXPECT_EQ(0u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, ResizingToItself_1Byte) {
|
||||
blob->resize(1);
|
||||
blob->resize(1);
|
||||
EXPECT_EQ(1, blob->size());
|
||||
EXPECT_EQ(1u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, ResizingToItself_Large) {
|
||||
@ -67,7 +67,7 @@ TEST_F(BlobSizeTest, EmptyBlobStaysEmptyWhenLoading) {
|
||||
Key key = blob->key();
|
||||
reset(std::move(blob));
|
||||
auto loaded = loadBlob(key);
|
||||
EXPECT_EQ(0, loaded->size());
|
||||
EXPECT_EQ(0u, loaded->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, BlobSizeStaysIntactWhenLoading) {
|
||||
@ -81,34 +81,34 @@ TEST_F(BlobSizeTest, BlobSizeStaysIntactWhenLoading) {
|
||||
TEST_F(BlobSizeTest, WritingAtEndOfBlobGrowsBlob_Empty) {
|
||||
int value;
|
||||
blob->write(&value, 0, 4);
|
||||
EXPECT_EQ(4, blob->size());
|
||||
EXPECT_EQ(4u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, WritingAfterEndOfBlobGrowsBlob_Empty) {
|
||||
int value;
|
||||
blob->write(&value, 2, 4);
|
||||
EXPECT_EQ(6, blob->size());
|
||||
EXPECT_EQ(6u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, WritingOverEndOfBlobGrowsBlob_NonEmpty) {
|
||||
blob->resize(1);
|
||||
int value;
|
||||
blob->write(&value, 0, 4);
|
||||
EXPECT_EQ(4, blob->size());
|
||||
EXPECT_EQ(4u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, WritingAtEndOfBlobGrowsBlob_NonEmpty) {
|
||||
blob->resize(1);
|
||||
int value;
|
||||
blob->write(&value, 1, 4);
|
||||
EXPECT_EQ(5, blob->size());
|
||||
EXPECT_EQ(5u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, WritingAfterEndOfBlobGrowsBlob_NonEmpty) {
|
||||
blob->resize(1);
|
||||
int value;
|
||||
blob->write(&value, 2, 4);
|
||||
EXPECT_EQ(6, blob->size());
|
||||
EXPECT_EQ(6u, blob->size());
|
||||
}
|
||||
|
||||
TEST_F(BlobSizeTest, ChangingSizeImmediatelyFlushes) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "testutils/BlobStoreTest.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
using blockstore::Key;
|
||||
using cpputils::unique_ref;
|
||||
|
@ -1,14 +1,14 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlock.h"
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlock.h>
|
||||
|
||||
#include <memory>
|
||||
#include "messmer/cpp-utils/pointer/cast.h"
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
|
||||
using ::testing::Test;
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "../../../../implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "blobstore/implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "messmer/cpp-utils/pointer/cast.h"
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlock.h"
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlock.h>
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
|
||||
using ::testing::Test;
|
||||
using ::testing::WithParamInterface;
|
||||
|
@ -1,13 +1,13 @@
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataNode.h"
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "../../../../implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "blobstore/implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlock.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlock.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
using ::testing::Test;
|
||||
using cpputils::unique_ref;
|
||||
@ -109,29 +109,29 @@ TEST_F(DataNodeStoreTest, NodeIsNotLoadableAfterDeleting) {
|
||||
}
|
||||
|
||||
TEST_F(DataNodeStoreTest, NumNodesIsCorrectOnEmptyNodestore) {
|
||||
EXPECT_EQ(0, nodeStore->numNodes());
|
||||
EXPECT_EQ(0u, nodeStore->numNodes());
|
||||
}
|
||||
|
||||
TEST_F(DataNodeStoreTest, NumNodesIsCorrectAfterAddingOneLeafNode) {
|
||||
nodeStore->createNewLeafNode();
|
||||
EXPECT_EQ(1, nodeStore->numNodes());
|
||||
EXPECT_EQ(1u, nodeStore->numNodes());
|
||||
}
|
||||
|
||||
TEST_F(DataNodeStoreTest, NumNodesIsCorrectAfterRemovingTheLastNode) {
|
||||
auto leaf = nodeStore->createNewLeafNode();
|
||||
nodeStore->remove(std::move(leaf));
|
||||
EXPECT_EQ(0, nodeStore->numNodes());
|
||||
EXPECT_EQ(0u, nodeStore->numNodes());
|
||||
}
|
||||
|
||||
TEST_F(DataNodeStoreTest, NumNodesIsCorrectAfterAddingTwoNodes) {
|
||||
auto leaf = nodeStore->createNewLeafNode();
|
||||
auto node = nodeStore->createNewInnerNode(*leaf);
|
||||
EXPECT_EQ(2, nodeStore->numNodes());
|
||||
EXPECT_EQ(2u, nodeStore->numNodes());
|
||||
}
|
||||
|
||||
TEST_F(DataNodeStoreTest, NumNodesIsCorrectAfterRemovingANode) {
|
||||
auto leaf = nodeStore->createNewLeafNode();
|
||||
auto node = nodeStore->createNewInnerNode(*leaf);
|
||||
nodeStore->remove(std::move(node));
|
||||
EXPECT_EQ(1, nodeStore->numNodes());
|
||||
EXPECT_EQ(1u, nodeStore->numNodes());
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataNodeView.h"
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeView.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlock.h"
|
||||
#include "../../../../implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlock.h>
|
||||
#include "blobstore/implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
|
||||
using ::testing::Test;
|
||||
using ::testing::WithParamInterface;
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "testutils/DataTreeTest.h"
|
||||
|
||||
#include "../../../../implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "../../../../implementations/onblocks/datatreestore/DataTreeStore.h"
|
||||
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "blobstore/implementations/onblocks/datatreestore/DataTreeStore.h"
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
using blockstore::testfake::FakeBlockStore;
|
||||
using blockstore::Key;
|
||||
@ -49,6 +49,6 @@ TEST_F(DataTreeStoreTest, RemovingTreeRemovesAllNodesOfTheTree) {
|
||||
treeStore.remove(std::move(tree1));
|
||||
|
||||
//Check that the only remaining node is tree2
|
||||
EXPECT_EQ(1, nodeStore->numNodes());
|
||||
EXPECT_EQ(1u, nodeStore->numNodes());
|
||||
EXPECT_NE(none, treeStore.load(tree2_key));
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "testutils/DataTreeTest.h"
|
||||
#include <google/gmock/gmock.h>
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
using ::testing::_;
|
||||
using ::testing::WithParamInterface;
|
||||
@ -18,7 +18,7 @@ public:
|
||||
|
||||
TEST_F(DataTreeTest_NumStoredBytes, CreatedTreeIsEmpty) {
|
||||
auto tree = treeStore.createNewTree();
|
||||
EXPECT_EQ(0, tree->numStoredBytes());
|
||||
EXPECT_EQ(0u, tree->numStoredBytes());
|
||||
}
|
||||
|
||||
class DataTreeTest_NumStoredBytes_P: public DataTreeTest_NumStoredBytes, public WithParamInterface<uint32_t> {};
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "testutils/DataTreeTest.h"
|
||||
#include "testutils/TwoLevelDataFixture.h"
|
||||
#include "../../../../implementations/onblocks/utils/Math.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include "blobstore/implementations/onblocks/utils/Math.h"
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
#include <tuple>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "testutils/DataTreeTest.h"
|
||||
#include "testutils/TwoLevelDataFixture.h"
|
||||
#include "../../../../implementations/onblocks/utils/Math.h"
|
||||
#include <messmer/cpp-utils/data/Data.h>
|
||||
#include "blobstore/implementations/onblocks/utils/Math.h"
|
||||
#include <cpp-utils/data/Data.h>
|
||||
|
||||
#include <tuple>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "testutils/DataTreeTest.h"
|
||||
#include <google/gmock/gmock.h>
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
using ::testing::_;
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "google/gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../testutils/DataTreeTest.h"
|
||||
#include "../../../../../implementations/onblocks/datatreestore/DataTree.h"
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "../../../../../implementations/onblocks/datatreestore/impl/algorithms.h"
|
||||
#include "blobstore/implementations/onblocks/datatreestore/DataTree.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include "blobstore/implementations/onblocks/datatreestore/impl/algorithms.h"
|
||||
|
||||
using ::testing::Test;
|
||||
using std::pair;
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "google/gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../testutils/DataTreeTest.h"
|
||||
#include "../../../../../implementations/onblocks/datatreestore/DataTree.h"
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "../../../../../implementations/onblocks/datatreestore/impl/algorithms.h"
|
||||
#include "blobstore/implementations/onblocks/datatreestore/DataTree.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include "blobstore/implementations/onblocks/datatreestore/impl/algorithms.h"
|
||||
|
||||
using ::testing::Test;
|
||||
using std::pair;
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "DataTreeTest.h"
|
||||
|
||||
#include "messmer/blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
using blobstore::onblocks::datanodestore::DataNodeStore;
|
||||
using blobstore::onblocks::datanodestore::DataNode;
|
||||
|
@ -2,13 +2,13 @@
|
||||
#ifndef MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_DATATREETEST_H_
|
||||
#define MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_DATATREETEST_H_
|
||||
|
||||
#include "google/gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "../../../../../implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "../../../../../implementations/onblocks/datatreestore/DataTree.h"
|
||||
#include "../../../../../implementations/onblocks/datatreestore/DataTreeStore.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataNodeStore.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataInnerNode.h"
|
||||
#include "blobstore/implementations/onblocks/datanodestore/DataLeafNode.h"
|
||||
#include "blobstore/implementations/onblocks/datatreestore/DataTree.h"
|
||||
#include "blobstore/implementations/onblocks/datatreestore/DataTreeStore.h"
|
||||
|
||||
class DataTreeTest: public ::testing::Test {
|
||||
public:
|
||||
|
@ -2,9 +2,9 @@
|
||||
#ifndef MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_GROWING_TESTUTILS_LEAFDATAFIXTURE_H_
|
||||
#define MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_GROWING_TESTUTILS_LEAFDATAFIXTURE_H_
|
||||
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
|
||||
// A data fixture containing data for a leaf.
|
||||
// The class can fill this data into a given leaf
|
||||
|
@ -2,10 +2,10 @@
|
||||
#ifndef MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_GROWING_TESTUTILS_TWOLEVELDATAFIXTURE_H_
|
||||
#define MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_DATATREESTORE_GROWING_TESTUTILS_TWOLEVELDATAFIXTURE_H_
|
||||
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <messmer/cpp-utils/pointer/cast.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <cpp-utils/pointer/cast.h>
|
||||
#include "LeafDataFixture.h"
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
//TODO Rename, since we now allow any number of levels
|
||||
// A data fixture containing data for a two-level tree (one inner node with leaf children).
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "BlobStoreTest.h"
|
||||
|
||||
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include "../../../../implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
#include <blockstore/implementations/testfake/FakeBlockStore.h>
|
||||
#include "blobstore/implementations/onblocks/BlobStoreOnBlocks.h"
|
||||
|
||||
using blobstore::onblocks::BlobStoreOnBlocks;
|
||||
using blockstore::testfake::FakeBlockStore;
|
||||
|
@ -2,9 +2,9 @@
|
||||
#ifndef MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_TESTUTILS_BLOBSTORETEST_H_
|
||||
#define MESSMER_BLOBSTORE_TEST_IMPLEMENTATIONS_ONBLOCKS_TESTUTILS_BLOBSTORETEST_H_
|
||||
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../../../../interface/BlobStore.h"
|
||||
#include "blobstore/interface/BlobStore.h"
|
||||
|
||||
class BlobStoreTest: public ::testing::Test {
|
||||
public:
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "../../../../implementations/onblocks/utils/Math.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/utils/Math.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "../../../../implementations/onblocks/utils/Math.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/utils/Math.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "../../../../implementations/onblocks/utils/Math.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/utils/Math.h"
|
||||
|
||||
using namespace blobstore::onblocks::utils;
|
||||
using ::testing::Test;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "../../../../implementations/onblocks/utils/Math.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include "blobstore/implementations/onblocks/utils/Math.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "../../../implementations/caching/CachingBlockStore.h"
|
||||
#include "../../../implementations/testfake/FakeBlockStore.h"
|
||||
#include "blockstore/implementations/caching/CachingBlockStore.h"
|
||||
#include "blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "../../testutils/BlockStoreTest.h"
|
||||
#include "google/gtest/gtest.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
|
||||
using blockstore::BlockStore;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include "../../../../implementations/caching/cache/Cache.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include "blockstore/implementations/caching/cache/Cache.h"
|
||||
#include "testutils/MinimalKeyType.h"
|
||||
#include "testutils/CopyableMovableValueType.h"
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "testutils/CacheTest.h"
|
||||
|
||||
#include "../../../../implementations/caching/cache/Cache.h"
|
||||
#include "blockstore/implementations/caching/cache/Cache.h"
|
||||
#include "testutils/MinimalKeyType.h"
|
||||
#include "testutils/MinimalValueType.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
using ::testing::Test;
|
||||
|
||||
@ -48,7 +48,7 @@ TEST_F(CacheTest_PushAndPop, FullCache) {
|
||||
push(i, 2*i);
|
||||
}
|
||||
for(unsigned int i = 0; i < MAX_ENTRIES; ++i) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,7 +60,7 @@ TEST_F(CacheTest_PushAndPop, FullCache_PushNonOrdered_PopOrdered) {
|
||||
push(i, 2*i);
|
||||
}
|
||||
for(unsigned int i = 0; i < MAX_ENTRIES; ++i) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,10 +69,10 @@ TEST_F(CacheTest_PushAndPop, FullCache_PushOrdered_PopNonOrdered) {
|
||||
push(i, 2*i);
|
||||
}
|
||||
for(unsigned int i = 1; i < MAX_ENTRIES; i += 2) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
for(unsigned int i = 0; i < MAX_ENTRIES; i += 2) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
}
|
||||
|
||||
@ -100,10 +100,10 @@ TEST_F(CacheTest_PushAndPop, FullCache_PushNonOrdered_PopNonOrdered) {
|
||||
push(i, 2*i);
|
||||
}
|
||||
for(int i = roundDownToOdd(MAX_ENTRIES-1); i >= 0; i -= 2) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
for(unsigned int i = 0; i < MAX_ENTRIES; i += 2) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ TEST_F(CacheTest_PushAndPop, MoreThanFullCache) {
|
||||
EXPECT_EQ(boost::none, pop(1));
|
||||
//Check the other elements are still there
|
||||
for(unsigned int i = 2; i < MAX_ENTRIES + 2; ++i) {
|
||||
EXPECT_EQ(2*i, pop(i).value());
|
||||
EXPECT_EQ((signed int)(2*i), pop(i).value());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <thread>
|
||||
#include <memory>
|
||||
#include <future>
|
||||
#include <messmer/cpp-utils/lock/ConditionBarrier.h>
|
||||
#include <cpp-utils/lock/ConditionBarrier.h>
|
||||
|
||||
using namespace blockstore::caching;
|
||||
using std::chrono::seconds;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../../../../implementations/caching/cache/PeriodicTask.h"
|
||||
#include "blockstore/implementations/caching/cache/PeriodicTask.h"
|
||||
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include "../../../../implementations/caching/cache/QueueMap.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include "blockstore/implementations/caching/cache/QueueMap.h"
|
||||
#include "testutils/MinimalKeyType.h"
|
||||
#include "testutils/CopyableMovableValueType.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "testutils/QueueMapTest.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
class QueueMapTest_Values: public QueueMapTest {};
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_TEST_IMPLEMENTATIONS_CACHING_CACHE_TESTUTILS_QUEUEMAPTEST_H_
|
||||
#define MESSMER_BLOCKSTORE_TEST_IMPLEMENTATIONS_CACHING_CACHE_TESTUTILS_QUEUEMAPTEST_H_
|
||||
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "../../../../../implementations/caching/cache/Cache.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include "blockstore/implementations/caching/cache/Cache.h"
|
||||
#include "MinimalKeyType.h"
|
||||
#include "MinimalValueType.h"
|
||||
#include <boost/optional.hpp>
|
||||
|
@ -2,9 +2,9 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_TEST_IMPLEMENTATIONS_CACHING_CACHE_TESTUTILS_MINIMALVALUETYPE_H_
|
||||
#define MESSMER_BLOCKSTORE_TEST_IMPLEMENTATIONS_CACHING_CACHE_TESTUTILS_MINIMALVALUETYPE_H_
|
||||
|
||||
#include <messmer/cpp-utils/macros.h>
|
||||
#include <cpp-utils/macros.h>
|
||||
#include <cassert>
|
||||
#include <messmer/cpp-utils/assert/assert.h>
|
||||
#include <cpp-utils/assert/assert.h>
|
||||
|
||||
// This is a not-default-constructible non-copyable but moveable Value type
|
||||
class MinimalValueType {
|
||||
|
@ -2,9 +2,9 @@
|
||||
#ifndef MESSMER_BLOCKSTORE_TEST_IMPLEMENTATIONS_CACHING_CACHE_TESTUTILS_QUEUEMAPTEST_H_
|
||||
#define MESSMER_BLOCKSTORE_TEST_IMPLEMENTATIONS_CACHING_CACHE_TESTUTILS_QUEUEMAPTEST_H_
|
||||
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <messmer/cpp-utils/pointer/unique_ref.h>
|
||||
#include "../../../../../implementations/caching/cache/QueueMap.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <cpp-utils/pointer/unique_ref.h>
|
||||
#include "blockstore/implementations/caching/cache/QueueMap.h"
|
||||
#include "MinimalKeyType.h"
|
||||
#include "MinimalValueType.h"
|
||||
#include <boost/optional.hpp>
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "../../../implementations/compressing/CompressingBlockStore.h"
|
||||
#include "../../../implementations/compressing/compressors/Gzip.h"
|
||||
#include "../../../implementations/compressing/compressors/RunLengthEncoding.h"
|
||||
#include "../../../implementations/testfake/FakeBlockStore.h"
|
||||
#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 "google/gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
using ::testing::Test;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include "../../../../../implementations/compressing/compressors/Gzip.h"
|
||||
#include "../../../../../implementations/compressing/compressors/RunLengthEncoding.h"
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include "blockstore/implementations/compressing/compressors/Gzip.h"
|
||||
#include "blockstore/implementations/compressing/compressors/RunLengthEncoding.h"
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
|
||||
using namespace blockstore::compressing;
|
||||
using cpputils::Data;
|
||||
|
@ -1,10 +1,11 @@
|
||||
#include <messmer/cpp-utils/crypto/symmetric/ciphers.h>
|
||||
#include <messmer/cpp-utils/crypto/symmetric/Cipher.h>
|
||||
#include "../../../implementations/encrypted/EncryptedBlockStore.h"
|
||||
#include "../../../implementations/testfake/FakeBlockStore.h"
|
||||
#include <cpp-utils/crypto/symmetric/ciphers.h>
|
||||
#include <cpp-utils/crypto/symmetric/Cipher.h>
|
||||
#include "blockstore/implementations/encrypted/EncryptedBlockStore.h"
|
||||
#include "blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "../../testutils/BlockStoreTest.h"
|
||||
#include <messmer/cpp-utils/test/crypto/symmetric/testutils/FakeAuthenticatedCipher.h>
|
||||
#include "google/gtest/gtest.h"
|
||||
//TODO Move FakeAuthenticatedCipher out of test folder to normal folder. Dependencies should not point into tests of other modules.
|
||||
#include "../../../cpp-utils/crypto/symmetric/testutils/FakeAuthenticatedCipher.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
using ::testing::Test;
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include <google/gtest/gtest.h>
|
||||
#include <messmer/cpp-utils/test/crypto/symmetric/testutils/FakeAuthenticatedCipher.h>
|
||||
#include "../../../implementations/encrypted/EncryptedBlockStore.h"
|
||||
#include "../../../implementations/testfake/FakeBlockStore.h"
|
||||
#include "../../../utils/BlockStoreUtils.h"
|
||||
#include <messmer/cpp-utils/data/DataFixture.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include "../../../cpp-utils/crypto/symmetric/testutils/FakeAuthenticatedCipher.h"
|
||||
#include "blockstore/implementations/encrypted/EncryptedBlockStore.h"
|
||||
#include "blockstore/implementations/testfake/FakeBlockStore.h"
|
||||
#include "blockstore/utils/BlockStoreUtils.h"
|
||||
#include <cpp-utils/data/DataFixture.h>
|
||||
|
||||
using ::testing::Test;
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "../../../implementations/inmemory/InMemoryBlock.h"
|
||||
#include "../../../implementations/inmemory/InMemoryBlockStore.h"
|
||||
#include "blockstore/implementations/inmemory/InMemoryBlock.h"
|
||||
#include "blockstore/implementations/inmemory/InMemoryBlockStore.h"
|
||||
#include "../../testutils/BlockStoreTest.h"
|
||||
#include "../../testutils/BlockStoreWithRandomKeysTest.h"
|
||||
#include "google/gtest/gtest.h"
|
||||
#include <messmer/cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <cpp-utils/pointer/unique_ref_boost_optional_gtest_workaround.h>
|
||||
|
||||
|
||||
using blockstore::BlockStore;
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "../../../implementations/ondisk/OnDiskBlock.h"
|
||||
#include "../../../implementations/ondisk/OnDiskBlockStore.h"
|
||||
#include "blockstore/implementations/ondisk/OnDiskBlock.h"
|
||||
#include "blockstore/implementations/ondisk/OnDiskBlockStore.h"
|
||||
#include "../../testutils/BlockStoreTest.h"
|
||||
#include "../../testutils/BlockStoreWithRandomKeysTest.h"
|
||||
#include "google/gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "messmer/cpp-utils/tempfile/TempDir.h"
|
||||
#include <cpp-utils/tempfile/TempDir.h>
|
||||
|
||||
|
||||
using blockstore::BlockStore;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user