2013-03-05 23:39:43 +03:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Video.js Test Suite</title>
|
|
|
|
|
2014-05-13 03:08:48 +03:00
|
|
|
<!-- Sinon -->
|
|
|
|
<script src="../node_modules/sinon/pkg/sinon.js"></script>
|
|
|
|
<script src="../node_modules/sinon/pkg/sinon-ie.js"></script>
|
|
|
|
|
2013-03-05 23:39:43 +03:00
|
|
|
<!-- QUnit -->
|
2013-12-03 02:34:00 +03:00
|
|
|
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
|
|
|
|
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
|
2013-03-05 23:39:43 +03:00
|
|
|
|
|
|
|
<!-- Video.js CSS -->
|
2013-07-20 06:18:39 +03:00
|
|
|
<link rel="stylesheet" href="../build/files/video-js.css" type="text/css">
|
2013-03-05 23:39:43 +03:00
|
|
|
|
|
|
|
<!-- LIB COMPILED WITH NOT COMPILED TESTS
|
|
|
|
Check publicly available APIs against compiled lib
|
|
|
|
-->
|
|
|
|
<script type="text/javascript">
|
2014-02-14 06:20:30 +03:00
|
|
|
|
|
|
|
// Test AMD Support
|
|
|
|
// window.define = function(a, b){
|
|
|
|
// console.log(a, b);
|
|
|
|
// };
|
|
|
|
// define.amd = true;
|
|
|
|
|
|
|
|
// Test CJS Support
|
|
|
|
// Have to remove qunit and tests to because module becomes a function
|
|
|
|
// window.module = window.exports = {};
|
|
|
|
// window.module.exports = {};
|
|
|
|
|
2013-03-05 23:39:43 +03:00
|
|
|
(function(){
|
|
|
|
|
|
|
|
// ADD NEW TEST FILES HERE
|
|
|
|
var tests = [
|
2013-06-24 22:47:47 +03:00
|
|
|
'test/unit/test-helpers.js',
|
2013-03-08 00:24:52 +03:00
|
|
|
'test/unit/api.js'
|
2013-03-05 23:39:43 +03:00
|
|
|
];
|
|
|
|
var projectRoot = '../';
|
|
|
|
var scripts = [];
|
|
|
|
|
|
|
|
scripts = scripts.concat(['build/files/minified.video.js'], tests);
|
|
|
|
|
|
|
|
for (var i = 0; i < scripts.length; i++) {
|
|
|
|
document.write( "<script src='" + projectRoot + scripts[i] + "'><\/script>" );
|
|
|
|
}
|
|
|
|
|
|
|
|
})()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
<h1 id="qunit-header">Video.js Test Suite</h1>
|
|
|
|
<h2 id="qunit-banner"></h2>
|
2013-12-03 02:34:00 +03:00
|
|
|
<div id="qunit-testrunner-toolbar"></div>
|
2013-03-05 23:39:43 +03:00
|
|
|
<h2 id="qunit-userAgent"></h2>
|
|
|
|
<ol id="qunit-tests"></ol>
|
|
|
|
<div id="qunit-fixture"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|