From 3d164a77cb1057e982f3217a505cb21eadf46535 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 13 Mar 2016 18:22:35 +0100 Subject: SelfTests: Organized into solution folders. --- tests/ChunkData/CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests/ChunkData') diff --git a/tests/ChunkData/CMakeLists.txt b/tests/ChunkData/CMakeLists.txt index bd2d6d9b4..8c1b10e9f 100644 --- a/tests/ChunkData/CMakeLists.txt +++ b/tests/ChunkData/CMakeLists.txt @@ -33,3 +33,20 @@ add_test(NAME arraystocoords-test COMMAND arraystocoords-exe) add_executable(copyblocks-exe CopyBlocks.cpp) target_link_libraries(copyblocks-exe ChunkBuffer) add_test(NAME copyblocks-test COMMAND copyblocks-exe) + + + + +# Put all test projects into a separate folder: +set_target_properties( + arraystocoords-exe + coordinates-exe + copies-exe + copyblocks-exe + creatable-exe + PROPERTIES FOLDER Tests/ChunkData +) +set_target_properties( + ChunkBuffer + PROPERTIES FOLDER Lib +) -- cgit v1.2.3 From ea47247dc72a7ee44f97628e45c5b6867f46bedf Mon Sep 17 00:00:00 2001 From: Mattes D Date: Thu, 16 Jun 2016 17:34:17 +0200 Subject: SelfTests: Print a quick message on test start. --- tests/ChunkData/ArraytoCoord.cpp | 2 ++ tests/ChunkData/Coordinates.cpp | 2 ++ tests/ChunkData/Copies.cpp | 2 ++ tests/ChunkData/CopyBlocks.cpp | 2 ++ tests/ChunkData/creatable.cpp | 2 ++ 5 files changed, 10 insertions(+) (limited to 'tests/ChunkData') diff --git a/tests/ChunkData/ArraytoCoord.cpp b/tests/ChunkData/ArraytoCoord.cpp index 9d0ca6c8c..19f7ef105 100644 --- a/tests/ChunkData/ArraytoCoord.cpp +++ b/tests/ChunkData/ArraytoCoord.cpp @@ -6,6 +6,8 @@ int main(int argc, char** argv) { + LOGD("Test started"); + class cMockAllocationPool : public cAllocationPool { diff --git a/tests/ChunkData/Coordinates.cpp b/tests/ChunkData/Coordinates.cpp index 1aabb5374..384af7e03 100644 --- a/tests/ChunkData/Coordinates.cpp +++ b/tests/ChunkData/Coordinates.cpp @@ -6,6 +6,8 @@ int main(int argc, char** argv) { + LOGD("Test started"); + class cMockAllocationPool : public cAllocationPool { diff --git a/tests/ChunkData/Copies.cpp b/tests/ChunkData/Copies.cpp index 440819e91..6353d7273 100644 --- a/tests/ChunkData/Copies.cpp +++ b/tests/ChunkData/Copies.cpp @@ -6,6 +6,8 @@ int main(int argc, char** argv) { + LOGD("Test started"); + class cMockAllocationPool : public cAllocationPool { diff --git a/tests/ChunkData/CopyBlocks.cpp b/tests/ChunkData/CopyBlocks.cpp index 99f416e94..b76b2d420 100644 --- a/tests/ChunkData/CopyBlocks.cpp +++ b/tests/ChunkData/CopyBlocks.cpp @@ -16,6 +16,8 @@ int main(int argc, char ** argv) { + LOGD("Test started"); + // Set up a cChunkData with known contents - all blocks 0x01, all metas 0x02: class cMockAllocationPool : public cAllocationPool diff --git a/tests/ChunkData/creatable.cpp b/tests/ChunkData/creatable.cpp index fc786f688..a879c3dd7 100644 --- a/tests/ChunkData/creatable.cpp +++ b/tests/ChunkData/creatable.cpp @@ -4,6 +4,8 @@ int main(int argc, char** argv) { + LOGD("Test started"); + class cMockAllocationPool : public cAllocationPool { -- cgit v1.2.3