]> git.parisson.com Git - pdf.js.git/commitdiff
Add back other unit tests. Disable worker.
authorBrendan Dahl <brendan.dahl@gmail.com>
Fri, 13 Apr 2012 01:09:25 +0000 (18:09 -0700)
committerBrendan Dahl <brendan.dahl@gmail.com>
Fri, 13 Apr 2012 01:09:25 +0000 (18:09 -0700)
test/unit/api_spec.js
test/unit/jsTestDriver.conf

index 72c6434b1e04aa34c837169515696d33ae0d296d..318dbb42a278c4b5f9d6754fef154c8cc372a879 100644 (file)
@@ -4,6 +4,8 @@
 'use strict';
 
 describe('api', function() {
+  // TODO run with worker enabled
+  PDFJS.disableWorker = true;
   var basicApiUrl = '/basicapi.pdf';
   function waitsForPromise(promise) {
     waitsFor(function() {
index 8ff2180935cf5d45a60b3b4690a01cc3168cc98c..b0f917b665785ea7b04cc94b38aeadbe56d45a69 100644 (file)
@@ -28,6 +28,11 @@ load:
   - ../src/bidi.js
   - ../src/metadata.js
   - ../external/jpgjs/jpg.js
+  - unit/obj_spec.js
+  - unit/font_spec.js
+  - unit/function_spec.js
+  - unit/crypto_spec.js
+  - unit/stream_spec.js
   - unit/api_spec.js
 
 gateway: