Move export snapshot platform support to app core
This commit is contained in:
@@ -918,6 +918,12 @@ if(TARGET pano_cli)
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-snapshot-route\".*\"kind\":\"equirectangular\".*\"targetPath\":\"D:/Paint/demo.tif\".*\"targetSupported\":false.*\"action\":\"use-legacy-export\".*\"fallbackReason\":\"document snapshot export does not support this target\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_snapshot_route_unsupported_platform_smoke
|
||||
COMMAND pano_cli plan-export-snapshot-route --kind cube-faces --unsupported-platform)
|
||||
set_tests_properties(pano_cli_plan_export_snapshot_route_unsupported_platform_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-export-snapshot-route\".*\"kind\":\"cube-faces\".*\"targetSupported\":true.*\"platformSupported\":false.*\"action\":\"use-legacy-export\".*\"fallbackReason\":\"document snapshot export is disabled on this platform\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_export_menu_rejects_unknown
|
||||
COMMAND pano_cli plan-export-menu --kind unknown)
|
||||
set_tests_properties(pano_cli_plan_export_menu_rejects_unknown PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user