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

63 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Item Previewer - qtiItem previewer component</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="component/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/component/qtiItem/test'], function(){
//Tests loaded, run tests
QUnit.start();
});
});
</script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture">
<div id="fixture-api"></div>
<div id="fixture-render"></div>
<div id="fixture-destroy"></div>
</div>
<div id="visual-test">
</div>
</body>
</html>