summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-06-06 20:19:45 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-06 20:19:45 +0000
commit222d3fdf687554b298650080e2e8f47d83411651 (patch)
treea77785885bf07e34744e44b37f692c4328179666
parentd89f1bf48f017ab9f56df13299f75a906ed33cd0 (diff)
downloadpdfium-222d3fdf687554b298650080e2e8f47d83411651.tar.xz
Unsuppress dynamic_password_field_background_fill.pdf
This CL creates a .evt and expectation image for this test. This test has a variety of password entry fields with different backgrounds and enters text into them. BUG=pdfium:1020 Change-Id: Icaa695670e8a773e066aec2251658a11c3e8ca3b Reviewed-on: https://pdfium-review.googlesource.com/34214 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
-rw-r--r--testing/SUPPRESSIONS1
-rw-r--r--testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill.evt116
-rw-r--r--testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected.pdf.0.pngbin0 -> 39836 bytes
-rw-r--r--testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected_win.pdf.0.pngbin0 -> 39835 bytes
4 files changed, 116 insertions, 1 deletions
diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS
index e6fb75072d..7e4b507d9f 100644
--- a/testing/SUPPRESSIONS
+++ b/testing/SUPPRESSIONS
@@ -326,7 +326,6 @@ bug_492.in * nov8 *
# TODO(rharrison): Create expectations for existing files.
dynamic_list_box_allow_multiple_selection.pdf * * *
-dynamic_password_field_background_fill.pdf * * *
resolve_nodes.pdf * * *
standard_symbols.pdf * * *
# TODO(rharrison): Remove after pdfium:1095 is fixed
diff --git a/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill.evt b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill.evt
new file mode 100644
index 0000000000..7750a6f540
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill.evt
@@ -0,0 +1,116 @@
+mousedown,left,250,140
+mouseup,left,250,140
+
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+keycode,9
+charcode,72
+charcode,101
+charcode,108
+charcode,108
+charcode,111
+charcode,33
+
+mousedown,left,0,0
+mouseup,left,0,0
diff --git a/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected.pdf.0.png
new file mode 100644
index 0000000000..493f459b8f
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected.pdf.0.png
Binary files differ
diff --git a/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected_win.pdf.0.png b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected_win.pdf.0.png
new file mode 100644
index 0000000000..bfe7fad879
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected_win.pdf.0.png
Binary files differ