Skip to content

Commit

Permalink
remove testroomwidget because it was too hard to test and produced cr…
Browse files Browse the repository at this point in the history
…yptic mingw compilation error
  • Loading branch information
Kaspar-Metsa committed Feb 7, 2024
1 parent 79e9536 commit b8bd1a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 72 deletions.
29 changes: 1 addition & 28 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,31 +292,4 @@ set_target_properties(
COMPILE_FLAGS "${WARNING_FLAGS}"
UNITY_BUILD ${USE_UNITY_BUILD}
)
add_test(NAME TestRoomManager COMMAND TestRoomManager)

# Room panel widget
set(room_widget
../src/roompanel/RoomMobs.cpp
../src/roompanel/RoomMob.cpp
../src/roompanel/RoomManager.cpp
../src/proxy/GmcpMessage.cpp
../src/global/TextUtils.cpp
../src/roompanel/RoomWidget.cpp
../src/configuration/configuration.cpp
../src/global/NamedColors.cpp
../src/global/Color.cpp
../src/global/utils.cpp
)
set(RoomWidget roompanel/TestRoomWidget.cpp)
add_executable(TestRoomWidget ${room_widget} ${RoomWidget})
add_dependencies(TestRoomWidget glm)
target_link_libraries(TestRoomWidget Qt5::Test Qt5::Widgets Qt5::Network coverage_config)
set_target_properties(
TestRoomWidget PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
CXX_EXTENSIONS OFF
COMPILE_FLAGS "${WARNING_FLAGS}"
UNITY_BUILD ${USE_UNITY_BUILD}
)
add_test(NAME TestRoomWidget COMMAND TestRoomWidget)
add_test(NAME TestRoomManager COMMAND TestRoomManager)
26 changes: 0 additions & 26 deletions tests/roompanel/TestRoomWidget.cpp

This file was deleted.

18 changes: 0 additions & 18 deletions tests/roompanel/TestRoomWidget.h

This file was deleted.

0 comments on commit b8bd1a2

Please sign in to comment.