Extract image import route planning
This commit is contained in:
@@ -338,6 +338,16 @@ add_test(NAME pp_app_core_document_canvas_tests COMMAND pp_app_core_document_can
|
||||
set_tests_properties(pp_app_core_document_canvas_tests PROPERTIES
|
||||
LABELS "app;document;desktop-fast;fuzz")
|
||||
|
||||
add_executable(pp_app_core_document_import_tests
|
||||
app_core/document_import_tests.cpp)
|
||||
target_link_libraries(pp_app_core_document_import_tests PRIVATE
|
||||
pp_app_core
|
||||
pp_test_harness)
|
||||
|
||||
add_test(NAME pp_app_core_document_import_tests COMMAND pp_app_core_document_import_tests)
|
||||
set_tests_properties(pp_app_core_document_import_tests PROPERTIES
|
||||
LABELS "app;document;desktop-fast;fuzz")
|
||||
|
||||
add_executable(pp_app_core_document_export_tests
|
||||
app_core/document_export_tests.cpp)
|
||||
target_link_libraries(pp_app_core_document_export_tests PRIVATE
|
||||
@@ -788,6 +798,24 @@ if(TARGET pano_cli)
|
||||
LABELS "app;document;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_image_import_wide_equirect_smoke
|
||||
COMMAND pano_cli plan-image-import --width 4096 --height 2048)
|
||||
set_tests_properties(pano_cli_plan_image_import_wide_equirect_smoke PROPERTIES
|
||||
LABELS "app;document;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-image-import\".*\"width\":4096.*\"height\":2048.*\"action\":\"import-equirectangular\".*\"importsEquirectangular\":true.*\"entersTransformMode\":false")
|
||||
|
||||
add_test(NAME pano_cli_plan_image_import_transform_smoke
|
||||
COMMAND pano_cli plan-image-import --width 1024 --height 1024)
|
||||
set_tests_properties(pano_cli_plan_image_import_transform_smoke PROPERTIES
|
||||
LABELS "app;document;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-image-import\".*\"width\":1024.*\"height\":1024.*\"action\":\"place-transform\".*\"importsEquirectangular\":false.*\"entersTransformMode\":true")
|
||||
|
||||
add_test(NAME pano_cli_plan_image_import_rejects_invalid_dimensions
|
||||
COMMAND pano_cli plan-image-import --width 0 --height 1024)
|
||||
set_tests_properties(pano_cli_plan_image_import_rejects_invalid_dimensions PROPERTIES
|
||||
LABELS "app;document;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_layer_rename_smoke
|
||||
COMMAND pano_cli plan-layer-rename --old-name Base --new-name Paint)
|
||||
set_tests_properties(pano_cli_plan_layer_rename_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user