Extract document resize planning
This commit is contained in:
@@ -318,6 +318,16 @@ add_test(NAME pp_app_core_document_recording_tests COMMAND pp_app_core_document_
|
||||
set_tests_properties(pp_app_core_document_recording_tests PROPERTIES
|
||||
LABELS "app;desktop-fast;fuzz")
|
||||
|
||||
add_executable(pp_app_core_document_resize_tests
|
||||
app_core/document_resize_tests.cpp)
|
||||
target_link_libraries(pp_app_core_document_resize_tests PRIVATE
|
||||
pp_app_core
|
||||
pp_test_harness)
|
||||
|
||||
add_test(NAME pp_app_core_document_resize_tests COMMAND pp_app_core_document_resize_tests)
|
||||
set_tests_properties(pp_app_core_document_resize_tests PROPERTIES
|
||||
LABELS "app;desktop-fast;fuzz")
|
||||
|
||||
add_executable(pp_app_core_app_preferences_tests
|
||||
app_core/app_preferences_tests.cpp)
|
||||
target_link_libraries(pp_app_core_app_preferences_tests PRIVATE
|
||||
@@ -668,6 +678,18 @@ if(TARGET pano_cli)
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-app-status\".*\"title\":\"Panodoc: demo \\(unknown\\)\".*\"recording\":\\{\"visible\":false,\"text\":\"\"\\}.*\"fromIndexValid\":false.*\"toIndexValid\":false.*\"labelValid\":false.*\"label\":\"\"")
|
||||
|
||||
add_test(NAME pano_cli_plan_document_resize_smoke
|
||||
COMMAND pano_cli plan-document-resize --current-resolution 2048 --selected-resolution-index 4)
|
||||
set_tests_properties(pano_cli_plan_document_resize_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-document-resize\".*\"currentResolutionText\":\"Current: 8K\".*\"currentResolutionIndex\":3.*\"selectedResolutionIndex\":4.*\"resolution\":4096.*\"width\":4096.*\"height\":4096.*\"clearsHistory\":true")
|
||||
|
||||
add_test(NAME pano_cli_plan_document_resize_rejects_invalid_selection
|
||||
COMMAND pano_cli plan-document-resize --current-resolution 2048 --selected-resolution-index 9)
|
||||
set_tests_properties(pano_cli_plan_document_resize_rejects_invalid_selection PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE)
|
||||
|
||||
add_test(NAME pano_cli_plan_share_file_unsaved_smoke
|
||||
COMMAND pano_cli plan-share-file)
|
||||
set_tests_properties(pano_cli_plan_share_file_unsaved_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user