diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-06-06 13:36:48 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-06 13:36:48 +0000 |
commit | 74ed5542fdde125d62b040dd63b0f6c69e7ae234 (patch) | |
tree | 141a390c759ab176be51e6e7e39dd3761dcbbe19 /testing/resources/pixel | |
parent | eababa10789bc0d73a325291e2854090ee3896cd (diff) | |
download | pdfium-74ed5542fdde125d62b040dd63b0f6c69e7ae234.tar.xz |
Create events and expectation for barcode_test.pdf
This adds a test where a known value is used as a seed for generating
a barcode and confirming that the generated barcode is consistent.
BUG=pdfium:1020
Change-Id: I61ed37a8591f0efe40a8d4ab1d6024bb1489ef25
Reviewed-on: https://pdfium-review.googlesource.com/34030
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/resources/pixel')
-rw-r--r-- | testing/resources/pixel/xfa_specific/barcode_test.evt | 10 | ||||
-rw-r--r-- | testing/resources/pixel/xfa_specific/barcode_test_expected.pdf.0.png | bin | 0 -> 10547 bytes |
2 files changed, 10 insertions, 0 deletions
diff --git a/testing/resources/pixel/xfa_specific/barcode_test.evt b/testing/resources/pixel/xfa_specific/barcode_test.evt new file mode 100644 index 0000000000..0844042851 --- /dev/null +++ b/testing/resources/pixel/xfa_specific/barcode_test.evt @@ -0,0 +1,10 @@ +mousedown,left,200,95 +mouseup,left,200,95 +charcode,72 +charcode,101 +charcode,108 +charcode,108 +charcode,111 +charcode,33 +mousedown,left,500,95 +mouseup,left,500,95 diff --git a/testing/resources/pixel/xfa_specific/barcode_test_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/barcode_test_expected.pdf.0.png Binary files differnew file mode 100644 index 0000000000..2e668afc9a --- /dev/null +++ b/testing/resources/pixel/xfa_specific/barcode_test_expected.pdf.0.png |