refactor(new_editor): tighten app dependency boundaries
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
set(EDITOR_UI_UNIT_TEST_SOURCES
|
||||
test_editor_host_command_bridge.cpp
|
||||
test_editor_shell_asset_validation.cpp
|
||||
test_input_modifier_tracker.cpp
|
||||
test_structured_editor_shell.cpp
|
||||
test_ui_editor_command_dispatcher.cpp
|
||||
test_ui_editor_command_registry.cpp
|
||||
test_ui_editor_dock_host_interaction.cpp
|
||||
@@ -12,13 +9,12 @@ set(EDITOR_UI_UNIT_TEST_SOURCES
|
||||
test_ui_editor_menu_popup.cpp
|
||||
test_ui_editor_panel_content_host.cpp
|
||||
test_ui_editor_panel_host_lifecycle.cpp
|
||||
test_ui_editor_panel_registry.cpp
|
||||
test_ui_editor_property_grid.cpp
|
||||
test_ui_editor_property_grid_interaction.cpp
|
||||
test_ui_editor_shell_compose.cpp
|
||||
test_editor_window_input_routing.cpp
|
||||
test_ui_editor_shell_interaction.cpp
|
||||
test_ui_editor_collection_primitives.cpp
|
||||
test_ui_editor_drag_drop.cpp
|
||||
test_ui_editor_field_row_layout.cpp
|
||||
test_ui_editor_hosted_field_builders.cpp
|
||||
test_ui_editor_bool_field.cpp
|
||||
@@ -53,7 +49,6 @@ set(EDITOR_UI_UNIT_TEST_SOURCES
|
||||
test_ui_editor_tab_strip_interaction.cpp
|
||||
test_ui_editor_tree_view.cpp
|
||||
test_ui_editor_tree_view_interaction.cpp
|
||||
test_viewport_object_id_picker.cpp
|
||||
test_ui_editor_viewport_input_bridge.cpp
|
||||
test_ui_editor_viewport_shell.cpp
|
||||
test_ui_editor_viewport_slot.cpp
|
||||
@@ -79,7 +74,6 @@ target_link_libraries(editor_ui_tests
|
||||
target_include_directories(editor_ui_tests
|
||||
PRIVATE
|
||||
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
|
||||
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
|
||||
${CMAKE_SOURCE_DIR}/engine/include
|
||||
)
|
||||
|
||||
@@ -119,6 +113,15 @@ if(TARGET XCUIEditorAppLib)
|
||||
)
|
||||
endif()
|
||||
|
||||
list(APPEND EDITOR_APP_FEATURE_TEST_SOURCES
|
||||
test_editor_host_command_bridge.cpp
|
||||
test_editor_shell_asset_validation.cpp
|
||||
test_structured_editor_shell.cpp
|
||||
test_editor_window_input_routing.cpp
|
||||
test_ui_editor_panel_registry.cpp
|
||||
test_viewport_object_id_picker.cpp
|
||||
)
|
||||
|
||||
add_executable(editor_app_feature_tests
|
||||
${EDITOR_APP_FEATURE_TEST_SOURCES}
|
||||
)
|
||||
@@ -126,6 +129,7 @@ if(TARGET XCUIEditorAppLib)
|
||||
target_link_libraries(editor_app_feature_tests
|
||||
PRIVATE
|
||||
XCUIEditorAppLib
|
||||
XCUIEditorAppCore
|
||||
XCUIEditorLib
|
||||
XCUIEditorHost
|
||||
GTest::gtest_main
|
||||
|
||||
Reference in New Issue
Block a user