mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 16:46:08 +03:00
59a254bea6
* 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
26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>OpenSeadragon QUnit</title>
|
|
<link rel="stylesheet" href="/node_modules/grunt-contrib-qunit/test/libs/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/test.css">
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script src="/node_modules/grunt-contrib-qunit/test/libs/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/test.js"></script>
|
|
<script src="/test/basic.js"></script>
|
|
<script src="/test/navigator.js"></script>
|
|
<script src="/test/strings.js"></script>
|
|
<script src="/test/formats.js"></script>
|
|
<script src="/test/utils.js"></script>
|
|
</body>
|
|
</html>
|