Convert a number of reference tests, for documents with corrupt XRef tables, from load
to eq
As part of attempting to fix a number issues containing PDF documents with corrupt XRef tables, I'd like to improve the reference test-coverage slightly *first*. Obviously this will increase the runtime of the tests a bit, however I'd rather "waste" resources on the bots instead of developer time fixing regressions which could have been avoided.
This commit is contained in:
parent
c701ae3f4c
commit
259551d144
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -311,7 +311,6 @@
|
|||||||
!issue5567.pdf
|
!issue5567.pdf
|
||||||
!issue5701.pdf
|
!issue5701.pdf
|
||||||
!issue5896.pdf
|
!issue5896.pdf
|
||||||
!issue5909.pdf
|
|
||||||
!issue6010_1.pdf
|
!issue6010_1.pdf
|
||||||
!issue6010_2.pdf
|
!issue6010_2.pdf
|
||||||
!issue6068.pdf
|
!issue6068.pdf
|
||||||
|
Binary file not shown.
1
test/pdfs/issue5909_original.pdf.link
Normal file
1
test/pdfs/issue5909_original.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://github.com/mozilla/pdf.js/files/3720894/issue5909_original.pdf
|
@ -773,7 +773,7 @@
|
|||||||
"md5": "06cdb0f13cfeff41d6bfb24b7bbe1268",
|
"md5": "06cdb0f13cfeff41d6bfb24b7bbe1268",
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"link": false,
|
"link": false,
|
||||||
"type": "load"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "issue10004",
|
{ "id": "issue10004",
|
||||||
"file": "pdfs/issue10004.pdf",
|
"file": "pdfs/issue10004.pdf",
|
||||||
@ -1085,7 +1085,7 @@
|
|||||||
"md5": "a1dd21a70ae7097d96273e85a80b26ef",
|
"md5": "a1dd21a70ae7097d96273e85a80b26ef",
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"link": false,
|
"link": false,
|
||||||
"type": "load"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "bug1308536",
|
{ "id": "bug1308536",
|
||||||
"file": "pdfs/bug1308536.pdf",
|
"file": "pdfs/bug1308536.pdf",
|
||||||
@ -1383,8 +1383,8 @@
|
|||||||
"md5": "b422981ae781166e75c0fb4c3634ed96",
|
"md5": "b422981ae781166e75c0fb4c3634ed96",
|
||||||
"link": true,
|
"link": true,
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"lastPage": 1,
|
"lastPage": 2,
|
||||||
"type": "load"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "issue10326",
|
{ "id": "issue10326",
|
||||||
"file": "pdfs/issue10326.pdf",
|
"file": "pdfs/issue10326.pdf",
|
||||||
@ -1392,7 +1392,7 @@
|
|||||||
"link": true,
|
"link": true,
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"lastPage": 1,
|
"lastPage": 1,
|
||||||
"type": "load"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "issue7544",
|
{ "id": "issue7544",
|
||||||
"file": "pdfs/issue7544.pdf",
|
"file": "pdfs/issue7544.pdf",
|
||||||
@ -2998,7 +2998,7 @@
|
|||||||
"file": "pdfs/helloworld-bad.pdf",
|
"file": "pdfs/helloworld-bad.pdf",
|
||||||
"md5": "bf5ab1cf7fe3a502c3754f55e6ceeabd",
|
"md5": "bf5ab1cf7fe3a502c3754f55e6ceeabd",
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "load"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "issue8047",
|
{ "id": "issue8047",
|
||||||
"file": "pdfs/issue8047.pdf",
|
"file": "pdfs/issue8047.pdf",
|
||||||
@ -4037,11 +4037,13 @@
|
|||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "issue5909",
|
{ "id": "issue5909_original",
|
||||||
"file": "pdfs/issue5909.pdf",
|
"file": "pdfs/issue5909_original.pdf",
|
||||||
"md5": "51a724136c0c10008bd061a78ea4b8fc",
|
"md5": "65c169b6f540b27ac0ff2738a80d1e14",
|
||||||
|
"link": true,
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "load"
|
"lastPage": 2,
|
||||||
|
"type": "eq"
|
||||||
},
|
},
|
||||||
{ "id": "issue6069",
|
{ "id": "issue6069",
|
||||||
"file": "pdfs/issue6069.pdf",
|
"file": "pdfs/issue6069.pdf",
|
||||||
|
Loading…
Reference in New Issue
Block a user