From 26820b47434313b187d664ef702f48b1059bacb5 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Fri, 23 Feb 2018 22:10:06 +0000 Subject: Setup testing XFA using .in files This adds a number of {{}} style tags to the .in format that allow the fix-up script to inject XFA related boilerplate into the PDF, instead of having the .in file replicate this. A simple example XFA .in file, called xfa_example.in has been added as a template for future files to follow. Finally a run_xfa_tests.py has been added for executing all of the tests in testing/resources/xfa, which from what I can tell are not executed any other way. All of the existing PDFs in that directory are currently suppressed. BUG=pdfium:1008 Change-Id: Ie055b6640969ce8291b4c96b401ebf6887dfa0c0 Reviewed-on: https://pdfium-review.googlesource.com/27631 Commit-Queue: Ryan Harrison Reviewed-by: Lei Zhang --- testing/SUPPRESSIONS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'testing/SUPPRESSIONS') diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS index 1edc158161..317f370b31 100644 --- a/testing/SUPPRESSIONS +++ b/testing/SUPPRESSIONS @@ -321,3 +321,18 @@ bug_735912.in * * noxfa # bug_492.in * nov8 * +# +# XFA Tests +# +# TODO(rharrison): Create expectations for existing files. +barcode_test.pdf * * * +dynamic_list_box_allow_multiple_selection.pdf * * * +dynamic_password_field_background_fill.pdf * * * +dynamic_table_color_and_width.pdf * * * +email_recommended.pdf * * * +resolve_nodes.pdf * * * +standard_symbols.pdf * * * +static_list_box_caption.pdf * * * +static_password_field_rotate.pdf * * * +xfa_node_caption.pdf * * * + -- cgit v1.2.3