Extend animation panel frame dispatch

This commit is contained in:
2026-06-03 16:39:14 +02:00
parent 93f3037410
commit 5752bc6ae9
7 changed files with 269 additions and 22 deletions

View File

@@ -1048,12 +1048,30 @@ if(TARGET pano_cli)
LABELS "app;integration;desktop-fast"
PASS_REGULAR_EXPRESSION "\"command\":\"plan-animation-operation\".*\"operation\":\"goto-next\".*\"currentFrame\":4.*\"targetFrame\":0.*\"updatesCanvasAnimation\":true")
add_test(NAME pano_cli_plan_animation_operation_select_smoke
COMMAND pano_cli plan-animation-operation --kind select --frame-count 3 --selected-frame 1 --layer-index 2 --layer-id 42)
set_tests_properties(pano_cli_plan_animation_operation_select_smoke PROPERTIES
LABELS "app;integration;desktop-fast"
PASS_REGULAR_EXPRESSION "\"command\":\"plan-animation-operation\".*\"operation\":\"select-frame\".*\"selectedFrame\":1.*\"targetFrame\":1.*\"layerIndex\":2.*\"layerId\":42.*\"reloadsAnimationLayers\":false.*\"updatesCanvasAnimation\":true")
add_test(NAME pano_cli_plan_animation_operation_playback_smoke
COMMAND pano_cli plan-animation-operation --kind playback --total-duration 5 --current-frame 4 --offset 1)
set_tests_properties(pano_cli_plan_animation_operation_playback_smoke PROPERTIES
LABELS "app;integration;desktop-fast"
PASS_REGULAR_EXPRESSION "\"command\":\"plan-animation-operation\".*\"operation\":\"playback-step\".*\"currentFrame\":4.*\"targetFrame\":0.*\"reloadsAnimationLayers\":false.*\"updatesCanvasAnimation\":true")
add_test(NAME pano_cli_plan_animation_operation_rejects_remove_last_frame
COMMAND pano_cli plan-animation-operation --kind remove --frame-count 1 --selected-frame 0)
set_tests_properties(pano_cli_plan_animation_operation_rejects_remove_last_frame PROPERTIES
LABELS "app;integration;desktop-fast;fuzz"
WILL_FAIL TRUE)
add_test(NAME pano_cli_plan_animation_operation_rejects_bad_selection
COMMAND pano_cli plan-animation-operation --kind select --frame-count 2 --selected-frame 2 --layer-index 0 --layer-id 42)
set_tests_properties(pano_cli_plan_animation_operation_rejects_bad_selection PROPERTIES
LABELS "app;integration;desktop-fast;fuzz"
WILL_FAIL TRUE)
add_test(NAME pano_cli_plan_brush_operation_color_smoke
COMMAND pano_cli plan-brush-operation --kind color --r 0.25 --g 0.5 --b 0.75 --a 1)
set_tests_properties(pano_cli_plan_brush_operation_color_smoke PROPERTIES