summaryrefslogtreecommitdiff
path: root/testing/resources/pixel
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-06-26 15:28:28 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-26 15:28:28 +0000
commit08b6819660a69cdc83bd133d1074da5813d9e414 (patch)
tree326f9fd6bbaf2c00ce4076aa065c557273efcec8 /testing/resources/pixel
parentb86544285e263310c1017a3aa056d71e68c5d5a1 (diff)
downloadpdfium-08b6819660a69cdc83bd133d1074da5813d9e414.tar.xz
Write pixel .evt test for dynamic_list_box_allow_multiple_selection.
Improve the .evt mechanism to accept mouse clicks with modifiers (such as shift). Bug: pdfium:1105 Change-Id: I6e9c2c1f66b7fde250b55b41ccdf115a311f44f7 Reviewed-on: https://pdfium-review.googlesource.com/36091 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing/resources/pixel')
-rw-r--r--testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection.evt5
-rw-r--r--testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected.pdf.0.pngbin0 -> 14435 bytes
-rw-r--r--testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected_mac.pdf.0.pngbin0 -> 14452 bytes
3 files changed, 5 insertions, 0 deletions
diff --git a/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection.evt b/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection.evt
new file mode 100644
index 0000000000..ec52e98864
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection.evt
@@ -0,0 +1,5 @@
+mousedown,left,370,114
+mouseup,left,370,114
+
+mousedown,left,370,145,shift
+mouseup,left,370,145,shift
diff --git a/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected.pdf.0.png
new file mode 100644
index 0000000000..da0687a41f
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected.pdf.0.png
Binary files differ
diff --git a/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected_mac.pdf.0.png b/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected_mac.pdf.0.png
new file mode 100644
index 0000000000..9ba2f38195
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/dynamic_list_box_allow_multiple_selection_expected_mac.pdf.0.png
Binary files differ