Add retained stroke execution helper tests

This commit is contained in:
2026-06-13 10:39:44 +02:00
parent 0a5e7302bc
commit 8acf79dbda
4 changed files with 416 additions and 0 deletions

View File

@@ -277,6 +277,30 @@ add_test(NAME pp_paint_renderer_compositor_tests COMMAND pp_paint_renderer_compo
set_tests_properties(pp_paint_renderer_compositor_tests PROPERTIES
LABELS "renderer;paint;desktop-fast")
add_executable(pp_paint_renderer_stroke_execution_tests
paint_renderer/stroke_execution_tests.cpp)
target_link_libraries(pp_paint_renderer_stroke_execution_tests PRIVATE
pp_paint_renderer
pp_test_harness)
target_include_directories(pp_paint_renderer_stroke_execution_tests PRIVATE
${PP_LEGACY_INCLUDE_DIRS})
target_compile_definitions(pp_paint_renderer_stroke_execution_tests PRIVATE
ENUM_BITFIELDS_NOT_SUPPORTED
UNICODE
_UNICODE
_CRT_SECURE_NO_WARNINGS
_SCL_SECURE_NO_WARNINGS
_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
_CONSOLE
WITH_CURL=1)
target_precompile_headers(pp_paint_renderer_stroke_execution_tests PRIVATE
"${PROJECT_SOURCE_DIR}/src/pch.h")
add_test(NAME pp_paint_renderer_stroke_execution_tests COMMAND pp_paint_renderer_stroke_execution_tests)
set_tests_properties(pp_paint_renderer_stroke_execution_tests PROPERTIES
LABELS "renderer;paint;desktop-fast")
add_executable(pp_platform_api_tests
platform_api/platform_services_tests.cpp)
target_link_libraries(pp_platform_api_tests PRIVATE