QUnit reorganization
[lhc/web/wiklou.git] / tests / qunit / index.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>MediaWiki JavaScript Test Suite</title>
5
6 <!-- MediaWiki Modules -->
7
8 <!-- MW: startup -->
9 <script>
10 function startUp(){
11 mw.config = new mw.Map( false );
12 }
13 </script>
14
15 <!-- MW: jquery|mediawiki -->
16 <script src="../../resources/jquery/jquery.js"></script>
17 <script src="../../resources/mediawiki/mediawiki.js"></script>
18
19 <!-- MW: mediawiki.user|mediawiki.util -->
20 <script src="../../resources/mediawiki/mediawiki.user.js"></script>
21 <script src="../../resources/jquery/jquery.checkboxShiftClick.js"></script>
22 <script src="../../resources/jquery/jquery.client.js"></script>
23 <script src="../../resources/jquery/jquery.cookie.js"></script>
24 <script src="../../resources/jquery/jquery.messageBox.js"></script>
25 <script src="../../resources/jquery/jquery.makeCollapsible.js"></script>
26 <script src="../../resources/jquery/jquery.mwPrototypes.js"></script>
27 <script src="../../resources/jquery/jquery.placeholder.js"></script>
28 <script src="../../resources/mediawiki.util/mediawiki.util.js"></script>
29
30 <!-- MW: user.options -->
31 <script>
32 mw.user.options.set({"skin": "vector"});
33 </script>
34
35 <!-- MW: Non-default modules -->
36 <script src="../../resources/jquery/jquery.colorUtil.js"></script>
37 <script src="../../resources/jquery/jquery.autoEllipsis.js"></script>
38
39 <!-- QUnit: Load framework -->
40 <link rel="stylesheet" href="../../resources/jquery/jquery.qunit.css" />
41 <script src="../../resources/jquery/jquery.qunit.js"></script>
42
43 <!-- QUnit: Load test suites (maintain the same order as above please) -->
44 <script src="suites/resources/mediawiki/mediawiki.js"></script>
45 <script src="suites/resources/mediawiki/mediawiki.user.js"></script>
46 <script src="suites/resources/jquery/jquery.mwPrototypes.js"></script>
47 <script src="suites/resources/mediawiki.util/mediawiki.util.js"></script>
48 <script src="suites/resources/jquery/jquery.colorUtil.js"></script>
49 <script src="suites/resources/jquery/jquery.autoEllipsis.js"></script>
50
51 <!-- TestSwarm: If a test swarm is running this,
52 the following script will allow it to extract the results.
53 Harmless otherwise. -->
54 <script src="testswarm.inject.js"></script>
55 </head>
56 <body>
57 <h1 id="qunit-header">MediaWiki JavaScript Test Suite</h1>
58 <h2 id="qunit-banner"></h2>
59 <div id="qunit-testrunner-toolbar"></div>
60 <h2 id="qunit-userAgent"></h2>
61 <ol id="qunit-tests"></ol>
62
63 <!-- Rough page structure for scripts needing it (Vector based). -->
64 <!-- Scripts inserting stuff here shall remove it themselfs! -->
65 <div id="mw-content">
66 <div id="bodyContent"></div>
67 <div id="mw-panel">
68 <div id="p-tb" class="portal">
69 <ul class="body">
70 </ul>
71 </div>
72 </div>
73 </div>
74 </body>
75 </html>