Imported Upstream version 4.8.10
This commit is contained in:
@@ -3,12 +3,23 @@
|
||||
<head>
|
||||
<title>Complete Test Suite</title>
|
||||
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
|
||||
<script type="text/javascript" src="qunit.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../js/libs/loader.js"></script>
|
||||
<script type="text/javascript" src="../js/libs/jquery.js"></script>
|
||||
<script>
|
||||
// import qunit.js only in situations it is not imported by grunt-contrib-qunit
|
||||
// allows to run tests using grunt and using Firefox (FF needs explicit import)
|
||||
if (window.QUnit === undefined) {
|
||||
var s = document.createElement("script");
|
||||
s.type = "text/javascript";
|
||||
s.src = "qunit.js";
|
||||
$("head script:last-of-type").before(s); // insert qunit.js import before dojo import
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
|
||||
<script type="text/javascript" src="../js/libs/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="config.js"></script>
|
||||
<script type="text/javascript" src="../js/dojo/dojo.js"></script>
|
||||
<script class='insertBefore' type="text/javascript" src="../js/dojo/dojo.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
require([
|
||||
@@ -17,7 +28,6 @@
|
||||
'test/details_tests',
|
||||
'test/entity_tests',
|
||||
'test/association_tests',
|
||||
'test/navigation_tests',
|
||||
'test/certificate_tests',
|
||||
'test/aci_tests',
|
||||
'test/widget_tests',
|
||||
@@ -25,13 +35,14 @@
|
||||
'test/utils_tests',
|
||||
'test/build_tests',
|
||||
'test/binding_tests',
|
||||
], function(om, ipa, details, entity, as, nav, cert, aci, wid, ip, ut, bt, bi){
|
||||
'test/topology_tests',
|
||||
], function(om, ipa, details, entity, as, cert, aci, wid, ip, ut, bt, bi, topo){
|
||||
QUnit.start();
|
||||
om();
|
||||
ipa();
|
||||
details();
|
||||
entity();
|
||||
as();
|
||||
nav();
|
||||
cert();
|
||||
aci();
|
||||
wid();
|
||||
@@ -39,6 +50,7 @@
|
||||
ut();
|
||||
bt();
|
||||
bi();
|
||||
topo();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
@@ -50,4 +62,4 @@
|
||||
<ol id="qunit-tests"></ol>
|
||||
<div id="qunit-fixture"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user