mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 16:46:08 +03:00
75 lines
3.6 KiB
HTML
75 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>OpenSeadragon QUnit</title>
|
|
<script type="text/javascript">
|
|
function isInteractiveMode() {
|
|
const isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';
|
|
const isHeadless = typeof navigator !== 'undefined' && navigator.webdriver;
|
|
return isBrowser && !isHeadless;
|
|
}
|
|
|
|
window.QUnit = {
|
|
config: {
|
|
//five seconds timeout due to problems with untrusted events (e.g. auto zoom) for non-interactive runs
|
|
//there is timeWatcher property but sometimes tests do not respect it, or they get stuck due to bugs
|
|
testTimeout: isInteractiveMode() ? 30000 : 5000
|
|
}
|
|
};
|
|
</script>
|
|
<link rel="stylesheet" href="/node_modules/qunit/qunit/qunit.css">
|
|
<link rel="stylesheet" href="/test/lib/jquery-ui-1.10.2/css/smoothness/jquery-ui-1.10.2.min.css">
|
|
<link rel="stylesheet" href="/test/helpers/test.css">
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script src="/node_modules/qunit/qunit/qunit.js"></script>
|
|
<script src="/test/lib/jquery-1.9.1.min.js"></script>
|
|
<script src="/test/lib/jquery-ui-1.10.2/js/jquery-ui-1.10.2.min.js"></script>
|
|
<script src="/test/lib/jquery.simulate.js"></script>
|
|
<script src="/build/openseadragon/openseadragon.min.js"></script>
|
|
<script src="/test/helpers/legacy.mouse.shim.js"></script>
|
|
<script src="/test/helpers/mocks.js"></script>
|
|
<script src="/test/helpers/test.js"></script>
|
|
<script src="/test/helpers/touch.js"></script>
|
|
|
|
<!-- Polyfill must be inserted first because it is testing functions
|
|
reassignments which could be done by other test. -->
|
|
<script src="/test/modules/polyfills.js"></script>
|
|
<script src="/test/modules/event-source.js"></script>
|
|
<script src="/test/modules/viewerretrieval.js"></script>
|
|
<script src="/test/modules/basic.js"></script>
|
|
<script src="/test/modules/type-conversion.js"></script>
|
|
<script src="/test/modules/strings.js"></script>
|
|
<script src="/test/modules/formats.js"></script>
|
|
<script src="/test/modules/iiif.js"></script>
|
|
<script src="/test/modules/utils.js"></script>
|
|
<script src="/test/modules/events.js"></script>
|
|
<script src="/test/modules/units.js"></script>
|
|
<script src="/test/modules/multi-image.js"></script>
|
|
<script src="/test/modules/overlays.js"></script>
|
|
<script src="/test/modules/controls.js"></script>
|
|
<script src="/test/modules/viewport.js"></script>
|
|
<script src="/test/modules/world.js"></script>
|
|
<script src="/test/modules/drawer.js"></script>
|
|
<script src="/test/modules/tiledimage.js"></script>
|
|
<script src="/test/modules/tilecache.js"></script>
|
|
<script src="/test/modules/referencestrip.js"></script>
|
|
<script src="/test/modules/tilesource.js"></script>
|
|
<script src="/test/modules/dzitilesource.js"></script>
|
|
<script src="/test/modules/tilesourcecollection.js"></script>
|
|
<script src="/test/modules/spring.js"></script>
|
|
<script src="/test/modules/rectangle.js"></script>
|
|
<script src="/test/modules/ajax-tiles.js"></script>
|
|
<script src="/test/modules/ajax-post-data.js"></script>
|
|
<script src="/test/modules/imageloader.js"></script>
|
|
<script src="/test/modules/tilesource-dynamic-url.js"></script>
|
|
<script src="/test/modules/data-manipulation.js"></script>
|
|
<!--The navigator tests are the slowest (for now; hopefully they can be sped up)
|
|
so we put them last. -->
|
|
<script src="/test/modules/navigator.js"></script>
|
|
</body>
|
|
</html>
|