Plan app dialog factories
This commit is contained in:
@@ -545,6 +545,16 @@ add_test(NAME pp_app_core_app_status_tests COMMAND pp_app_core_app_status_tests)
|
||||
set_tests_properties(pp_app_core_app_status_tests PROPERTIES
|
||||
LABELS "app;desktop-fast;fuzz")
|
||||
|
||||
add_executable(pp_app_core_app_dialog_tests
|
||||
app_core/app_dialog_tests.cpp)
|
||||
target_link_libraries(pp_app_core_app_dialog_tests PRIVATE
|
||||
pp_app_core
|
||||
pp_test_harness)
|
||||
|
||||
add_test(NAME pp_app_core_app_dialog_tests COMMAND pp_app_core_app_dialog_tests)
|
||||
set_tests_properties(pp_app_core_app_dialog_tests PROPERTIES
|
||||
LABELS "app;desktop-fast;fuzz")
|
||||
|
||||
add_executable(pp_app_core_app_startup_tests
|
||||
app_core/app_startup_tests.cpp)
|
||||
target_link_libraries(pp_app_core_app_startup_tests PRIVATE
|
||||
@@ -948,6 +958,31 @@ if(TARGET pano_cli)
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-cloud-transfer\".*\"action\":\"start-transfer\".*\"notify\":false.*\"fraction\":0")
|
||||
|
||||
add_test(NAME pano_cli_plan_app_dialog_progress_smoke
|
||||
COMMAND pano_cli plan-app-dialog --kind progress --title Saving --total -4)
|
||||
set_tests_properties(pano_cli_plan_app_dialog_progress_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-app-dialog\".*\"kind\":\"progress\".*\"title\":\"Saving\".*\"total\":0.*\"count\":0.*\"progressFraction\":0")
|
||||
|
||||
add_test(NAME pano_cli_plan_app_dialog_message_smoke
|
||||
COMMAND pano_cli plan-app-dialog --kind message --title Import --message Brushes --cancel)
|
||||
set_tests_properties(pano_cli_plan_app_dialog_message_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-app-dialog\".*\"kind\":\"message\".*\"title\":\"Import\".*\"message\":\"Brushes\".*\"okCaption\":\"Ok\".*\"showCancel\":true")
|
||||
|
||||
add_test(NAME pano_cli_plan_app_dialog_input_smoke
|
||||
COMMAND pano_cli plan-app-dialog --kind input --title Rename --field-name Layer --ok-caption Save)
|
||||
set_tests_properties(pano_cli_plan_app_dialog_input_smoke PROPERTIES
|
||||
LABELS "app;integration;desktop-fast"
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-app-dialog\".*\"kind\":\"input\".*\"title\":\"Rename\".*\"fieldName\":\"Layer\".*\"okCaption\":\"Save")
|
||||
|
||||
add_test(NAME pano_cli_plan_app_dialog_rejects_empty_ok_caption
|
||||
COMMAND pano_cli plan-app-dialog --kind input --ok-caption "")
|
||||
set_tests_properties(pano_cli_plan_app_dialog_rejects_empty_ok_caption PROPERTIES
|
||||
LABELS "app;integration;desktop-fast;fuzz"
|
||||
WILL_FAIL TRUE
|
||||
PASS_REGULAR_EXPRESSION "\"command\":\"plan-app-dialog\".*\"message\":\"input dialog ok caption")
|
||||
|
||||
add_test(NAME pano_cli_plan_recording_session_stopped_smoke
|
||||
COMMAND pano_cli plan-recording-session --frame-count 12)
|
||||
set_tests_properties(pano_cli_plan_recording_session_stopped_smoke PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user