Commit Graph

72 Commits

Author SHA1 Message Date
Antoine Vandecreme
791ecfae75 Add coordinates conversion methods to viewport. 2013-10-03 17:27:11 -04:00
Mark Salsbery
853a141994 Unit tests for userData in events (issue #203) 2013-08-28 05:50:22 -07:00
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
houseofyin
bb4a8a0b4f Bringing back in sync with the latest baseline 2013-05-17 22:29:08 -04:00
Ian Gilman
160da513cc Merge branch 'fullpage-class' of github.com:bgilbert/openseadragon into bgilbert-fullpage-class
Fixed Conflicts:
	test/test.html
2013-05-14 09:08:04 -07:00
Benjamin Gilbert
31d4cc13b7 Add tests for addClass/removeClass 2013-05-13 22:24:04 -04:00
Benjamin Gilbert
f235d7a642 Rename test/util.js to test/test.js
since we are about to create a module for testing utility functions.
2013-05-13 21:54:41 -04:00
Ian Gilman
9001fe9a5e Generalized format test and added DZI XML 2013-05-13 10:50:43 -07:00
Ian Gilman
199c2f6c2d Merge branch 'master' of github.com:openseadragon/openseadragon
Fixed Conflicts:
	test/test.html
2013-05-10 11:59:09 -07:00
Ian Gilman
457f908c06 DZI-JSONp test now works; enabled 2013-05-10 11:32:43 -07:00
Heath Nielson
eb14eae428 Merge remote branch 'upstream/master' into getString-error
Conflicts:
	test/test.html
2013-05-10 11:54:45 -06:00
Ian Gilman
05c25fddcf Getting started on a DZI-JSONp test; currently disabled 2013-05-09 11:03:31 -07:00
Heath Nielson
e98fb410ee Add some get/setString tests. 2013-04-26 15:19:23 -06:00
houseofyin
450760d3b7 Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
Conflicts:
	test/test.html
2013-03-23 21:44:22 -04:00
houseofyin
e109b219f3 Adding wide and tall viewers 2013-03-23 21:08:21 -04:00
Ian Gilman
b1758040a0 Added "home" and "click" tests 2013-03-21 13:44:22 -07:00
houseofyin
67210da278 Snapshot of navigators tests in development 2013-03-21 13:55:36 -04:00
Ian Gilman
7f98c3cfa7 Renamed test js file so we can have more than one 2013-03-07 11:53:46 -08:00
Ian Gilman
9401b5d393 First version of real tests 2013-03-07 10:44:08 -08:00
Ian Gilman
8074b338d1 Fixed compress and moved build to build/openseadragon
The zip and tar now go into build next to build/openseadragon
2013-02-21 11:56:16 -08:00
Ian Gilman
98e8289c9b Test now works again 2013-02-21 11:17:05 -08:00
Ian Gilman
607a4af860 First version of test files 2013-02-14 10:21:07 -08:00