[Pkg-javascript-commits] [pdf.js] 116/174: Replace the linked test-case for issue 3879 with a reduced test-case

David Prévot taffit at moszumanska.debian.org
Thu Nov 19 18:45:27 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 034087bb406bdba2e6282d8d3e1d45724b242994
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sun Nov 1 12:38:59 2015 +0100

    Replace the linked test-case for issue 3879 with a reduced test-case
    
    Re: issue 3879 and PR 3880.
---
 test/pdfs/.gitignore         |   1 +
 test/pdfs/issue3879.pdf.link |   1 -
 test/pdfs/issue3879r.pdf     | 103 +++++++++++++++++++++++++++++++++++++++++++
 test/test_manifest.json      |   8 ++--
 4 files changed, 107 insertions(+), 6 deletions(-)

diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore
index 9bbf4ec..4088cad 100644
--- a/test/pdfs/.gitignore
+++ b/test/pdfs/.gitignore
@@ -27,6 +27,7 @@
 !sizes.pdf
 !javauninstall-7r.pdf
 !issue3205r.pdf
+!issue3879r.pdf
 !close-path-bug.pdf
 !issue1293r.pdf
 !issue6541.pdf
diff --git a/test/pdfs/issue3879.pdf.link b/test/pdfs/issue3879.pdf.link
deleted file mode 100644
index c74b6f4..0000000
--- a/test/pdfs/issue3879.pdf.link
+++ /dev/null
@@ -1 +0,0 @@
-http://particuliers.lcl.fr/quotidien/cartes/simplifier_quotidien/carte-visa-cleo/Ressources/pdf/dispositions_generales_cb_cleo.pdf
diff --git a/test/pdfs/issue3879r.pdf b/test/pdfs/issue3879r.pdf
new file mode 100644
index 0000000..b3a779d
--- /dev/null
+++ b/test/pdfs/issue3879r.pdf
@@ -0,0 +1,103 @@
+%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 
+<<
+/Fm1 4 0 R
+>>
+/Font 
+<<
+/F1 5 0 R
+>>
+>>
+/Contents 6 0 R
+/Type /Page
+>>
+endobj 
+5 0 obj 
+<<
+/BaseFont /Times-Roman
+/Subtype /Type1
+/Encoding /WinAnsiEncoding
+/Type /Font
+>>
+endobj 
+4 0 obj 
+<<
+/Group 
+<<
+/CS /DeviceCMYK
+/K false
+/Type /Group
+/I false
+/S /Transparency
+>>
+/Matrix [1.0 0.0 0.0 1.0 0.0 0.0]
+/Subtype /Form
+/Length 55
+/Resources 
+<<
+>>
+/BBox [542.117 521.691 827.117 384.691]
+>>
+stream
+q
+0 0 0 1 k
+1 i 
+598.927 507.355 174.96 -112.68 re
+f
+Q
+
+endstream 
+endobj 
+6 0 obj 
+<<
+/Length 53
+>>
+stream
+q
+/Fm1 Do
+Q
+BT
+10 20 TD
+/F1 20 Tf
+(Issue 3879) Tj
+ET
+
+endstream 
+endobj xref
+0 7
+0000000000 65535 f 
+0000000015 00000 n 
+0000000066 00000 n 
+0000000125 00000 n 
+0000000382 00000 n 
+0000000281 00000 n 
+0000000675 00000 n 
+trailer
+
+<<
+/Root 1 0 R
+/Size 7
+>>
+startxref
+780
+%%EOF
diff --git a/test/test_manifest.json b/test/test_manifest.json
index 2e7b2ce..8f55047 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -67,12 +67,10 @@
        "type": "eq"
     },
     {  "id": "issue3879",
-       "file": "pdfs/issue3879.pdf",
-       "md5": "1cd1f1c3271515a14e65ff2980e14663",
+       "file": "pdfs/issue3879r.pdf",
+       "md5": "756cdaf5eb54c7d78b0aa737236b9a4f",
        "rounds": 1,
-       "link": true,
-       "firstPage": 2,
-       "lastPage": 2,
+       "link": false,
        "type": "eq"
     },
     {  "id": "issue3885",

-- 
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