mozilla/pdf.js — pull request #1580 by brendandahl (2012-04-19 19:45:07+00:00)
Title: Use test.py for unit tests too.

Unit tests were a pain to run with jstestdriver since it couldn't serve pdf files. Wrote a simple jasmine test reporter that posts back to test.py just like the ref tests do.

I also added back the old unit_test.html which is now use for driving the tests from the command line, but can also be viewed like a normal page to run the unit tests (a much nicer workflow for me at least).
http://localhost:8888/test/unit/unit_test.html

You shouldn't need to review any of the stuff in external/jasmine. Most of the new code I wrote is in:
- test/unit/testreporter.js
- test/test.py
- make files

*TODO* I need to talk with the botmaster(@arturadib) on how he'd like this to work for botio. It should currently run but it will not be reported back if the unit test's failed or passed.

Last, I had to change around stream_spec.js since it was failing on chrome.