openseadragon/test
Chris Adams 59a254bea6 Tests: add open failure tests, overhaul test framework
* Add tests for open failures
* Refactor tests to avoid tests depending on implied status from
  previous tests:
  1. The viewer is now created and destroyed for each
     test to avoid pollution and simplify error handling: nothing
     starts until you request it.
  2. Some tests like Basic: Homepage depended on the Zoom & Pan tests;
     now this is handled explicitly as part of the test setup
  3. All basic tests are now properly async tests (since they needed
     the viewer to load, they really were in the past except that
     they were relying on the viewer state left behind from previous
     tests)
* All tests now run inside the qunit-fixture to prevent masking
  failures. Util.resetDom() has been refactored to use the
  qunit-fixture and the teardown logic only used in the navigator
  tests has been moved into the navigator test teardown method
* Fixed undeclared mainViewerElement variable in optional path in
  the navigator tests
* JSHint cleanup
2013-07-01 18:26:44 -04:00
..
data Remove all whitespace 2013-06-19 13:33:27 -04:00
demo Remove detritus left behind from error handler testing 2013-07-01 12:55:58 -04:00
lib Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator 2013-03-23 21:44:22 -04:00
basic.js Tests: add open failure tests, overhaul test framework 2013-07-01 18:26:44 -04:00
formats.js Tests: add open failure tests, overhaul test framework 2013-07-01 18:26:44 -04:00
navigator.js Tests: add open failure tests, overhaul test framework 2013-07-01 18:26:44 -04:00
strings.js Tests: getString with placeholder expansion 2013-07-01 16:55:39 -04:00
test.css Adding wide and tall viewers 2013-03-23 21:07:17 -04:00
test.html Tests: add open failure tests, overhaul test framework 2013-07-01 18:26:44 -04:00
test.js Tests: add open failure tests, overhaul test framework 2013-07-01 18:26:44 -04:00
utils.js Tests for requestAnimationFrame and cancelAnimationFrame 2013-05-23 09:48:53 -07:00