pdf.js/test/unit
Jonas Jenwald ae04cf1c37 Enable running the ui_utils unit-tests on Travis
With the exception of just one test-case, all the current `ui_utils` unit-tests can run successfully on Node.js (since most of them doesn't rely on the DOM).

To get this working, I had to first of all add a new `LIB` build flag such that `gulp lib` produces a `web/pdfjs.js` file that is able to load `pdf.js` successfully.
Second of all, since neither `document` nor `navigator` is available in Node.js, `web/ui_utils.js` was adjusted slightly to avoid errors.
2017-04-25 13:37:56 +02:00
..
annotation_spec.js Annotations: implement support for line annotations 2017-04-12 23:05:25 +02:00
api_spec.js Use the DOMCanvasFactory in the API unit-tests 2017-03-13 18:58:26 +01:00
bidi_spec.js Fix inverted calculation of RTL text percentage in bidi. 2017-01-12 23:54:06 +08:00
cff_parser_spec.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
clitests.json Enable running the ui_utils unit-tests on Travis 2017-04-25 13:37:56 +02:00
cmap_spec.js Improve the error handling when loading of built-in CMap files fail (PR 8064 follow-up) 2017-03-29 22:38:29 +02:00
crypto_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
document_spec.js Cache built-in binary CMap files in the worker (issue 4794) 2017-02-16 10:55:39 +01:00
dom_utils_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
evaluator_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
fonts_spec.js Moves checkProblematicCharRanges to font_spec.js 2017-03-03 16:33:35 -06:00
function_spec.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
jasmine-boot.js [api-minor] Add a pdfjsNext parameter, and PDFJS_NEXT build flag, to allow backwards incompatible API changes 2017-03-13 18:43:43 +01:00
metadata_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
murmurhash3_spec.js Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js. 2017-04-14 10:04:52 -05:00
network_spec.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
parser_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
primitives_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
stream_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
test_utils.js Ensure that the XMLHttpRequest is opened before attempting to set the responseType in the DOMCMapReaderFactory, since IE fails otherwise (issue 8193) 2017-03-25 17:44:48 +01:00
testreporter.js Prevent browser console errors during testing 2017-02-05 13:23:42 +01:00
type1_parser_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
ui_utils_spec.js Enable running the ui_utils unit-tests on Travis 2017-04-25 13:37:56 +02:00
unicode_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
unit_test.html Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00
util_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00