mduan
5ab3bb1e03
Skip commands that have too few arguments
...
- Commands that have too few args will be skipped
- Commands that have too many args will generate an info, but still
execute
12 years ago
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
12 years ago
mduan
eb8f4e8343
Handle some illegal characters in hex string
...
Do not throw exception when hex strings are in the wrong format
Currently pdf.js is throwing an exception for the following hex string:
`<7 0 2 15 5 2 2 2 4 3 2 4>`
The issue is that the 15 is not a valid hex character so pdf.js ends up
throwing an exception.
This diff changes the parser to process the above hex string as follow:
`70 21 55 2 24 32` (Note: the final 4 of the hex string is ignored)
replicating the behaviour of MuPDF, and doesn't throw an exception.
12 years ago
khodzha
18da086b96
fix of combineUrl(baseUrl, url) in case of url - null, empty, undefined + unittests
13 years ago
Yury Delendik
4c0f9eb924
Fixes getNumber at the end of stream
13 years ago
Brendan Dahl
66563d0f95
Increase wait timeout for api unit tests.
13 years ago
Yury Delendik
e32ecc44d3
Fixes CFF test and CFF int16 parsing
13 years ago
Yury Delendik
0dd445bf18
Fixes unit tests and adds few for util.js
13 years ago
Yury Delendik
43f1946c7a
Add prefixes for literals
13 years ago
Yury Delendik
ec6c185cf5
Allow parsing of the "glued" commands
13 years ago
Yury Delendik
910ba0b91f
Fixes user and owner passwords logic
13 years ago
Yury Delendik
324b867183
Adds evaluator tests
13 years ago
Yury Delendik
f7ccb291f4
Fix broken metadata
13 years ago
Brendan Dahl
909951d975
Allow time to finish requests.
13 years ago
Brendan Dahl
5f17d881a9
Fix nit.
13 years ago
Brendan Dahl
e18a2c512e
Use test.py for unit tests too.
13 years ago
Brendan Dahl
e5732f489d
Handle junk at the end of postscript functions.
13 years ago
Brendan Dahl
19c0c6a983
Add back other unit tests. Disable worker.
13 years ago
Brendan Dahl
3925e37417
Add basic api unit testing.
13 years ago
Brendan Dahl
1a1767ce82
Fix lint.
13 years ago
Brendan Dahl
386ea373a5
Add font spec to the unit test list.
13 years ago
Brendan Dahl
ce53b1b018
CFF Parser and Compiler.
13 years ago
Adil Allawi
b50cf76ab5
Properly integrate new file bidi.js
13 years ago
Kalervo Kujala
58107b1958
Add crypto and stream specs to test runner configuration.
13 years ago
Kalervo Kujala
91c935180e
Use correct default rule for unit test.
13 years ago
Kalervo Kujala
aeaaea35a8
Create debug option for the unit test makefile.
13 years ago
notmasteryet
50a16573ad
Add unit tests for calculateMD5, ARCFourCipher, and PredictorStream
13 years ago
Kalervo Kujala
f975f929f5
Add Unit tests for RefSet.
13 years ago
Kalervo Kujala
075d2d9cbf
Add new unit tests to jsTestDriver.conf.
13 years ago
Kalervo Kujala
678b7dcd04
Use absolute paths in profiles for unit test.
13 years ago
Kalervo Kujala
71494bbab5
Find profile dirs in a better way for unit test.
13 years ago
Kalervo Kujala
d2a67eda78
Separate browsers correctly with newlines.
...
Also simplify $$RANDOM handling.
13 years ago
Brendan Dahl
9de52f375d
Fix idiv and cvi. Add test case for idiv.
14 years ago
Brendan Dahl
6afb49c6c6
Address Yury's PR comments.
14 years ago
Brendan Dahl
20dace0513
Switch to a single "code stack".
14 years ago
Kalervo Kujala
0e2fb810c5
Refactor obj.js unit tests to be aligned with code.
14 years ago
Brendan Dahl
27b0d0c941
Switch to two arrays for instructions.
14 years ago
Kalervo Kujala
84d6a121af
Add basic unit tests for obj.js.
14 years ago
Kalervo Kujala
58a2919ef7
Separate unit test Makefile commands to separate variables for readability.
...
Also add more debug info for the make.
14 years ago
Brendan Dahl
971f35d165
Add unit files to lint, fix lint errors.
14 years ago
Brendan Dahl
1089c30b56
Adding type4 postscript function support.
14 years ago
Kalervo Kujala
43b57f9e49
Add debug logging to unit test Makefile.
14 years ago
Kalervo Kujala
d741a8a7aa
Set the Makefile variables correctly for unit test.
14 years ago
Kalervo Kujala
3a55c1c8b9
Create the profile directories beforehand for unit test.
14 years ago
Kalervo Kujala
86663408f0
Use simpler sed and random temp profile names for unit test.
14 years ago
Kalervo Kujala
75c9286a20
Add unit test support for Google Chrome for Windows.
14 years ago
Kalervo Kujala
be2e7a7a9c
Add profile handling for the unit test.
14 years ago
Kalervo Kujala
190432f252
Remove unit_test.html.
...
JsTestDriver has made it obsolete. Also add explicitly the used config to
the Makefile.
14 years ago
Kalervo Kujala
1c2bb4ace7
Remove unit-test from 'make test' and add Aurora to the paths on mac.
14 years ago
Kalervo Kujala
0e46928f36
Use paths to binaries for Mac in unit test makefile.
14 years ago