Extract layer operation planning
This commit is contained in:
@@ -718,6 +718,30 @@ if(TARGET pano_cli)
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_layer_operation_add_smoke
|
||||
COMMAND pano_cli plan-layer-operation --kind add --layer-count 2 --index 1 --name Paint)
|
||||
set_tests_properties(pano_cli_plan_layer_operation_add_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-layer-operation\".*\"operation\":\"add\".*\"insertIndex\":1.*\"name\":\"Paint\".*\"marksUnsaved\":true.*\"reloadsAnimationLayers\":true")
|
||||
|
||||
add_test(NAME pano_cli_plan_layer_operation_reorder_no_op_smoke
|
||||
COMMAND pano_cli plan-layer-operation --kind reorder --layer-count 3 --from-index 1 --to-index 1)
|
||||
set_tests_properties(pano_cli_plan_layer_operation_reorder_no_op_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-layer-operation\".*\"operation\":\"reorder\".*\"fromIndex\":1.*\"toIndex\":1.*\"mutatesDocument\":false.*\"marksUnsaved\":false")
|
||||
|
||||
add_test(NAME pano_cli_plan_layer_operation_highlight_smoke
|
||||
COMMAND pano_cli plan-layer-operation --kind highlight --layer-count 2 --index 1 --enabled)
|
||||
set_tests_properties(pano_cli_plan_layer_operation_highlight_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-layer-operation\".*\"operation\":\"set-highlight\".*\"index\":1.*\"flag\":true.*\"mutatesDocument\":false.*\"updatesTitle\":false")
|
||||
|
||||
add_test(NAME pano_cli_plan_layer_operation_rejects_bad_opacity
|
||||
COMMAND pano_cli plan-layer-operation --kind opacity --layer-count 2 --index 1 --opacity 1.5)
|
||||
set_tests_properties(pano_cli_plan_layer_operation_rejects_bad_opacity PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_share_file_unsaved_smoke
|
||||
COMMAND pano_cli plan-share-file)
|
||||
set_tests_properties(pano_cli_plan_share_file_unsaved_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user