[Pkg-javascript-commits] [pdf.js] 65/109: Add a (linked) `load` test for PR 4731

David Prévot taffit at moszumanska.debian.org
Fri Sep 25 03:04:19 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 09b825d1beb4b80d5ead9fde8cf1e7b2c15ad22e
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Mon Aug 31 16:55:25 2015 +0200

    Add a (linked) `load` test for PR 4731
    
    Re: PR 4731.
    Since the URL points to the Internet Archive, I think that adding a linked test-case should be OK. (Also, it's difficult to create reduced, or even `unit`, tests that accurately captures the brokenness of real-world PDF files.)
    
    *Please note:* Since this is a `load` test, `makeref`ing won't be needed.
---
 test/pdfs/pr4731.pdf.link | 1 +
 test/test_manifest.json   | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/test/pdfs/pr4731.pdf.link b/test/pdfs/pr4731.pdf.link
new file mode 100644
index 0000000..d83f270
--- /dev/null
+++ b/test/pdfs/pr4731.pdf.link
@@ -0,0 +1 @@
+http://web.archive.org/web/20150830132600/http://rudar.ruc.dk/bitstream/1800/12945/1/samlet-29Nov1035.pdf
diff --git a/test/test_manifest.json b/test/test_manifest.json
index 52dac50..f7c857b 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -1035,6 +1035,14 @@
        "link": false,
        "type": "eq"
     },
+    {  "id": "pr4731",
+       "file": "pdfs/pr4731.pdf",
+       "md5": "0121642027e525c4b95357f1b5669e64",
+       "rounds": 1,
+       "link": true,
+       "lastPage": 1,
+       "type": "load"
+    },
     {  "id": "S2-eq",
        "file": "pdfs/S2.pdf",
        "md5": "d0b6137846df6e0fe058f234a87fb588",

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