61 lines
2.2 KiB
HTML
61 lines
2.2 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Test Previewer - 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">
|
||
|
|
||
|
//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/qtiTest/test'], function(){
|
||
|
|
||
|
//Tests loaded, run tests
|
||
|
QUnit.start();
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="feedback-box"></div>
|
||
|
<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>
|