tao-test/app/taoQtiTestPreviewer/views/js/test/previewer/adapter/qtiItem/test.html

61 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Item Previewer - taoItems previewer adapter</title>
<base href="../../../../../../../tao/views/" />
<link rel="stylesheet" type="text/css" href="js/lib/qunit/qunit.css">
<link rel="stylesheet" href="css/tao-main-style.css"/>
<link rel="stylesheet" href="css/tao-3.css"/>
<script type="text/javascript" src="js/lib/qunit/qunit.js"></script>
<script type="text/javascript" src="js/lib/require.js"></script>
<script type="text/javascript" src="js/lib/qunit/qunit-parameterize.js"></script>
<script type="text/javascript" src="js/lib/blanket/blanket.min.js" data-cover-flag="branchTracking" data-cover-only="adapter/qtiItem.js"></script>
<script type="text/javascript">
//don't start the test now
QUnit.config.autostart = false;
//load the config
require(['/tao/ClientConfig/config'], function(){
requirejs.config({
'config': {
'core/request' : {
'noToken' : true
},
'ui/themes': {
'items': {
'base': '/css/style.css',
'default': 'blue',
'available': [
{
'id': 'blue',
'path': '/css/style.css',
'name': 'Blue'
}
]
},
}
}
});
//load the test
require(['taoQtiTestPreviewer/test/previewer/adapter/qtiItem/test'], function(){
//Tests loaded, run tests
QUnit.start();
});
});
</script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<div id="visual-test">
<button id="show-interactive" class="small btn-info">Interactive</button>
<button id="show-readonly" class="small btn-info">Read Only</button>
</div>
</body>
</html>