From 53a3657b29a0515fec22ea0c1f810c507efd208b Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 10 Apr 2021 19:26:47 +0200 Subject: [PATCH] :truck: Move tests to a standard folder --- CMakeLists.txt | 44 ++++++++++++++-------------- {SourceT => test}/appfat_test.cpp | 0 {SourceT => test}/automap_test.cpp | 0 {SourceT => test}/codec_test.cpp | 0 {SourceT => test}/control_test.cpp | 0 {SourceT => test}/cursor_test.cpp | 0 {SourceT => test}/dead_test.cpp | 0 {SourceT => test}/diablo_test.cpp | 0 {SourceT => test}/doom_test.cpp | 0 {SourceT => test}/drlg_l1_test.cpp | 0 {SourceT => test}/drlg_l2_test.cpp | 0 {SourceT => test}/drlg_l3_test.cpp | 0 {SourceT => test}/drlg_l4_test.cpp | 0 {SourceT => test}/effects_test.cpp | 0 {SourceT => test}/file_util_test.cpp | 0 {SourceT => test}/inv_test.cpp | 0 {SourceT => test}/lighting_test.cpp | 0 {SourceT => test}/missiles_test.cpp | 0 {SourceT => test}/pack_test.cpp | 0 {SourceT => test}/picosha2.h | 0 {SourceT => test}/player_test.cpp | 0 {SourceT => test}/scrollrt_test.cpp | 0 {SourceT => test}/stores_test.cpp | 0 {SourceT => test}/writehero_test.cpp | 0 24 files changed, 22 insertions(+), 22 deletions(-) rename {SourceT => test}/appfat_test.cpp (100%) rename {SourceT => test}/automap_test.cpp (100%) rename {SourceT => test}/codec_test.cpp (100%) rename {SourceT => test}/control_test.cpp (100%) rename {SourceT => test}/cursor_test.cpp (100%) rename {SourceT => test}/dead_test.cpp (100%) rename {SourceT => test}/diablo_test.cpp (100%) rename {SourceT => test}/doom_test.cpp (100%) rename {SourceT => test}/drlg_l1_test.cpp (100%) rename {SourceT => test}/drlg_l2_test.cpp (100%) rename {SourceT => test}/drlg_l3_test.cpp (100%) rename {SourceT => test}/drlg_l4_test.cpp (100%) rename {SourceT => test}/effects_test.cpp (100%) rename {SourceT => test}/file_util_test.cpp (100%) rename {SourceT => test}/inv_test.cpp (100%) rename {SourceT => test}/lighting_test.cpp (100%) rename {SourceT => test}/missiles_test.cpp (100%) rename {SourceT => test}/pack_test.cpp (100%) rename {SourceT => test}/picosha2.h (100%) rename {SourceT => test}/player_test.cpp (100%) rename {SourceT => test}/scrollrt_test.cpp (100%) rename {SourceT => test}/stores_test.cpp (100%) rename {SourceT => test}/writehero_test.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 134491d1e..d87c4d0a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -373,28 +373,28 @@ endif() if(RUN_TESTS) list(APPEND devilutionx_SRCS - SourceT/appfat_test.cpp - SourceT/automap_test.cpp - SourceT/control_test.cpp - SourceT/cursor_test.cpp - SourceT/codec_test.cpp - SourceT/dead_test.cpp - SourceT/diablo_test.cpp - SourceT/doom_test.cpp - SourceT/drlg_l1_test.cpp - SourceT/drlg_l2_test.cpp - SourceT/drlg_l3_test.cpp - SourceT/drlg_l4_test.cpp - SourceT/effects_test.cpp - SourceT/file_util_test.cpp - SourceT/inv_test.cpp - SourceT/lighting_test.cpp - SourceT/missiles_test.cpp - SourceT/pack_test.cpp - SourceT/player_test.cpp - SourceT/scrollrt_test.cpp - SourceT/stores_test.cpp - SourceT/writehero_test.cpp) + test/appfat_test.cpp + test/automap_test.cpp + test/control_test.cpp + test/cursor_test.cpp + test/codec_test.cpp + test/dead_test.cpp + test/diablo_test.cpp + test/doom_test.cpp + test/drlg_l1_test.cpp + test/drlg_l2_test.cpp + test/drlg_l3_test.cpp + test/drlg_l4_test.cpp + test/effects_test.cpp + test/file_util_test.cpp + test/inv_test.cpp + test/lighting_test.cpp + test/missiles_test.cpp + test/pack_test.cpp + test/player_test.cpp + test/scrollrt_test.cpp + test/stores_test.cpp + test/writehero_test.cpp) endif() add_executable(${BIN_TARGET} WIN32 MACOSX_BUNDLE ${devilutionx_SRCS}) diff --git a/SourceT/appfat_test.cpp b/test/appfat_test.cpp similarity index 100% rename from SourceT/appfat_test.cpp rename to test/appfat_test.cpp diff --git a/SourceT/automap_test.cpp b/test/automap_test.cpp similarity index 100% rename from SourceT/automap_test.cpp rename to test/automap_test.cpp diff --git a/SourceT/codec_test.cpp b/test/codec_test.cpp similarity index 100% rename from SourceT/codec_test.cpp rename to test/codec_test.cpp diff --git a/SourceT/control_test.cpp b/test/control_test.cpp similarity index 100% rename from SourceT/control_test.cpp rename to test/control_test.cpp diff --git a/SourceT/cursor_test.cpp b/test/cursor_test.cpp similarity index 100% rename from SourceT/cursor_test.cpp rename to test/cursor_test.cpp diff --git a/SourceT/dead_test.cpp b/test/dead_test.cpp similarity index 100% rename from SourceT/dead_test.cpp rename to test/dead_test.cpp diff --git a/SourceT/diablo_test.cpp b/test/diablo_test.cpp similarity index 100% rename from SourceT/diablo_test.cpp rename to test/diablo_test.cpp diff --git a/SourceT/doom_test.cpp b/test/doom_test.cpp similarity index 100% rename from SourceT/doom_test.cpp rename to test/doom_test.cpp diff --git a/SourceT/drlg_l1_test.cpp b/test/drlg_l1_test.cpp similarity index 100% rename from SourceT/drlg_l1_test.cpp rename to test/drlg_l1_test.cpp diff --git a/SourceT/drlg_l2_test.cpp b/test/drlg_l2_test.cpp similarity index 100% rename from SourceT/drlg_l2_test.cpp rename to test/drlg_l2_test.cpp diff --git a/SourceT/drlg_l3_test.cpp b/test/drlg_l3_test.cpp similarity index 100% rename from SourceT/drlg_l3_test.cpp rename to test/drlg_l3_test.cpp diff --git a/SourceT/drlg_l4_test.cpp b/test/drlg_l4_test.cpp similarity index 100% rename from SourceT/drlg_l4_test.cpp rename to test/drlg_l4_test.cpp diff --git a/SourceT/effects_test.cpp b/test/effects_test.cpp similarity index 100% rename from SourceT/effects_test.cpp rename to test/effects_test.cpp diff --git a/SourceT/file_util_test.cpp b/test/file_util_test.cpp similarity index 100% rename from SourceT/file_util_test.cpp rename to test/file_util_test.cpp diff --git a/SourceT/inv_test.cpp b/test/inv_test.cpp similarity index 100% rename from SourceT/inv_test.cpp rename to test/inv_test.cpp diff --git a/SourceT/lighting_test.cpp b/test/lighting_test.cpp similarity index 100% rename from SourceT/lighting_test.cpp rename to test/lighting_test.cpp diff --git a/SourceT/missiles_test.cpp b/test/missiles_test.cpp similarity index 100% rename from SourceT/missiles_test.cpp rename to test/missiles_test.cpp diff --git a/SourceT/pack_test.cpp b/test/pack_test.cpp similarity index 100% rename from SourceT/pack_test.cpp rename to test/pack_test.cpp diff --git a/SourceT/picosha2.h b/test/picosha2.h similarity index 100% rename from SourceT/picosha2.h rename to test/picosha2.h diff --git a/SourceT/player_test.cpp b/test/player_test.cpp similarity index 100% rename from SourceT/player_test.cpp rename to test/player_test.cpp diff --git a/SourceT/scrollrt_test.cpp b/test/scrollrt_test.cpp similarity index 100% rename from SourceT/scrollrt_test.cpp rename to test/scrollrt_test.cpp diff --git a/SourceT/stores_test.cpp b/test/stores_test.cpp similarity index 100% rename from SourceT/stores_test.cpp rename to test/stores_test.cpp diff --git a/SourceT/writehero_test.cpp b/test/writehero_test.cpp similarity index 100% rename from SourceT/writehero_test.cpp rename to test/writehero_test.cpp