52 lines
2.0 KiB
HTML
52 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Math Entry 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">
|
|
|
|
//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/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/mathEntryInteraction/test'], function(){
|
|
|
|
//Tests loaded, run tests
|
|
QUnit.config.reorder = false;
|
|
QUnit.start();
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture">
|
|
<div id="item-container"></div>
|
|
</div>
|
|
|
|
<div id="outside-container"></div>
|
|
<div id="response-display"></div>
|
|
<div id="error-display"></div>
|
|
</body>
|
|
</html>
|