Plan export start decisions in app core
This commit is contained in:
@@ -443,6 +443,24 @@ if(TARGET pano_cli)
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-document-version\".*\"documentName\":\"demo.01\".*\"existingPaths\":1.*\"name\":\"demo.03\".*\"path\":\"D:/Paint/demo.03.ppi\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_start_allowed_smoke
|
||||
COMMAND pano_cli plan-export-start --requires-license)
|
||||
set_tests_properties(pano_cli_plan_export_start_allowed_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-start\".*\"requiresLicense\":true.*\"licenseValid\":true.*\"hasCanvas\":true.*\"decision\":\"start-now\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_start_demo_blocked_smoke
|
||||
COMMAND pano_cli plan-export-start --requires-license --demo)
|
||||
set_tests_properties(pano_cli_plan_export_start_demo_blocked_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-start\".*\"requiresLicense\":true.*\"licenseValid\":false.*\"decision\":\"show-license-disabled\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_start_no_canvas_smoke
|
||||
COMMAND pano_cli plan-export-start --no-canvas)
|
||||
set_tests_properties(pano_cli_plan_export_start_no_canvas_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-start\".*\"requiresLicense\":false.*\"hasCanvas\":false.*\"decision\":\"unavailable-no-canvas\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_target_file_smoke
|
||||
COMMAND pano_cli plan-export-target --kind file --work-dir D:/Paint --doc-name demo --extension .png)
|
||||
set_tests_properties(pano_cli_plan_export_target_file_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user