First version of test files

This commit is contained in:
Ian Gilman 2013-02-14 10:21:07 -08:00
parent 964962a204
commit 607a4af860
3 changed files with 37 additions and 0 deletions

4
test/test.css Normal file
View File

@ -0,0 +1,4 @@
#example {
height: 500px;
width: 500px;
}

17
test/test.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>OpenSeadragon QUnit</title>
<link rel="stylesheet" href="/node_modules/qunitjs/qunit/qunit.css">
<link rel="stylesheet" href="/test/test.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<div id="example"></div>
<script src="/node_modules/qunitjs/qunit/qunit.js"></script>
<script src="/build/openseadragon.min.js"></script>
<script src="/test/test.js"></script>
</body>
</html>

16
test/test.js Normal file
View File

@ -0,0 +1,16 @@
test( "hello test", function() {
ok( 1 == "1", "Passed!" );
});
(function() {
// $(document).ready(function() {
// OpenSeadragon({
// id: "example",
// prefixUrl: "/images/",
// tileSources: "/test/dzi/dog-and-cat-collars.xml",
// showNavigator: true
// });
// });
})();