diff options
author | Lei Zhang <thestig@chromium.org> | 2017-07-31 19:33:25 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-01 20:55:43 +0000 |
commit | 98073c826b6eb1b78f8dc695577d09d4ee9cf6b8 (patch) | |
tree | 46a0938c03e3e2144a2dce0c96048c1a85f4dd83 /testing/resources/bug_750568.in | |
parent | 0186c1817bd1503051597dbcf0b032d4ff1277ab (diff) | |
download | pdfium-98073c826b6eb1b78f8dc695577d09d4ee9cf6b8.tar.xz |
Add a regression test for FPDF_ImportPages().
BUG=chromium:750558
Change-Id: I0d541c660c529b368f420d461a6eb1d81e42579a
Reviewed-on: https://pdfium-review.googlesource.com/9730
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/resources/bug_750568.in')
-rw-r--r-- | testing/resources/bug_750568.in | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/testing/resources/bug_750568.in b/testing/resources/bug_750568.in new file mode 100644 index 0000000000..9d72093827 --- /dev/null +++ b/testing/resources/bug_750568.in @@ -0,0 +1,77 @@ +{{header}} +{{object 1 0}} << + /Type /Catalog + /Pages 2 0 R +>> +endobj +{{object 2 0}} << + /Type /Pages + /MediaBox [ 0 0 200 200 ] + /Count 4 + /Kids [ 3 0 R 4 0 R 5 0 R 6 0 R ] +>> +endobj +{{object 3 0}} << + /Type /Page + /Parent 2 0 R + /Contents 7 0 R +>> +endobj +{{object 4 0}} << + /Type /Page + /Parent 2 0 R + /Contents 8 0 R +>> +endobj +{{object 5 0}} << + /Type /Page + /Parent 2 0 R + /Contents 9 0 R +>> +endobj +{{object 6 0}} << + /Type /Page + /Parent 2 0 R + /Contents 10 0 R +>> +endobj +{{object 7 0}} << +>> +stream +q +0 0 0 rg +10 80 50 30 re B* +Q +endstream +endobj +{{object 8 0}} << +>> +stream +q +0 0 1 rg +70 135 50 30 re B* +Q +endstream +endobj +{{object 9 0}} << +>> +stream +q +0 1 0 rg +130 80 50 30 re B* +Q +endstream +endobj +{{object 10 0}} << +>> +stream +q +1 0 0 rg +70 25 50 30 re B* +Q +endstream +endobj +{{xref}} +{{trailer}} +{{startxref}} +%%EOF |