Wire viewport shell host chain and move host under app

This commit is contained in:
2026-04-12 23:13:00 +08:00
parent 89590242bd
commit 941034b387
21 changed files with 1424 additions and 14 deletions

View File

@@ -5,14 +5,16 @@ project(XCEngine_EditorUITests)
set(XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT
"${CMAKE_SOURCE_DIR}/new_editor")
if(NOT EXISTS "${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/Host/AutoScreenshot.h"
OR NOT EXISTS "${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/Host/InputModifierTracker.h"
OR NOT EXISTS "${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/Host/NativeRenderer.h")
if(NOT EXISTS "${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/app/Host/AutoScreenshot.h"
OR NOT EXISTS "${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/app/Host/InputModifierTracker.h"
OR NOT EXISTS "${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/app/Host/NativeRenderer.h")
message(FATAL_ERROR
"Editor UI tests expect host headers under "
"${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/Host.")
"${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/app/Host.")
endif()
include_directories("${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/app")
add_subdirectory(unit)
add_subdirectory(integration)