diff options
author | James R. Barlow <jim@purplerock.ca> | 2017-09-09 01:07:19 -0700 |
---|---|---|
committer | James R. Barlow <jim@purplerock.ca> | 2017-09-09 01:07:19 -0700 |
commit | b4349ed3458e159d94b5bbefd18e3847167ffa8d (patch) | |
tree | a87e3b83544043e09195383f6dfb981fa914e309 /tests/resources | |
parent | b182363c32f1070f12fd37112a7881b6951ddca8 (diff) |
update copyright info
Diffstat (limited to 'tests/resources')
-rw-r--r-- | tests/resources/copyright | 20 | ||||
-rw-r--r-- | tests/resources/graph-encrypted.pdf (renamed from tests/resources/encrypted.pdf) | bin | 293636 -> 293636 bytes | |||
-rw-r--r-- | tests/resources/veraPDF test suite 6-2-10-t02-pass-a.pdf | bin | 0 -> 10049 bytes | |||
-rw-r--r-- | tests/resources/veraPDF test suite 6-2-3-3-t01-fail-c.pdf | 151 |
4 files changed, 171 insertions, 0 deletions
diff --git a/tests/resources/copyright b/tests/resources/copyright new file mode 100644 index 0000000..7945236 --- /dev/null +++ b/tests/resources/copyright @@ -0,0 +1,20 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pikepdf-test-resources +Upstream-Contact: jbarlow83@github +Source: https://github.com/jbarlow83/pikepdf + +Files: tests/resources/* +Copyright: 2017 James R. Barlow +License: Apache-2.0 + +Files: tests/resources/graph*.pdf +License: public-domain +Source: https://en.wikipedia.org/wiki/File:Pandas_text_analysis.png +Comment: + For -encrypted.pdf, user password is "user" and owner password is "owner". + +Files: tests/resources/veraPDF*.pdf +Copyright: 2015 veraPDF Consortium +Source: https://github.com/veraPDF/veraPDF-corpus +License: CC-BY 4.0 + diff --git a/tests/resources/encrypted.pdf b/tests/resources/graph-encrypted.pdf Binary files differindex 6e086af..6e086af 100644 --- a/tests/resources/encrypted.pdf +++ b/tests/resources/graph-encrypted.pdf diff --git a/tests/resources/veraPDF test suite 6-2-10-t02-pass-a.pdf b/tests/resources/veraPDF test suite 6-2-10-t02-pass-a.pdf Binary files differnew file mode 100644 index 0000000..86d42b2 --- /dev/null +++ b/tests/resources/veraPDF test suite 6-2-10-t02-pass-a.pdf diff --git a/tests/resources/veraPDF test suite 6-2-3-3-t01-fail-c.pdf b/tests/resources/veraPDF test suite 6-2-3-3-t01-fail-c.pdf new file mode 100644 index 0000000..8157a0b --- /dev/null +++ b/tests/resources/veraPDF test suite 6-2-3-3-t01-fail-c.pdf @@ -0,0 +1,151 @@ +%PDF-1.4 +%вгПу +1 0 obj +<< +/Type /Catalog +/Outlines 2 0 R +/OutputIntents [] +/Pages 3 0 R +/Metadata 4 0 R +/PageMode /UseOutlines +>> +endobj +2 0 obj +<< +/Type /Outlines +/First 5 0 R +/Count 1 +/Last 5 0 R +>> +endobj +3 0 obj +<< +/Type /Pages +/Count 1 +/Kids [6 0 R] +>> +endobj +4 0 obj +<< +/Type /Metadata +/Subtype /XML +/Length 870>> +stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
<dc:creator>
<rdf:Seq>
<rdf:li>veraPDF Consortium</rdf:li>
</rdf:Seq>
</dc:creator>
</rdf:Description>
<rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="" xmp:CreatorTool="veraPDF Test Builder" xmp:CreateDate="2015-03-10T17:19:21+01:00" xmp:ModifyDate="2015-03-10T17:19:21+01:00"/>
<rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="" pdf:Producer="veraPDF Test Builder 1.0 "/>
<rdf:Description xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/" rdf:about="" pdfaid:part="1" pdfaid:conformance="B"/>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>
+
+endstream +endobj +5 0 obj +<< +/Title (veraPDF test suite: 6-2-3-3-t01-fail-c) +/First 7 0 R +/Count 5 +/Last 8 0 R +/Parent 2 0 R +>> +endobj +6 0 obj +<< +/CropBox [0 0 500 500] +/ProcSet [/PDF /Text] +/Parent 3 0 R +/Contents 9 0 R +/Type /Page +/Resources << +/XObject << +/X0 10 0 R +>> +>> +/MediaBox [0 0 500 500] +>> +endobj +7 0 obj +<< +/Title (clause 6-2-3-3) +/Parent 5 0 R +/Next 11 0 R +>> +endobj +8 0 obj +<< +/Title (expected message: DeviceRGB colour space is used in a Form XObject, but the file does not define the OutputIntent) +/Parent 5 0 R +/Prev 12 0 R +>> +endobj +9 0 obj +<< +/Length 30>> +stream
+q +1 0 0 1 50 350 cm
+/X0 Do
+Q
+endstream +endobj +10 0 obj +<< +/Type /XObject +/Subtype /Form +/BBox [0 0 1000 1000] +/Length 46>> +stream
+q +0 0.7 0.7 RG +0 0.7 0.7 rg +50 50 50 50 re +B +Q
+endstream +endobj +11 0 obj +<< +/Title (topic 01) +/Parent 5 0 R +/Prev 7 0 R +/Next 13 0 R +>> +endobj +12 0 obj +<< +/Title (expected result: fail) +/Parent 5 0 R +/Prev 13 0 R +/Next 8 0 R +>> +endobj +13 0 obj +<< +/Title (instance c) +/Parent 5 0 R +/Prev 11 0 R +/Next 12 0 R +>> +endobj
+
+xref
+0 14
+0000000000 65535 f
+0000000019 00000 n
+0000000141 00000 n
+0000000212 00000 n
+0000000269 00000 n
+0000001221 00000 n
+0000001338 00000 n
+0000001513 00000 n
+0000001585 00000 n
+0000001756 00000 n
+0000001837 00000 n
+0000001987 00000 n
+0000002066 00000 n
+0000002158 00000 n
+
+trailer
+<<
+/Size 14
+/Root 1 0 R
+/ID [<D6CF927DCF82444068EB69AF5914F807> <9BB96B2659C401CF3D8C09D7F8039C2B>]
+>>
+startxref
+2243
+%%EOF
\ No newline at end of file |