Plan document export success messages
This commit is contained in:
@@ -899,6 +899,37 @@ if(TARGET pano_cli)
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-target\".*\"kind\":\"name\".*\"suggestedName\":\"demo-timelapse\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_message_equirect_work_smoke
|
||||
COMMAND pano_cli plan-export-message --kind equirectangular --destination work --detail D:/Paint)
|
||||
set_tests_properties(pano_cli_plan_export_message_equirect_work_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-message\".*\"kind\":\"equirectangular\".*\"destination\":\"work-directory\".*\"showDialog\":true.*\"title\":\"Export Equirectangular\".*\"message\":\"Image exported to D:/Paint\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_message_layers_files_smoke
|
||||
COMMAND pano_cli plan-export-message --kind layers --destination files)
|
||||
set_tests_properties(pano_cli_plan_export_message_layers_files_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-message\".*\"kind\":\"layers\".*\"destination\":\"files-panopainter\".*\"showDialog\":true.*\"message\":\"Image layers exported to Files/PanoPainter\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_message_timelapse_success_smoke
|
||||
COMMAND pano_cli plan-export-message --kind timelapse --destination success)
|
||||
set_tests_properties(pano_cli_plan_export_message_timelapse_success_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-message\".*\"kind\":\"timelapse\".*\"destination\":\"generic-success\".*\"showDialog\":true.*\"message\":\"Timelapse exported successfully\\.\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_message_suppressed_smoke
|
||||
COMMAND pano_cli plan-export-message --kind depth --destination suppressed)
|
||||
set_tests_properties(pano_cli_plan_export_message_suppressed_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-message\".*\"kind\":\"depth\".*\"destination\":\"suppressed\".*\"showDialog\":false.*\"title\":\"\".*\"message\":\"\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_message_rejects_unknown
|
||||
COMMAND pano_cli plan-export-message --kind nope)
|
||||
set_tests_properties(pano_cli_plan_export_message_rejects_unknown PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-message\".*\"message\":\"unknown export message kind\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_cloud_upload_clean_smoke
|
||||
COMMAND pano_cli plan-cloud-upload)
|
||||
set_tests_properties(pano_cli_plan_cloud_upload_clean_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user