2016-02-11 14:44:28 +01:00
|
|
|
project (blockstore-test)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
utils/BlockStoreUtilsTest.cpp
|
|
|
|
interface/BlockStoreTest.cpp
|
2017-09-18 21:42:07 +02:00
|
|
|
interface/BlockStore2Test.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
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
|
2017-09-16 01:18:58 +02:00
|
|
|
implementations/integrity/KnownBlockVersionsTest.cpp
|
|
|
|
implementations/integrity/IntegrityBlockStoreTest_Generic.cpp
|
|
|
|
implementations/integrity/IntegrityBlockStoreTest_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})
|
2019-03-24 06:01:26 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} my-gtest-main googletest blockstore)
|
2016-02-11 14:44:28 +01:00
|
|
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
|
|
|
|
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|