Cockatrice/tests/movecard_tests/CMakeLists.txt
Lukas Brübach 7b8558c695 [Tests] Migrate server tests to the shared fixture
Replace the remaining private MockDatabaseInterface/FakeServer copies in the forced-password, room-channel, movecard, and random-reveal tests with InMemoryServer_DatabaseInterface and ServerTestFixture. The room-channel test keeps its log assertions against the shared logEntries; the forced-password test seeds its moderator user and auth result through the fixture knobs. Delete movecard_tests/server_test_helpers.h.
2026-11-09 16:02:47 +01:00

29 lines
473 B
CMake
Executable file

cockatrice_add_test(
NAME
reverse_card_move_test
SOURCES
reverse_card_move_test.cpp
LIBS
libcockatrice_network_server_remote
libcockatrice_rng
testsupport_server
INCLUDE_DIRS
${CMAKE_SOURCE_DIR}/tests
LABELS
server
)
cockatrice_add_test(
NAME
player_order_test
SOURCES
player_order_test.cpp
LIBS
libcockatrice_network_server_remote
libcockatrice_rng
testsupport_server
INCLUDE_DIRS
${CMAKE_SOURCE_DIR}/tests
LABELS
server
)