diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-06-07 20:36:23 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-07 20:36:23 +0000 |
commit | 2c457887402151cfde8ac4842af0c2248eb840a9 (patch) | |
tree | d265acd04d408a2a33ba0325c0190d60de68770a /testing/resources/javascript | |
parent | 888af47eec5784c1919200087769b7e58e5efd02 (diff) | |
download | pdfium-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/javascript')
-rw-r--r-- | testing/resources/javascript/xfa_specific/resolve_nodes_1.evt | 3 | ||||
-rw-r--r-- | testing/resources/javascript/xfa_specific/resolve_nodes_1.pdf | bin | 0 -> 213700 bytes | |||
-rw-r--r-- | testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt | 1 | ||||
-rw-r--r-- | testing/resources/javascript/xfa_specific/resolve_nodes_2.evt | 3 | ||||
-rw-r--r-- | testing/resources/javascript/xfa_specific/resolve_nodes_2.pdf | bin | 0 -> 213700 bytes | |||
-rw-r--r-- | testing/resources/javascript/xfa_specific/resolve_nodes_2_expected.txt | 1 |
6 files changed, 8 insertions, 0 deletions
diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_1.evt b/testing/resources/javascript/xfa_specific/resolve_nodes_1.evt new file mode 100644 index 0000000000..baef0b419f --- /dev/null +++ b/testing/resources/javascript/xfa_specific/resolve_nodes_1.evt @@ -0,0 +1,3 @@ +mousedown,left,400,30 +mouseup,left,400,30 + diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_1.pdf b/testing/resources/javascript/xfa_specific/resolve_nodes_1.pdf Binary files differnew file mode 100644 index 0000000000..9694f7fe50 --- /dev/null +++ b/testing/resources/javascript/xfa_specific/resolve_nodes_1.pdf diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt b/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt new file mode 100644 index 0000000000..d4cc4424d3 --- /dev/null +++ b/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt @@ -0,0 +1 @@ +: \Find 1 items diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_2.evt b/testing/resources/javascript/xfa_specific/resolve_nodes_2.evt new file mode 100644 index 0000000000..906fdcd905 --- /dev/null +++ b/testing/resources/javascript/xfa_specific/resolve_nodes_2.evt @@ -0,0 +1,3 @@ +mousedown,left,43,94 +mouseup,left,43,94 + diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_2.pdf b/testing/resources/javascript/xfa_specific/resolve_nodes_2.pdf Binary files differnew file mode 100644 index 0000000000..9694f7fe50 --- /dev/null +++ b/testing/resources/javascript/xfa_specific/resolve_nodes_2.pdf diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_2_expected.txt b/testing/resources/javascript/xfa_specific/resolve_nodes_2_expected.txt new file mode 100644 index 0000000000..251a6ef43f --- /dev/null +++ b/testing/resources/javascript/xfa_specific/resolve_nodes_2_expected.txt @@ -0,0 +1 @@ +: field |