Remove Profiler::isStub()
[mediawiki.git] / tests / qunit / QUnitTestResources.php
bloba6fbfac5fd2a42d3ecb818388cd55b09f79ce581
1 <?php
3 /* Modules registered when $wgEnableJavaScriptTest is true */
5 return array(
7 /* Utilities */
9 'test.sinonjs' => array(
10 'scripts' => array(
11 'resources/lib/sinonjs/sinon-1.10.3.js',
12 // We want tests to work in IE, but can't include this as it
13 // will break the placeholders in Sinon because the hack it uses
14 // to hijack IE globals relies on running in the global scope
15 // and in ResourceLoader this won't be running in the global scope.
16 // Including it results (among other things) in sandboxed timers
17 // being broken due to Date inheritance being undefined.
18 // 'resources/lib/sinonjs/sinon-ie-1.10.3.js',
20 'targets' => array( 'desktop', 'mobile' ),
23 'test.mediawiki.qunit.testrunner' => array(
24 'scripts' => array(
25 'tests/qunit/data/testrunner.js',
27 'dependencies' => array(
28 'jquery.getAttrs',
29 'jquery.qunit',
30 'jquery.qunit.completenessTest',
31 'mediawiki.page.ready',
32 'mediawiki.page.startup',
33 'test.sinonjs',
35 'position' => 'top',
36 'targets' => array( 'desktop', 'mobile' ),
40 Test suites for MediaWiki core modules
41 These must have a dependency on test.mediawiki.qunit.testrunner!
44 'test.mediawiki.qunit.suites' => array(
45 'scripts' => array(
46 'tests/qunit/suites/resources/startup.test.js',
47 'tests/qunit/suites/resources/jquery/jquery.accessKeyLabel.test.js',
48 'tests/qunit/suites/resources/jquery/jquery.autoEllipsis.test.js',
49 'tests/qunit/suites/resources/jquery/jquery.byteLength.test.js',
50 'tests/qunit/suites/resources/jquery/jquery.byteLimit.test.js',
51 'tests/qunit/suites/resources/jquery/jquery.client.test.js',
52 'tests/qunit/suites/resources/jquery/jquery.color.test.js',
53 'tests/qunit/suites/resources/jquery/jquery.colorUtil.test.js',
54 'tests/qunit/suites/resources/jquery/jquery.getAttrs.test.js',
55 'tests/qunit/suites/resources/jquery/jquery.hidpi.test.js',
56 'tests/qunit/suites/resources/jquery/jquery.highlightText.test.js',
57 'tests/qunit/suites/resources/jquery/jquery.localize.test.js',
58 'tests/qunit/suites/resources/jquery/jquery.makeCollapsible.test.js',
59 'tests/qunit/suites/resources/jquery/jquery.mwExtension.test.js',
60 'tests/qunit/suites/resources/jquery/jquery.placeholder.test.js',
61 'tests/qunit/suites/resources/jquery/jquery.tabIndex.test.js',
62 'tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js',
63 'tests/qunit/suites/resources/jquery/jquery.textSelection.test.js',
64 'tests/qunit/data/mediawiki.jqueryMsg.data.js',
65 'tests/qunit/suites/resources/mediawiki/mediawiki.jqueryMsg.test.js',
66 'tests/qunit/suites/resources/mediawiki/mediawiki.jscompat.test.js',
67 'tests/qunit/suites/resources/mediawiki/mediawiki.test.js',
68 'tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js',
69 'tests/qunit/suites/resources/mediawiki/mediawiki.template.test.js',
70 'tests/qunit/suites/resources/mediawiki/mediawiki.toc.test.js',
71 'tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js',
72 'tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js',
73 'tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js',
74 'tests/qunit/suites/resources/mediawiki.api/mediawiki.api.test.js',
75 'tests/qunit/suites/resources/mediawiki.api/mediawiki.api.category.test.js',
76 'tests/qunit/suites/resources/mediawiki.api/mediawiki.api.parse.test.js',
77 'tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js',
78 'tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js',
79 'tests/qunit/suites/resources/mediawiki/mediawiki.language.test.js',
80 'tests/qunit/suites/resources/mediawiki/mediawiki.cldr.test.js',
81 'tests/qunit/suites/resources/mediawiki/mediawiki.cookie.test.js',
83 'dependencies' => array(
84 'jquery.accessKeyLabel',
85 'jquery.autoEllipsis',
86 'jquery.byteLength',
87 'jquery.byteLimit',
88 'jquery.client',
89 'jquery.color',
90 'jquery.colorUtil',
91 'jquery.getAttrs',
92 'jquery.hidpi',
93 'jquery.highlightText',
94 'jquery.localize',
95 'jquery.makeCollapsible',
96 'jquery.mwExtension',
97 'jquery.placeholder',
98 'jquery.tabIndex',
99 'jquery.tablesorter',
100 'jquery.textSelection',
101 'mediawiki.api',
102 'mediawiki.api.category',
103 'mediawiki.api.parse',
104 'mediawiki.api.watch',
105 'mediawiki.jqueryMsg',
106 'mediawiki.Title',
107 'mediawiki.toc',
108 'mediawiki.Uri',
109 'mediawiki.user',
110 'mediawiki.template',
111 'mediawiki.util',
112 'mediawiki.special.recentchanges',
113 'mediawiki.language',
114 'mediawiki.cldr',
115 'mediawiki.cookie',
116 'test.mediawiki.qunit.testrunner',