mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch: accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes they need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
782 B
CMake
17 lines
782 B
CMake
# Runs the MySQL and SQLite GameDatabase implementations side by side on fresh databases (all migrations run the way the
|
|
# servers run them) and compares what every method returns. Needs a MariaDB/MySQL server; skipped when
|
|
# DLU_TEST_MYSQL_HOST is not set. See DatabaseParityTests.cpp for the variables.
|
|
add_executable(dDatabaseTests "DatabaseParityTests.cpp")
|
|
|
|
target_include_directories(dDatabaseTests PRIVATE
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase/MySQL"
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase/SQLite"
|
|
"${PROJECT_SOURCE_DIR}/dNet"
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/nlohmann"
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/SQLite"
|
|
)
|
|
|
|
target_link_libraries(dDatabaseTests ${COMMON_LIBRARIES} MariaDB::ConnCpp sqlite3 GTest::gtest_main)
|
|
|
|
gtest_discover_tests(dDatabaseTests)
|