Route brush refresh view through app core
This commit is contained in:
@@ -1364,6 +1364,30 @@ if(TARGET pano_cli)
|
||||
LABELS "app;paint;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_brush_refresh_smoke
|
||||
COMMAND pano_cli plan-brush-refresh --floating-picker --tip-flow 0.8 --tip-size 48 --r 0.2 --g 0.3 --b 0.4 --a 1)
|
||||
set_tests_properties(pano_cli_plan_brush_refresh_smoke PROPERTIES
|
||||
LABELS "app;paint;ui;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-brush-refresh\".*\"updatesStrokeControls\":true.*\"updatesQuickFlow\":true.*\"updatesQuickSize\":true.*\"updatesQuickBrushPreview\":true.*\"updatesQuickColor\":true.*\"updatesFloatingPicker\":true.*\"updatesFloatingColorPanel\":false.*\"tipFlow\":0.8.*\"tipSize\":48.*\"r\":0.2.*\"g\":0.3.*\"b\":0.4.*\"a\":1")
|
||||
|
||||
add_test(NAME pano_cli_plan_brush_refresh_noop_smoke
|
||||
COMMAND pano_cli plan-brush-refresh --no-color --no-brush-update --no-brush)
|
||||
set_tests_properties(pano_cli_plan_brush_refresh_noop_smoke PROPERTIES
|
||||
LABELS "app;paint;ui;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-brush-refresh\".*\"updatesQuickBrushPreview\":false.*\"updatesQuickColor\":false.*\"noOp\":true")
|
||||
|
||||
add_test(NAME pano_cli_plan_brush_refresh_rejects_missing_brush
|
||||
COMMAND pano_cli plan-brush-refresh --no-brush)
|
||||
set_tests_properties(pano_cli_plan_brush_refresh_rejects_missing_brush PROPERTIES
|
||||
LABELS "app;paint;ui;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_brush_refresh_rejects_bad_float
|
||||
COMMAND pano_cli plan-brush-refresh --bad-float)
|
||||
set_tests_properties(pano_cli_plan_brush_refresh_rejects_bad_float PROPERTIES
|
||||
LABELS "app;paint;ui;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_brush_texture_list_add_smoke
|
||||
COMMAND pano_cli plan-brush-texture-list --kind add --dir brushes --data-path data --source C:/Temp/soft.png)
|
||||
set_tests_properties(pano_cli_plan_brush_texture_list_add_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user