summaryrefslogtreecommitdiff
path: root/testing/resources/pixel/xfa_specific
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-06-07 20:36:23 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-07 20:36:23 +0000
commit2c457887402151cfde8ac4842af0c2248eb840a9 (patch)
treed265acd04d408a2a33ba0325c0190d60de68770a /testing/resources/pixel/xfa_specific
parent888af47eec5784c1919200087769b7e58e5efd02 (diff)
downloadpdfium-2c457887402151cfde8ac4842af0c2248eb840a9.tar.xz
Convert resolve_nodes.pdf into 3 test cases
There are 3 elements in the PDF that can be interacted with that cause testable output. This CL creates test cases for each of these elements. 2 of them work correctly, and a new bug, pdfium:1106, has been filed for the third. BUG=pdfium:1020 Change-Id: I524911d03927a0eeeee1d1479e1a855f90269e8e Reviewed-on: https://pdfium-review.googlesource.com/34370 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing/resources/pixel/xfa_specific')
-rw-r--r--testing/resources/pixel/xfa_specific/resolve_nodes_0.evt3
-rw-r--r--testing/resources/pixel/xfa_specific/resolve_nodes_0.pdf (renamed from testing/resources/pixel/xfa_specific/resolve_nodes.pdf)bin213700 -> 213700 bytes
-rw-r--r--testing/resources/pixel/xfa_specific/resolve_nodes_0_expected.pdf.0.pngbin0 -> 75004 bytes
3 files changed, 3 insertions, 0 deletions
diff --git a/testing/resources/pixel/xfa_specific/resolve_nodes_0.evt b/testing/resources/pixel/xfa_specific/resolve_nodes_0.evt
new file mode 100644
index 0000000000..e8518ab82c
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/resolve_nodes_0.evt
@@ -0,0 +1,3 @@
+mousedown,left,550,30
+mouseup,left,550,30
+
diff --git a/testing/resources/pixel/xfa_specific/resolve_nodes.pdf b/testing/resources/pixel/xfa_specific/resolve_nodes_0.pdf
index 9694f7fe50..9694f7fe50 100644
--- a/testing/resources/pixel/xfa_specific/resolve_nodes.pdf
+++ b/testing/resources/pixel/xfa_specific/resolve_nodes_0.pdf
Binary files differ
diff --git a/testing/resources/pixel/xfa_specific/resolve_nodes_0_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/resolve_nodes_0_expected.pdf.0.png
new file mode 100644
index 0000000000..d7f1de629e
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/resolve_nodes_0_expected.pdf.0.png
Binary files differ