diff --git a/application/testing/CMakeLists.txt b/application/testing/CMakeLists.txt index b8d43aaba1..4a46e545bd 100644 --- a/application/testing/CMakeLists.txt +++ b/application/testing/CMakeLists.txt @@ -803,6 +803,9 @@ f3d_test(NAME TestInteractionDropFiles ARGS -n INTERACTION_CONFIGURE)#X;DropEven f3d_test(NAME TestInteractionMultiFileDrop ARGS --multi-file-mode=all -e INTERACTION_CONFIGURE) #DropEvent mb_1_0.vtp mb_2_0.vtp f3d_test(NAME TestInteractionDropSameFiles ARGS -x INTERACTION_CONFIGURE)#DropEvent cow.vtp;#DropEvent dragon.vtu;#DropEvent cow.vtp#DropEvent cow.vtp; +# A proper test for this is not possible because of the double quotes +f3d_test(NAME TestInteractionDropFileWithQuotes ARGS -n INTERACTION REGEXP "\"'`Quotes\"'`.stl does not exist" NO_BASELINE)#X;DropEvent "'`Quotes"'`.stl"; + # HDRI test needs https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9767 if(VTK_VERSION VERSION_GREATER_EQUAL 9.2.20221220) f3d_test(NAME TestInteractionDropHDRI INTERACTION_CONFIGURE LONG_TIMEOUT)#X;DropEvent dragon.vtu;DropEven palermo.hdr; diff --git a/testing/recordings/TestInteractionDropFileWithQuotes.log b/testing/recordings/TestInteractionDropFileWithQuotes.log new file mode 100644 index 0000000000..5a89629a27 --- /dev/null +++ b/testing/recordings/TestInteractionDropFileWithQuotes.log @@ -0,0 +1,16 @@ +# StreamVersion 1.2 +ExposeEvent 0 599 0 0 0 0 0 +RenderEvent 0 599 0 0 0 0 0 +KeyPressEvent -475 76 0 120 1 x 0 +CharEvent -475 76 0 120 1 x 0 +TimerEvent -475 76 0 120 1 x 0 +TimerEvent -475 76 0 120 1 x 0 +KeyReleaseEvent -475 76 0 120 1 x 0 +KeyPressEvent 677 699 0 0 1 Super_L 0 +CharEvent 677 699 0 0 1 Super_L 0 +UpdateDropLocationEvent 677 699 0 0 1 Super_L 0 +EnterEvent 781 494 0 0 0 Super_L 0 +DropFilesEvent 781 494 0 0 0 Super_L 1 1 "'`Quotes"'`.stl +RenderEvent 781 494 0 0 0 Super_L 0 +MouseMoveEvent 781 498 0 0 0 Super_L 0 +LeaveEvent 751 614 0 0 0 Super_L 0