From 74ed5542fdde125d62b040dd63b0f6c69e7ae234 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 6 Jun 2018 13:36:48 +0000 Subject: 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 Reviewed-by: Henrique Nakashima Reviewed-by: Lei Zhang --- testing/resources/pixel/xfa_specific/barcode_test.evt | 10 ++++++++++ .../pixel/xfa_specific/barcode_test_expected.pdf.0.png | Bin 0 -> 10547 bytes 2 files changed, 10 insertions(+) create mode 100644 testing/resources/pixel/xfa_specific/barcode_test.evt create mode 100644 testing/resources/pixel/xfa_specific/barcode_test_expected.pdf.0.png (limited to 'testing/resources/pixel/xfa_specific') 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 new file mode 100644 index 0000000000..2e668afc9a Binary files /dev/null and b/testing/resources/pixel/xfa_specific/barcode_test_expected.pdf.0.png differ -- cgit v1.2.3