Commit cd6c559d authored by Tristan Cavelier's avatar Tristan Cavelier

asynctests moved to tests.html

parent 52853fed
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="../lib/qunit/qunit.css" />
<title>JIO Qunit Unit Tests</title>
</head>
<body>
<div id="qunit"></div>
<script src="../lib/qunit/qunit.js"></script>
<script src="../src/sha256.amd.js"></script>
<script src="../jio.js"></script>
<script src="../complex_queries.js"></script>
<script src="jio/util.js"></script>
<script src="../src/jio.storage/localstorage.js"></script>
<script src="jio.storage/localstorage.asynctests.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>JIO Qunit/Sinon Unit Tests</title>
<script src="../lib/require/require.js"></script>
<script src="asynctests.require.js"></script>
<link rel="stylesheet" href="../lib/qunit/qunit.css" />
</head>
<body>
<div id="qunit"></div>
</body>
</html>
/*jslint indent: 2, maxlen: 80, nomen : true */
/*global require */
(function () {
"use strict";
require.config({
"paths": {
"sha256": "../src/sha256.amd",
"jio": "../jio",
"test_util": "jio/util",
"fakestorage": "jio/fakestorage",
"complex_queries": "../complex_queries",
"localstorage": "../src/jio.storage/localstorage",
"localstorage_tests": "jio.storage/localstorage.asynctests",
"qunit": "../lib/qunit/qunit",
"sinon": "../lib/sinon/sinon",
"sinon_qunit": "../lib/sinon/sinon-qunit"
},
"shim": {
"sinon": ["qunit"],
"sinon_qunit": ["sinon"]
}
});
require([
"sinon_qunit",
"localstorage_tests"
]);
}());
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="../lib/qunit/qunit.css" />
<title>JIO Qunit/Sinon Unit Tests</title>
<title>JIO and Storage Qunit/Sinon Unit Tests</title>
</head>
<body>
<div id="qunit"></div>
......@@ -15,5 +15,9 @@
<script src="jio/util.js"></script>
<script src="jio/fakestorage.js"></script>
<script src="jio/tests.js"></script>
<script src="../complex_queries.js"></script>
<script src="../src/jio.storage/localstorage.js"></script>
<script src="jio.storage/localstorage.tests.js"></script>
</body>
</html>
......@@ -13,6 +13,10 @@
"test_util": "jio/util",
"fakestorage": "jio/fakestorage",
"complex_queries": "../complex_queries",
"localstorage": "../src/jio.storage/localstorage",
"localstorage_tests": "jio.storage/localstorage.tests",
"qunit": "../lib/qunit/qunit",
"sinon": "../lib/sinon/sinon",
"sinon_qunit": "../lib/sinon/sinon-qunit"
......@@ -25,6 +29,7 @@
require([
"sinon_qunit",
"jio_tests"
"jio_tests",
"localstorage_tests"
]);
}());
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment