jquery.client.js JSPERF+Unit test suite
[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.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.util/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 </head>
61 <body>
62 <h1 id="qunit-header">MediaWiki JavaScript Test Suite</h1>
63 <h2 id="qunit-banner"></h2>
64 <div id="qunit-testrunner-toolbar">
65 <p><a href="http://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing">See testing documentation on mediawiki.org</a></p>
66 </div>
67 <h2 id="qunit-userAgent"></h2>
68 <ol id="qunit-tests"></ol>
69
70 <!-- Rough page structure for scripts needing it (Vector based). -->
71 <!-- Scripts inserting stuff here shall remove it themselfs! -->
72 <div id="mw-content">
73 <div id="bodyContent"></div>
74 <div id="mw-panel">
75 <div id="p-tb" class="portal">
76 <ul class="body">
77 </ul>
78 </div>
79 </div>
80 </div>
81 </body>
82 </html>