From 19c0c6a983562294251bfa2fa02a1b2a71bc876c Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Thu, 12 Apr 2012 18:09:25 -0700 Subject: [PATCH] Add back other unit tests. Disable worker. --- test/unit/api_spec.js | 2 ++ test/unit/jsTestDriver.conf | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js index 72c6434b1..318dbb42a 100644 --- a/test/unit/api_spec.js +++ b/test/unit/api_spec.js @@ -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() { diff --git a/test/unit/jsTestDriver.conf b/test/unit/jsTestDriver.conf index 8ff218093..b0f917b66 100644 --- a/test/unit/jsTestDriver.conf +++ b/test/unit/jsTestDriver.conf @@ -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: