Skip to content

Commit

Permalink
Testing by commenting out Room manager tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspar-Metsa committed Feb 10, 2024
1 parent 899037c commit 74840fa
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#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)

0 comments on commit 74840fa

Please sign in to comment.