59 lines
2.2 KiB
HTML
59 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Likert Interaction Test</title>
|
|
<base href="../../../../../tao/views/"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="js/lib/qunit/qunit.css">
|
|
<link rel="stylesheet" type="text/css" href="css/tao-main-style.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/blanket/blanket.min.js"
|
|
data-cover-only="/qtiItemPci/views/js/pciCreator/dev/likertInteraction/"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
//don't start the test now
|
|
QUnit.config.autostart = false;
|
|
|
|
//load the config
|
|
require(['/tao/ClientConfig/config'], function () {
|
|
|
|
require.config({
|
|
paths: {
|
|
'IMSGlobal/jquery_2_1_1': '../../../taoQtiItem/views/js/portableSharedLibraries/IMSGlobal/jquery_2_1_1',
|
|
'OAT/lodash': '../../../taoQtiItem/views/js/portableSharedLibraries/OAT/lodash',
|
|
'OAT/util/html': '../../../taoQtiItem/views/js/portableSharedLibraries/OAT/util/html',
|
|
'OAT/util/xml': '../../../taoQtiItem/views/js/portableSharedLibraries/OAT/util/xml',
|
|
'OAT/util/math': '../../../taoQtiItem/views/js/portableSharedLibraries/OAT/util/math',
|
|
'OAT/util/EventMgr': '../../../taoQtiItem/views/js/portableSharedLibraries/OAT/util/EventMgr',
|
|
'OAT/util/event': '../../../taoQtiItem/views/js/portableSharedLibraries/OAT/util/event',
|
|
'qtiCustomInteractionContext': '../../../taoQtiItem/views/js/runtime/qtiCustomInteractionContext'
|
|
}
|
|
});
|
|
|
|
//load the test
|
|
require(['qtiItemPci/test/likertInteraction/test'], function () {
|
|
|
|
//Tests loaded, run tests
|
|
QUnit.config.reorder = false;
|
|
QUnit.start();
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture">
|
|
|
|
</div>
|
|
|
|
<div id="outside-container">
|
|
<div id="item-container"></div>
|
|
</div>
|
|
<div id="response-display"></div>
|
|
<div id="error-display"></div>
|
|
</body>
|
|
</html>
|