Remove redundant mediawiki.util directory
[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/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.autoEllipsis.js"></script>
37 <script src="../../resources/jquery/jquery.colorUtil.js"></script>
38 <script src="../../resources/jquery/jquery.tabIndex.js"></script>
39
40 <!-- QUnit: Load framework -->
41 <link rel="stylesheet" href="../../resources/jquery/jquery.qunit.css" />
42 <script src="../../resources/jquery/jquery.qunit.js"></script>
43
44 <!-- QUnit: Load test suites (maintain the same order as above please) -->
45 <script src="suites/resources/mediawiki/mediawiki.js"></script>
46 <script src="suites/resources/mediawiki/mediawiki.user.js"></script>
47
48 <script src="suites/resources/jquery/jquery.client.js"></script>
49 <script src="suites/resources/jquery/jquery.mwPrototypes.js"></script>
50 <script src="suites/resources/mediawiki/mediawiki.util.js"></script>
51
52 <script src="suites/resources/jquery/jquery.autoEllipsis.js"></script>
53 <script src="suites/resources/jquery/jquery.colorUtil.js"></script>
54 <script src="suites/resources/jquery/jquery.tabIndex.js"></script>
55
56 <!-- TestSwarm: If a test swarm is running this,
57 the following script will allow it to extract the results.
58 Harmless otherwise. -->
59 <script src="testswarm.inject.js"></script>
60
61 <!-- CompletenessTest -->
62 <script>
63 if ( QUnit.urlParams.completenesstest ) {
64 document.write( '\x3Cscript src="../../resources/jquery/jquery.qunit.completenessTest.js">\x3C/script>' );
65 document.write( '\x3Cscript src="jquery.qunit.completenessTest.config.js">\x3C/script>' );
66 }
67 </script>
68 </head>
69 <body>
70 <h1 id="qunit-header">MediaWiki JavaScript Test Suite</h1>
71 <h2 id="qunit-banner"></h2>
72 <div id="qunit-testrunner-toolbar">
73 <p><a href="http://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing">See testing documentation on mediawiki.org</a></p>
74 </div>
75 <h2 id="qunit-userAgent"></h2>
76 <ol id="qunit-tests"></ol>
77
78 <!-- Rough page structure for scripts needing it (Vector based). -->
79 <!-- Scripts inserting stuff here shall remove it themselfs! -->
80 <div id="mw-content">
81 <div id="bodyContent"></div>
82 <div id="mw-panel">
83 <div id="p-tb" class="portal">
84 <ul class="body">
85 </ul>
86 </div>
87 </div>
88 </div>
89 </body>
90 </html>