[Pkg-javascript-commits] [pdf.js] 25/115: Replace the unavailable linked test-case for issue 1055 with a reduced test-case

David Prévot taffit at moszumanska.debian.org
Wed Dec 16 20:03:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 055573fc83f6dbd6900ec1dd94e4418c4a685398
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Wed Nov 18 13:47:56 2015 +0100

    Replace the unavailable linked test-case for issue 1055 with a reduced test-case
    
    Re: issue 1055 and PR 1095.
---
 test/pdfs/.gitignore         |   1 +
 test/pdfs/issue1055.pdf.link |   1 -
 test/pdfs/issue1055r.pdf     | 109 +++++++++++++++++++++++++++++++++++++++++++
 test/test_manifest.json      |  10 ++--
 4 files changed, 115 insertions(+), 6 deletions(-)

diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore
index ea62590..62a7a80 100644
--- a/test/pdfs/.gitignore
+++ b/test/pdfs/.gitignore
@@ -36,6 +36,7 @@
 !close-path-bug.pdf
 !issue6019.pdf
 !issue6621.pdf
+!issue1055r.pdf
 !issue1293r.pdf
 !issue1655r.pdf
 !issue6541.pdf
diff --git a/test/pdfs/issue1055.pdf.link b/test/pdfs/issue1055.pdf.link
deleted file mode 100644
index 8e2e710..0000000
--- a/test/pdfs/issue1055.pdf.link
+++ /dev/null
@@ -1 +0,0 @@
-http://mcpherrin.ca/code/mozilla/engl208b.pdf
diff --git a/test/pdfs/issue1055r.pdf b/test/pdfs/issue1055r.pdf
new file mode 100644
index 0000000..3c8ca16
--- /dev/null
+++ b/test/pdfs/issue1055r.pdf
@@ -0,0 +1,109 @@
+%PDF-1.7
+%����
+1 0 obj 
+<<
+/Pages 2 0 R
+/Type /Catalog
+>>
+endobj 
+2 0 obj 
+<<
+/Kids [3 0 R]
+/Count 1
+/Type /Pages
+>>
+endobj 
+3 0 obj 
+<<
+/Parent 2 0 R
+/MediaBox [0 0 200 50]
+/Resources 
+<<
+/XObject 
+<<
+/Im14 4 0 R
+/Tr15 5 0 R
+>>
+/Font 
+<<
+/F1 6 0 R
+>>
+>>
+/Contents 7 0 R
+/Type /Page
+>>
+endobj 
+6 0 obj 
+<<
+/BaseFont /Times-Roman
+/Subtype /Type1
+/Encoding /WinAnsiEncoding
+/Type /Font
+>>
+endobj 
+7 0 obj 
+<<
+/Length 54
+>>
+stream
+q
+/Tr15 Do
+Q
+BT
+50 20 TD
+/F1 20 Tf
+(Issue 1055) Tj
+ET
+
+endstream 
+endobj 
+4 0 obj 
+<<
+/Subtype /Form
+/Length 54
+/Type /XObject
+/BBox [0 0 20 20]
+>>
+stream
+q
+0 0 0 rg 
+0 0 20 20 re f
+1 1 1 rg 
+5 5 10 10 re f
+Q
+
+endstream 
+endobj 
+5 0 obj 
+<<
+/Subtype /Form
+/Length 34
+/Type /XObject
+/BBox [0 0 200 50]
+>>
+stream
+q
+1.5 0 0 1.5 10 10 cm
+/Im14 Do
+Q
+
+endstream 
+endobj xref
+0 8
+0000000000 65535 f 
+0000000015 00000 n 
+0000000066 00000 n 
+0000000125 00000 n 
+0000000502 00000 n 
+0000000657 00000 n 
+0000000294 00000 n 
+0000000395 00000 n 
+trailer
+
+<<
+/Root 1 0 R
+/Size 8
+>>
+startxref
+792
+%%EOF
diff --git a/test/test_manifest.json b/test/test_manifest.json
index 3dc36fc..d478031 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -1126,11 +1126,11 @@
        "type": "eq"
     },
     {  "id": "issue1055",
-      "file": "pdfs/issue1055.pdf",
-      "md5": "3ba56c2e48dce81da8669b1b9cf98ff0",
-      "rounds": 1,
-      "link": true,
-      "type": "eq"
+       "file": "pdfs/issue1055r.pdf",
+       "md5": "4aa72bb4779e3f301c45492f2a590459",
+       "rounds": 1,
+       "link": false,
+       "type": "eq"
     },
     {  "id": "issue1629",
       "file": "pdfs/issue1629.pdf",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list