mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
Every LU MessageType has a struct or is listed as never used by this server; every game message struct reads; samples of each family and of sent game messages read back; replica constructions, updates and destructions written by the server's own serializers read back. Generator finds constructors defined in the .cpp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.1 KiB
CMake
35 lines
1.1 KiB
CMake
set(DCOMPONENTS_TESTS
|
|
"DeletionRestrictionTests.cpp"
|
|
"InventorySaveTests.cpp"
|
|
"EquipMessagesTests.cpp"
|
|
"DestroyableLevelConfigTests.cpp"
|
|
"RailActivatorComponentTests.cpp"
|
|
"VendorBuybackTests.cpp"
|
|
"RacingWrongWayTests.cpp"
|
|
"DestroyableComponentTests.cpp"
|
|
"PetComponentTests.cpp"
|
|
"SimplePhysicsComponentTests.cpp"
|
|
"MovementBlockerScenarioTests.cpp"
|
|
"SavingTests.cpp"
|
|
"CharacterSaveFieldsTests.cpp"
|
|
"CollectibleComponentTests.cpp"
|
|
"ReplicaComponentOrderTests.cpp"
|
|
"QuickBuildCompleteTests.cpp"
|
|
"RocketLaunchTests.cpp"
|
|
"ReplicaConstructionTests.cpp"
|
|
"ReplicaDecoderTests.cpp"
|
|
"ItemRemovalTests.cpp"
|
|
)
|
|
|
|
# Get the folder name and prepend it to the files above
|
|
get_filename_component(thisFolderName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
|
list(TRANSFORM DCOMPONENTS_TESTS PREPEND "${thisFolderName}/")
|
|
|
|
# Export to parent scope
|
|
set(DCOMPONENTS_TESTS ${DCOMPONENTS_TESTS} PARENT_SCOPE)
|
|
|
|
# Copy test files to testing directory
|
|
add_subdirectory(TestData)
|
|
list(TRANSFORM COMPONENT_TEST_DATA PREPEND "${thisFolderName}/")
|
|
set(COMPONENT_TEST_DATA ${COMPONENT_TEST_DATA} PARENT_SCOPE)
|