summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-10-26 21:07:08 +0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-10-27 11:27:29 +0800
commitec44186fdbca423eddf432be8b5c38914674023a (patch)
treef8c00272fa526bb32301b3f50e618d292f154e52 /testing
parent13dc2cff2adc00ed8fa9674e946102a79773d587 (diff)
downloadpdfium-ec44186fdbca423eddf432be8b5c38914674023a.tar.xz
Add an embedded test case
Diffstat (limited to 'testing')
-rw-r--r--testing/resources/bug_216.pdf39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/resources/bug_216.pdf b/testing/resources/bug_216.pdf
new file mode 100644
index 0000000000..1cb88845a4
--- /dev/null
+++ b/testing/resources/bug_216.pdf
@@ -0,0 +1,39 @@
+%PDF-1.7
+1 0 obj <<
+ /Type /Catalog
+ /Pages 2 0 R
+ /AcroForm 4 0 R
+>>
+endobj
+2 0 obj <<
+ /Type /Pages
+ /Count 1
+>>
+endobj
+4 0 obj <<
+ /XFA [
+ (xdp:xdp) 23 0 R
+ (form) 29 0 R
+ (</xdp:xdp>) 30 0 R]
+>>
+endobj
+23 0 obj <<
+>>stream
+<?xml version="1.0" encoding="UTF-8"?>
+<xdp:xdp xmlns:xdp="http://www.foxitsoftware.com/">
+endstream
+endobj
+29 0 obj <<
+>>stream
+<form xmlns="http://www.xfa.org/schema/xfa-form/2.6/">
+</form>
+endstream
+endobj
+30 0 obj <<
+>>stream
+</xdp:xdp>
+endstream
+endobj
+trailer
+<</Root 1 0 R>>
+%%EOF