Commit Graph

71 Commits

Author SHA1 Message Date
Aiosa
750d45be81 Implement asynchronous tile processing logic wrt. tile cache conversion. 2023-09-24 22:30:28 +02:00
Andrew A
ad1179b9db Update to most recent QUnit
Update to most recent version of QUnit, which has been published under a new name for a while now.

Accordingly, replace the old package with the new one in both dependencies, as well as update references in test HTML files.
2023-05-27 13:16:28 +02:00
Aiosa
c8dbb2c757 Implement support for async function and promise type recognition with $.type. Add $.Promise proxy. Implement support for promises in EventSource. Implement ability to abort events as well as prioritize events. 2023-01-17 11:13:48 +01:00
Tom
e122f372ba enable all tests 2022-12-11 15:07:43 -05:00
Ian Gilman
dfcfa4c02b Temporarily disabling navigator tests 2022-12-02 16:27:43 -08:00
John Reagan
601160e9fb Add support for dynamic urls from tile source. Fixes #1970 2022-11-30 15:38:57 -05:00
Andrew Hankinson
7a97d524f8 Improved testing data for IIIFv3
This commit adds a new set of tests for IIIFv3 Image API info
to the `formats` tests. These tests mirror the tests done for the v2
handler, but with updated 'info.json' files.

Image directories also needed to be changed to include the full width/height
parameters.

Also changed was moving the `iiif` test block up below formats, and adding a QUnit
module name. This allowed the tests to show up in the QUnit browser test.

All of the new tests were checked and pass.
2022-06-16 12:58:41 +02:00
Jirka
aacae1ca3f Reverted .json configuration changes made by npm. Added tests for PUSH functionality, new flag 'allowPost' to explicitly enable POST data, remove (-1) in the URL splitting. 2022-01-12 22:31:13 +01:00
Hernán Cervera
b0fb8e836d Add tests for OpenSeadragon.getViewer 2021-07-02 12:25:02 -05:00
Lutz Helm
e851620df4 Add some unit tests for the handling of different IIIF versions 2020-01-06 13:42:32 +01:00
nein09
80e8065e2f More work on navigator tests 2018-01-02 08:32:45 -08:00
nein09
6f789e7e88 Everything but the navigator tests 2018-01-02 08:32:45 -08:00
nein09
b096e369d0 Controls and viewport 2018-01-02 08:32:45 -08:00
nein09
52a275808f Multi-image and overlays tests 2018-01-02 08:32:45 -08:00
nein09
76669f8a65 Update units 2018-01-02 08:32:45 -08:00
nein09
b4b1ec8825 Make timeWatcher args make more sense, add utils tests 2018-01-02 08:32:45 -08:00
nein09
73be93b995 Formats tests 2018-01-02 08:32:45 -08:00
Mark Allen Matney, Jr
77da306397 Enable configuration of ImageJob timeout 2017-05-11 21:36:27 -07:00
Sean Nichols
b909caaf45 Add some tests for AJAX tile loading 2017-05-08 11:14:26 -04:00
Antoine Vandecreme
41b8956df6 Fix version object not filled. Fix #1024 2017-01-07 17:38:38 +01:00
Daniel Zimmermann
7935ab82d4 Add unit tests for multi-touch 2016-05-17 11:29:42 +10:00
Gaetano Guerriero
4508405d42 test module for dzitilesource was bad named 2016-02-03 11:30:19 +01:00
Gaetano Guerriero
d3e23a2986 fixed dzitilesource guessing of tilesUrl.
Now the regex guessing the root url of tiles works also if the data
url (the url from which information about the tile was downloaded) does
not ends with .dzi, .xml or .js.
2016-02-03 00:27:14 +01:00
Antoine Vandecreme
94186826af Extend Rect class to support rotation. 2015-11-26 17:25:50 -05:00
Conner Wingard
e1e345a4bc Clean up TileSource object when provided tileWidth/tileHeight for clarity. Add basic TileSource tests. 2015-07-14 14:49:52 -04:00
Ian Gilman
332b28ab2d * Now animating zoom spring exponentially 2015-03-30 14:50:37 -07:00
Ian Gilman
03fec96f33 Moved viewport test 2015-01-02 14:25:42 -08:00
Ian Gilman
36831d3434 Testing deprecations 2014-11-20 16:02:02 -08:00
Ian Gilman
78e44d487b TileCache tests 2014-11-20 11:51:24 -08:00
Ian Gilman
cf0059daa5 Reorganized test folder 2014-11-19 16:52:33 -08:00
Ian Gilman
3449ba1961 tiledImage tests 2014-11-18 17:12:15 -08:00
Ian Gilman
613e03d413 Drawer tests; multi-image test 2014-11-18 16:28:08 -08:00
Ian Gilman
643332902d Unit tests for World 2014-11-17 16:24:40 -08:00
Ian Gilman
de2d473db6 Merge branch 'master' into collections
fixed Conflicts:
	test/test.html
2014-11-04 09:41:28 -08:00
nein09
e8d4c00c5f Add viewport.js to test.html so tests get run. Use built-in Point functions. Add a helper function to get a random number. 2014-10-09 16:58:45 -07:00
Ian Gilman
08a38a8602 More test fixes. 2014-08-19 15:27:04 -07:00
Ian Gilman
b2e2b2b125 Renamed layers.js to multi-image.js 2014-08-19 15:03:45 -07:00
Ian Gilman
48603ba260 Drawer creation now supports width or height rather than scale. 2014-07-31 15:54:20 -07:00
Ian Gilman
eb58d3fd11 Fixed QUnit dependency 2014-06-05 09:53:03 -07:00
Mark Salsbery
e8e0f28f5a Merge Upstream Changes 2014-04-15 06:40:46 -07:00
Antoine Vandecreme
16ee82d43b Add showZoomControl, showHomeControl and showFullPageControl options to be able to hide specific controls. See #210
Add missing doc for buttons.
Set the rotate buttons to viewer.rotate(Left/Right)Button for coherence with other buttons.
Update tests.
2014-04-07 14:11:33 -04:00
Mark Salsbery
d324aea761 Multi-Touch MouseTracker Update
Refactored, fixed a couple bugs, unit tests working.

Issuing a pull request.
2014-03-31 12:54:37 -07:00
Antoine Vandecreme
ba10c392a1 Merge branch 'master' into layers
Conflicts:
	src/drawer.js
	src/viewer.js
	test/test.html
2014-03-19 16:24:48 -04:00
Antoine Vandecreme
c9df575347 Merge from master 2014-03-18 13:17:43 -04:00
Antoine Vandecreme
71618a39f7 Use minified version in tests. 2014-03-15 11:56:07 -04:00
Grant Echols
e368bd50aa Added tests for rotate control on/off setting. 2014-03-03 14:45:30 -07:00
Antoine Vandecreme
db98e4c34e Add overlays unit tests 2014-02-04 17:09:12 -05:00
Antoine Vandecreme
f0f76b847e Add viewer.getLayerAtLevel method and rename getLayerLevel to getLevelOfLayer.
Add layers unit test.
2014-01-11 18:08:04 -05:00
Antoine Vandecreme
d853224c15 Add units tests for scroll 2013-11-01 17:37:19 -04:00
Antoine Vandecreme
791ecfae75 Add coordinates conversion methods to viewport. 2013-10-03 17:27:11 -04:00