From 222d3fdf687554b298650080e2e8f47d83411651 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 6 Jun 2018 20:19:45 +0000 Subject: 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 Commit-Queue: Ryan Harrison --- testing/SUPPRESSIONS | 1 - .../dynamic_password_field_background_fill.evt | 116 +++++++++++++++++++++ ...ssword_field_background_fill_expected.pdf.0.png | Bin 0 -> 39836 bytes ...rd_field_background_fill_expected_win.pdf.0.png | Bin 0 -> 39835 bytes 4 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill.evt create mode 100644 testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected.pdf.0.png create mode 100644 testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected_win.pdf.0.png (limited to 'testing') 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 Binary files /dev/null and b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected.pdf.0.png 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 Binary files /dev/null and b/testing/resources/pixel/xfa_specific/dynamic_password_field_background_fill_expected_win.pdf.0.png differ -- cgit v1.2.3