1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Make unit tests runnable from command line.

This commit is contained in:
Kalervo Kujala 2011-11-24 00:03:17 +02:00
parent 59d9dfc014
commit 1a119bcb08
7 changed files with 440 additions and 0 deletions

7
test/unit/Makefile Normal file
View file

@ -0,0 +1,7 @@
PROG=java -Xms512m -Xmx1024m -jar ../../external/jsTestDriver/JsTestDriver-1.3.3d.jar --reset --port 4224 --browser firefox --tests all --testOutput ./test_reports/
test:
$(PROG) ; \
.phony:: test

View file

@ -0,0 +1,8 @@
server: http://localhost:4224
load:
- ../../external/jasmine/jasmine.js
- ../../external/jasmineAdapter/JasmineAdapter.js
- ../../src/obj.js
- ../unit/obj_spec.js

2
test/unit/test_reports/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
TEST*