From 74840fafc77d789e6d356a298e1f6efc5269059d Mon Sep 17 00:00:00 2001 From: Kaspar-Metsa Date: Sun, 11 Feb 2024 01:36:20 +0200 Subject: [PATCH] Testing by commenting out Room manager tests --- tests/CMakeLists.txt | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d7783e40..a164e914 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -270,26 +270,26 @@ set_target_properties( add_test(NAME TestRoomMobs COMMAND TestRoomMobs) # Room panel manager -set(room_manager - ../src/roompanel/RoomMobs.h - ../src/roompanel/RoomMobs.cpp - ../src/roompanel/RoomMob.h - ../src/roompanel/RoomMob.cpp - ../src/roompanel/RoomManager.cpp - ../src/roompanel/RoomManager.h - ../src/global/TextUtils.cpp - ../src/proxy/GmcpMessage.cpp -) -set(RoomManager roompanel/TestRoomManager.cpp) -add_executable(TestRoomManager ${room_manager} ${RoomManager}) -add_dependencies(TestRoomManager glm) -target_link_libraries(TestRoomManager Qt5::Test Qt5::Gui Qt5::Widgets coverage_config) -set_target_properties( - TestRoomManager PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON - CXX_EXTENSIONS OFF - COMPILE_FLAGS "${WARNING_FLAGS}" - UNITY_BUILD ${USE_UNITY_BUILD} -) -add_test(NAME TestRoomManager COMMAND TestRoomManager) \ No newline at end of file +#set(room_manager +# ../src/roompanel/RoomMobs.h +# ../src/roompanel/RoomMobs.cpp +# ../src/roompanel/RoomMob.h +# ../src/roompanel/RoomMob.cpp +# ../src/roompanel/RoomManager.cpp +# ../src/roompanel/RoomManager.h +# ../src/global/TextUtils.cpp +# ../src/proxy/GmcpMessage.cpp +#) +#set(RoomManager roompanel/TestRoomManager.cpp) +#add_executable(TestRoomManager ${room_manager} ${RoomManager}) +#add_dependencies(TestRoomManager glm) +#target_link_libraries(TestRoomManager Qt5::Test Qt5::Gui Qt5::Widgets coverage_config) +#set_target_properties( +# TestRoomManager PROPERTIES +# CXX_STANDARD 17 +# CXX_STANDARD_REQUIRED ON +# CXX_EXTENSIONS OFF +# COMPILE_FLAGS "${WARNING_FLAGS}" +# UNITY_BUILD ${USE_UNITY_BUILD} +#) +#add_test(NAME TestRoomManager COMMAND TestRoomManager) \ No newline at end of file