2016-02-11 14:44:28 +01:00
|
|
|
project (blockstore-test)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
utils/BlockStoreUtilsTest.cpp
|
|
|
|
interface/helpers/BlockStoreWithRandomKeysTest.cpp
|
|
|
|
interface/BlockStoreTest.cpp
|
|
|
|
interface/BlockTest.cpp
|
|
|
|
implementations/testfake/TestFakeBlockStoreTest.cpp
|
2016-07-15 10:23:09 +02:00
|
|
|
implementations/mock/MockBlockStoreTest.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
implementations/inmemory/InMemoryBlockStoreTest.cpp
|
2016-03-16 19:35:56 +01:00
|
|
|
implementations/parallelaccess/ParallelAccessBlockStoreTest_Generic.cpp
|
|
|
|
implementations/parallelaccess/ParallelAccessBlockStoreTest_Specific.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
implementations/compressing/CompressingBlockStoreTest.cpp
|
|
|
|
implementations/compressing/compressors/testutils/CompressorTest.cpp
|
|
|
|
implementations/encrypted/EncryptedBlockStoreTest_Generic.cpp
|
2016-03-16 19:35:56 +01:00
|
|
|
implementations/encrypted/EncryptedBlockStoreTest_Specific.cpp
|
|
|
|
implementations/ondisk/OnDiskBlockStoreTest_Generic.cpp
|
|
|
|
implementations/ondisk/OnDiskBlockStoreTest_Specific.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
implementations/ondisk/OnDiskBlockTest/OnDiskBlockCreateTest.cpp
|
|
|
|
implementations/ondisk/OnDiskBlockTest/OnDiskBlockFlushTest.cpp
|
|
|
|
implementations/ondisk/OnDiskBlockTest/OnDiskBlockLoadTest.cpp
|
2017-08-22 01:03:04 +02:00
|
|
|
implementations/caching/CachingBlockStore2Test_Generic.cpp
|
|
|
|
implementations/caching/CachingBlockStore2Test_Specific.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
implementations/caching/cache/QueueMapTest_Values.cpp
|
|
|
|
implementations/caching/cache/testutils/MinimalKeyType.cpp
|
|
|
|
implementations/caching/cache/testutils/CopyableMovableValueType.cpp
|
|
|
|
implementations/caching/cache/testutils/MinimalValueType.cpp
|
|
|
|
implementations/caching/cache/testutils/QueueMapTest.cpp
|
|
|
|
implementations/caching/cache/testutils/CacheTest.cpp
|
|
|
|
implementations/caching/cache/QueueMapTest_Size.cpp
|
|
|
|
implementations/caching/cache/CacheTest_MoveConstructor.cpp
|
|
|
|
implementations/caching/cache/CacheTest_PushAndPop.cpp
|
|
|
|
implementations/caching/cache/QueueMapTest_MoveConstructor.cpp
|
|
|
|
implementations/caching/cache/QueueMapTest_MemoryLeak.cpp
|
|
|
|
implementations/caching/cache/CacheTest_RaceCondition.cpp
|
|
|
|
implementations/caching/cache/PeriodicTaskTest.cpp
|
|
|
|
implementations/caching/cache/QueueMapTest_Peek.cpp
|
2016-06-22 00:07:06 +02:00
|
|
|
implementations/versioncounting/KnownBlockVersionsTest.cpp
|
|
|
|
implementations/versioncounting/VersionCountingBlockStoreTest_Generic.cpp
|
|
|
|
implementations/versioncounting/VersionCountingBlockStoreTest_Specific.cpp
|
2017-07-07 23:18:09 +02:00
|
|
|
implementations/low2highlevel/LowToHighLevelBlockStoreTest.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
|
|
|
target_link_libraries(${PROJECT_NAME} googletest blockstore)
|
|
|
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
|
|
|
|
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|