Localisation updates from https://translatewiki.net.
[mediawiki.git] / tests / common / TestsAutoLoader.php
blob5ab6db354a37a9f606ea0828590ad2633206237a
1 <?php
3 /**
4 * AutoLoader for the testing suite.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 * http://www.gnu.org/copyleft/gpl.html
21 * @file
22 * @ingroup Testing
25 global $wgAutoloadClasses;
26 $testDir = __DIR__ . "/..";
28 $wgAutoloadClasses += [
30 # tests/common
31 'TestSetup' => "$testDir/common/TestSetup.php",
33 # tests/exception
34 'TestThrowerDummy' => "$testDir/phpunit/data/exception/TestThrowerDummy.php",
36 # tests/parser
37 'DbTestPreviewer' => "$testDir/parser/DbTestPreviewer.php",
38 'DbTestRecorder' => "$testDir/parser/DbTestRecorder.php",
39 'DjVuSupport' => "$testDir/parser/DjVuSupport.php",
40 'MediaWiki\\Tests\\AnsiTermColorer' => "$testDir/parser/AnsiTermColorer.php",
41 'MediaWiki\\Tests\\DummyTermColorer' => "$testDir/parser/DummyTermColorer.php",
42 'MultiTestRecorder' => "$testDir/parser/MultiTestRecorder.php",
43 'ParserTestMockParser' => "$testDir/parser/ParserTestMockParser.php",
44 'ParserTestParserHook' => "$testDir/parser/ParserTestParserHook.php",
45 'ParserTestPrinter' => "$testDir/parser/ParserTestPrinter.php",
46 'ParserTestResult' => "$testDir/parser/ParserTestResult.php",
47 'ParserTestResultNormalizer' => "$testDir/parser/ParserTestResultNormalizer.php",
48 'ParserTestRunner' => "$testDir/parser/ParserTestRunner.php",
49 'PhpunitTestRecorder' => "$testDir/parser/PhpunitTestRecorder.php",
50 'TestFileEditor' => "$testDir/parser/TestFileEditor.php",
51 'TestRecorder' => "$testDir/parser/TestRecorder.php",
53 # tests/phpunit
54 'DynamicPropertyTestHelper' => "$testDir/phpunit/DynamicPropertyTestHelper.php",
55 'EmptyResourceLoader' => "$testDir/phpunit/ResourceLoaderTestCase.php",
56 'JsonSchemaAssertionTrait' => "$testDir/phpunit/JsonSchemaAssertionTrait.php",
57 'MediaWiki\\Tests\\ResourceLoader\\EmptyResourceLoader' => "$testDir/phpunit/ResourceLoaderTestCase.php",
58 'HamcrestPHPUnitIntegration' => "$testDir/phpunit/HamcrestPHPUnitIntegration.php",
59 'MediaWikiCoversValidator' => "$testDir/phpunit/MediaWikiCoversValidator.php",
60 'MediaWikiGroupValidator' => "$testDir/phpunit/MediaWikiGroupValidator.php",
61 'MediaWikiLangTestCase' => "$testDir/phpunit/MediaWikiLangTestCase.php",
62 'MediaWikiLoggerPHPUnitExtension' => "$testDir/phpunit/MediaWikiLoggerPHPUnitExtension.php",
63 'MediaWikiTeardownPHPUnitExtension' => "$testDir/phpunit/MediaWikiTeardownPHPUnitExtension.php",
64 'MediaWikiDeprecatedConfigPHPUnitExtension' => "$testDir/phpunit/MediaWikiDeprecatedConfigPHPUnitExtension.php",
65 'MediaWikiPHPUnitResultPrinter' => "$testDir/phpunit/MediaWikiPHPUnitResultPrinter.php",
66 'MediaWikiTestCaseTrait' => "$testDir/phpunit/MediaWikiTestCaseTrait.php",
67 'MediaWikiUnitTestCase' => "$testDir/phpunit/MediaWikiUnitTestCase.php",
68 'MediaWikiIntegrationTestCase' => "$testDir/phpunit/MediaWikiIntegrationTestCase.php",
69 'ResourceLoaderFileModuleTestingSubclass' => "$testDir/phpunit/ResourceLoaderTestCase.php",
70 'MediaWiki\\Tests\\ResourceLoader\\ResourceLoaderFileModuleTestingSubclass' => "$testDir/phpunit/ResourceLoaderTestCase.php",
71 'ResourceLoaderFileTestModule' => "$testDir/phpunit/ResourceLoaderTestCase.php",
72 'MediaWiki\\Tests\\ResourceLoader\\ResourceLoaderFileTestModule' => "$testDir/phpunit/ResourceLoaderTestCase.php",
73 'ResourceLoaderTestCase' => "$testDir/phpunit/ResourceLoaderTestCase.php",
74 'MediaWiki\\Tests\\ResourceLoader\\ResourceLoaderTestCase' => "$testDir/phpunit/ResourceLoaderTestCase.php",
75 'ResourceLoaderTestModule' => "$testDir/phpunit/ResourceLoaderTestCase.php",
76 'MediaWiki\\Tests\\ResourceLoader\\ResourceLoaderTestModule' => "$testDir/phpunit/ResourceLoaderTestCase.php",
77 'TestSelectQueryBuilder' => "$testDir/phpunit/TestSelectQueryBuilder.php",
78 'TestLocalisationCache' => "$testDir/phpunit/mocks/TestLocalisationCache.php",
79 'TestUser' => "$testDir/phpunit/includes/TestUser.php",
80 'TestUserRegistry' => "$testDir/phpunit/includes/TestUserRegistry.php",
81 'MWTestDox' => "$testDir/phpunit/MWTestDox.php",
83 # tests/phpunit/includes
84 'FactoryArgTestTrait' => "$testDir/phpunit/unit/includes/FactoryArgTestTrait.php",
85 'TestLogger' => "$testDir/phpunit/mocks/TestLogger.php",
87 # tests/phpunit/includes/api
88 'ApiQueryTestBase' => "$testDir/phpunit/includes/api/query/ApiQueryTestBase.php",
89 'ApiTestCase' => "$testDir/phpunit/includes/api/ApiTestCase.php",
90 'ApiTestContext' => "$testDir/phpunit/includes/api/ApiTestContext.php",
91 'ApiUploadTestCase' => "$testDir/phpunit/includes/api/ApiUploadTestCase.php",
92 'RandomImageGenerator' => "$testDir/phpunit/includes/api/RandomImageGenerator.php",
93 'MediaWiki\\Tests\\Api\\Format\\ApiFormatTestBase' => "$testDir/phpunit/includes/api/format/ApiFormatTestBase.php",
94 'MediaWiki\\Tests\\Api\\Query\\ApiQueryTestBase' => "$testDir/phpunit/includes/api/query/ApiQueryTestBase.php",
95 'MediaWiki\\Tests\\Api\\Query\\ApiQueryContinueTestBase' => "$testDir/phpunit/includes/api/query/ApiQueryContinueTestBase.php",
96 'MediaWiki\\Tests\\Api\\ApiTestCase' => "$testDir/phpunit/includes/api/ApiTestCase.php",
97 'MediaWiki\\Tests\\Api\\ApiTestContext' => "$testDir/phpunit/includes/api/ApiTestContext.php",
98 'MediaWiki\\Tests\\Api\\ApiUploadTestCase' => "$testDir/phpunit/includes/api/ApiUploadTestCase.php",
99 'MediaWiki\\Tests\\Api\\MockApi' => "$testDir/phpunit/includes/api/MockApi.php",
100 'MediaWiki\\Tests\\Api\\MockApiQueryBase' => "$testDir/phpunit/includes/api/MockApiQueryBase.php",
101 'MediaWiki\\Tests\\Api\\RandomImageGenerator' => "$testDir/phpunit/includes/api/RandomImageGenerator.php",
103 # tests/phpunit/includes/auth
104 'MediaWiki\\Auth\\AuthenticationRequestTestCase' =>
105 "$testDir/phpunit/includes/auth/AuthenticationRequestTestCase.php",
106 'MediaWiki\\Tests\\Auth\\AuthenticationRequestTestCase' =>
107 "$testDir/phpunit/includes/auth/AuthenticationRequestTestCase.php",
109 # tests/phpunit/includes/block
110 'MediaWiki\\Tests\\Block\\Restriction\\RestrictionTestCase' => "$testDir/phpunit/includes/block/Restriction/RestrictionTestCase.php",
112 # tests/phpunit/includes/cache
113 'LinkCacheTestTrait' => "$testDir/phpunit/includes/cache/LinkCacheTestTrait.php",
115 # tests/phpunit/includes/recentchanges
116 'TestRecentChangesHelper' => "$testDir/phpunit/includes/recentchanges/TestRecentChangesHelper.php",
117 'MediaWiki\Tests\recentchanges\ChangeTrackingEventIngressSpyTrait' => "$testDir/phpunit/includes/recentchanges/ChangeTrackingEventIngressSpyTrait.php",
119 # tests/phpunit/includes/config
120 'TestAllServiceOptionsUsed' => "$testDir/phpunit/includes/config/TestAllServiceOptionsUsed.php",
121 'LoggedServiceOptions' => "$testDir/phpunit/includes/config/LoggedServiceOptions.php",
123 # tests/phpunit/includes/content
124 'DummyContentHandlerForTesting' =>
125 "$testDir/phpunit/mocks/content/DummyContentHandlerForTesting.php",
126 'DummyContentForTesting' => "$testDir/phpunit/mocks/content/DummyContentForTesting.php",
127 'DummyNonTextContentHandler' => "$testDir/phpunit/mocks/content/DummyNonTextContentHandler.php",
128 'DummyNonTextContent' => "$testDir/phpunit/mocks/content/DummyNonTextContent.php",
129 'DummySerializeErrorContentHandler' =>
130 "$testDir/phpunit/mocks/content/DummySerializeErrorContentHandler.php",
131 'TextContentTest' => "$testDir/phpunit/includes/content/TextContentTest.php",
132 'TextContentHandlerIntegrationTest' => "$testDir/phpunit/includes/content/TextContentHandlerIntegrationTest.php",
133 'WikitextContentTest' => "$testDir/phpunit/includes/content/WikitextContentTest.php",
134 'JavaScriptContentHandlerTest' => "$testDir/phpunit/includes/content/JavaScriptContentHandlerTest.php",
136 # tests/phpunit/includes/db
137 'DatabaseTestHelper' => "$testDir/phpunit/includes/db/DatabaseTestHelper.php",
139 # tests/phpunit/includes/debug
140 'TestDeprecatedClass' => "$testDir/phpunit/includes/debug/TestDeprecatedClass.php",
141 'TestDeprecatedSubclass' => "$testDir/phpunit/includes/debug/TestDeprecatedSubclass.php",
143 # tests/phpunit/includes/diff
144 'CustomDifferenceEngine' => "$testDir/phpunit/includes/diff/CustomDifferenceEngine.php",
145 'MediaWiki\\Tests\\Diff\\TextDiffer\\TextDifferData' => "$testDir/phpunit/includes/diff/TextDiffer/TextDifferData.php",
147 # tests/phpunit/includes/externalstore
148 'ExternalStoreForTesting' => "$testDir/phpunit/includes/externalstore/ExternalStoreForTesting.php",
150 # tests/phpunit/includes/logging
151 'LogFormatterTestCase' => "$testDir/phpunit/includes/logging/LogFormatterTestCase.php",
153 # tests/phpunit/includes/OutputTransform
154 'MediaWiki\\Tests\\OutputTransform\\DummyDOMTransformStage' => "$testDir/phpunit/includes/OutputTransform/DummyDOMTransformStage.php",
155 'MediaWiki\\Tests\\OutputTransform\\TestUtils' => "$testDir/phpunit/includes/OutputTransform/TestUtils.php",
156 'MediaWiki\\Tests\\OutputTransform\\OutputTransformStageTestBase' => "$testDir/phpunit/includes/OutputTransform/OutputTransformStageTestBase.php",
158 # tests/phpunit/includes/parser
159 'MediaWiki\\Tests\\Parser\\CacheTimeTest' => "$testDir/phpunit/includes/parser/CacheTimeTest.php",
160 'MediaWiki\\Tests\\Parser\\ParserOutputTest' => "$testDir/phpunit/includes/parser/ParserOutputTest.php",
161 'ParserIntegrationTest' => "$testDir/phpunit/suites/ParserIntegrationTest.php",
162 'MediaWiki\\Tests\\Parser\\ParserCacheSerializationTestCases' =>
163 "$testDir/phpunit/includes/parser/ParserCacheSerializationTestCases.php",
164 'Wikimedia\\Tests\\SerializationTestTrait' =>
165 "$testDir/phpunit/includes/libs/serialization/SerializationTestTrait.php",
166 'Wikimedia\\Tests\\SerializationTestUtils' =>
167 "$testDir/phpunit/includes/libs/serialization/SerializationTestUtils.php",
169 # tests/phpunit/includes/poolcounter
170 'PoolWorkArticleViewTest' =>
171 "$testDir/phpunit/includes/poolcounter/PoolWorkArticleViewTest.php",
173 # tests/phpunit/includes/ResourceLoader
174 'MediaWiki\\Tests\\ResourceLoader\\ImageModuleTest' =>
175 "$testDir/phpunit/includes/ResourceLoader/ImageModuleTest.php",
176 'MediaWiki\\Tests\\ResourceLoader\\ImageModuleTestable' =>
177 "$testDir/phpunit/includes/ResourceLoader/ImageModuleTest.php",
179 # tests/phpunit/includes/session
180 'MediaWiki\\Session\\TestBagOStuff' => "$testDir/phpunit/includes/session/TestBagOStuff.php",
181 'MediaWiki\\Tests\\Session\\TestBagOStuff' => "$testDir/phpunit/includes/session/TestBagOStuff.php",
182 'MediaWiki\\Tests\\Session\\TestUtils' => "$testDir/phpunit/includes/session/TestUtils.php",
184 # tests/phpunit/includes/site
185 'TestSites' => "$testDir/phpunit/includes/site/TestSites.php",
186 'MediaWiki\\Tests\\Site\\SiteTest' => "$testDir/phpunit/includes/site/SiteTest.php",
187 'MediaWiki\\Tests\\Site\\TestSites' => "$testDir/phpunit/includes/site/TestSites.php",
189 # tests/phpunit/includes/specialpage
190 'MediaWiki\\Tests\\SpecialPage\\SpecialPageTestHelper' => "$testDir/phpunit/includes/specialpage/SpecialPageTestHelper.php",
191 'MediaWiki\\Tests\\SpecialPage\\AbstractChangesListSpecialPageTestCase' => "$testDir/phpunit/includes/specialpage/AbstractChangesListSpecialPageTestCase.php",
192 'MediaWiki\\Tests\\SpecialPage\\FormSpecialPageTestCase' => "$testDir/phpunit/includes/specialpage/FormSpecialPageTestCase.php",
194 # tests/phpunit/includes/specials
195 'SpecialPageTestBase' => "$testDir/phpunit/includes/specials/SpecialPageTestBase.php",
196 'SpecialPageExecutor' => "$testDir/phpunit/includes/specials/SpecialPageExecutor.php",
197 'SpecialSearchTestMockResultSet' => "$testDir/phpunit/includes/specials/SpecialSearchTestMockResultSet.php",
199 # test/phpunit/includes/user
200 'UserOptionsLookupTestBase' => "$testDir/phpunit/integration/includes/user/Options/UserOptionsLookupTestBase.php",
202 # tests/phpunit/includes/language
203 'DummyConverter' => "$testDir/phpunit/mocks/languages/DummyConverter.php",
204 'LanguageClassesTestCase' => "$testDir/phpunit/includes/language/LanguageClassesTestCase.php",
205 'LanguageConverterTestTrait' => "$testDir/phpunit/includes/language/LanguageConverterTestTrait.php",
207 # tests/phpunit/includes/libs
208 'BagOStuffTestBase' => "$testDir/phpunit/includes/libs/objectcache/BagOStuffTestBase.php",
209 'Wikimedia\\Tests\\Diff\FakeDiffOp' => "$testDir/phpunit/unit/includes/libs/Diff/FakeDiffOp.php",
210 'Wikimedia\\Tests\\ParamValidator\\TypeDef\\TypeDefTestCase' => "$testDir/phpunit/unit/includes/libs/ParamValidator/TypeDef/TypeDefTestCase.php",
211 'Wikimedia\\Tests\\ParamValidator\\TypeDef\\TypeDefTestCaseTrait' => "$testDir/phpunit/unit/includes/libs/ParamValidator/TypeDef/TypeDefTestCaseTrait.php",
213 # tests/phpunit/includes/ParamValidator
214 'MediaWiki\\Tests\\ParamValidator\\TypeDef\\TypeDefIntegrationTestCase' => "$testDir/phpunit/includes/ParamValidator/TypeDef/TypeDefIntegrationTestCase.php",
216 # tests/phpunit/unit/includes/ParamValidator
217 'MediaWiki\\Tests\\ParamValidator\\TypeDef\\TypeDefUnitTestCase' => "$testDir/phpunit/unit/includes/ParamValidator/TypeDef/TypeDefUnitTestCase.php",
219 # tests/phpunit/unit/includes/Search
220 'MediaWiki\Tests\Search\SearchEventIngressSpyTrait' => "$testDir/phpunit/includes/search/SearchEventIngressSpyTrait.php",
222 # tests/phpunit/maintenance
223 'MediaWiki\\Tests\\Maintenance\\DumpAsserter' => "$testDir/phpunit/maintenance/DumpAsserter.php",
224 'MediaWiki\\Tests\\Maintenance\\DumpTestCase' => "$testDir/phpunit/maintenance/DumpTestCase.php",
225 'MediaWiki\\Tests\\Maintenance\\MaintenanceBaseTestCase' => "$testDir/phpunit/maintenance/MaintenanceBaseTestCase.php",
226 'MediaWiki\\Tests\\Maintenance\\PageDumpTestDataTrait' => "$testDir/phpunit/maintenance/PageDumpTestDataTrait.php",
228 # tests/phpunit/media
229 'FakeDimensionFile' => "$testDir/phpunit/includes/media/FakeDimensionFile.php",
230 'MediaWikiMediaTestCase' => "$testDir/phpunit/includes/media/MediaWikiMediaTestCase.php",
232 # tests/phpunit/mocks
233 'DummySessionProvider' => "$testDir/phpunit/mocks/session/DummySessionProvider.php",
234 'MediaWiki\\Tests\\Session\\DummySessionBackend' => "$testDir/phpunit/mocks/session/DummySessionBackend.php",
235 'MediaWiki\\Tests\\BrokenClass' => "$testDir/phpunit/mocks/BrokenClass.php",
236 'MediaWiki\\Tests\\BrokenClass2' => "$testDir/phpunit/mocks/BrokenClass2.php",
237 'MediaWiki\\Tests\\BrokenClass3' => "$testDir/phpunit/mocks/BrokenClass3.php",
238 'MediaWiki\\Tests\\MockDatabase' => "$testDir/phpunit/mocks/MockDatabase.php",
239 'MediaWiki\\Tests\\MockWikiMapTrait' => "$testDir/phpunit/mocks/MockWikiMapTrait.php",
240 'MediaWiki\\Tests\\Unit\\DummyServicesTrait' => "$testDir/phpunit/mocks/DummyServicesTrait.php",
241 'MediaWiki\\Tests\\Unit\\FakeQqxMessageLocalizer' => "$testDir/phpunit/mocks/FakeQqxMessageLocalizer.php",
242 'MediaWiki\\Tests\\Unit\\MockBlockTrait' => "$testDir/phpunit/mocks/MockBlockTrait.php",
243 'MediaWiki\\Tests\\Unit\\MockServiceDependenciesTrait' => "$testDir/phpunit/mocks/MockServiceDependenciesTrait.php",
244 'MediaWiki\\Tests\\Language\\MockLocalisationCacheTrait' => "$testDir/phpunit/mocks/languages/MockLocalisationCacheTrait.php",
245 'MockBitmapHandler' => "$testDir/phpunit/mocks/media/MockBitmapHandler.php",
246 'MockChangesListFilter' => "$testDir/phpunit/mocks/MockChangesListFilter.php",
247 'MockChangesListFilterGroup' => "$testDir/phpunit/mocks/MockChangesListFilterGroup.php",
248 'MockCompletionSearchEngine' => "$testDir/phpunit/mocks/search/MockCompletionSearchEngine.php",
249 'MockDjVuHandler' => "$testDir/phpunit/mocks/media/MockDjVuHandler.php",
250 'MockFSFile' => "$testDir/phpunit/mocks/filebackend/MockFSFile.php",
251 'MockFileBackend' => "$testDir/phpunit/mocks/filebackend/MockFileBackend.php",
252 'MockHttpTrait' => "$testDir/phpunit/mocks/MockHttpTrait.php",
253 'MockImageHandler' => "$testDir/phpunit/mocks/media/MockImageHandler.php",
254 'MockLocalRepo' => "$testDir/phpunit/mocks/filerepo/MockLocalRepo.php",
255 'MockMessageLocalizer' => "$testDir/phpunit/mocks/MockMessageLocalizer.php",
256 'MockPoolCounterFailing' => "$testDir/phpunit/mocks/poolcounter/MockPoolCounterFailing.php",
257 'MockSearchEngine' => "$testDir/phpunit/mocks/search/MockSearchEngine.php",
258 'MockSearchResult' => "$testDir/phpunit/mocks/search/MockSearchResult.php",
259 'MockSearchResultSet' => "$testDir/phpunit/mocks/search/MockSearchResultSet.php",
260 'MockSvgHandler' => "$testDir/phpunit/mocks/media/MockSvgHandler.php",
261 'MockTitleTrait' => "$testDir/phpunit/mocks/MockTitleTrait.php",
262 'NullGuzzleClient' => "$testDir/phpunit/mocks/NullGuzzleClient.php",
263 'NullHttpRequestFactory' => "$testDir/phpunit/mocks/NullHttpRequestFactory.php",
264 'NullMultiHttpClient' => "$testDir/phpunit/mocks/NullMultiHttpClient.php",
265 'MediaWiki\Tests\FileRepo\TestRepoTrait' => "$testDir/phpunit/mocks/filerepo/TestRepoTrait.php",
266 'MediaWiki\\Tests\\MockEnvironment' => "$testDir/phpunit/mocks/MockEnvironment.php",
268 # tests/phpunit/unit/includes
269 'Wikimedia\\Reflection\\GhostFieldTestClass' => "$testDir/phpunit/mocks/GhostFieldTestClass.php",
270 'Wikimedia\\Tests\\Reflection\\GhostFieldTestClass' => "$testDir/phpunit/mocks/GhostFieldTestClass.php",
272 # tests/phpunit/unit/includes/auth
273 'MediaWiki\\Tests\\Unit\\Auth\\AuthenticationProviderTestTrait' => "$testDir/phpunit/unit/includes/auth/AuthenticationProviderTestTrait.php",
275 # tests/phpunit/unit/includes/CommentFormatter
276 'MediaWiki\\Tests\\Unit\\CommentFormatter\\CommentFormatterTestUtils' => "$testDir/phpunit/unit/includes/CommentFormatter/CommentFormatterTestUtils.php",
278 # tests/phpunit/unit/includes/editpage/Constraint and tests/phpunit/integration/includes/editpage/Constraint
279 'EditConstraintTestTrait' => "$testDir/phpunit/unit/includes/editpage/Constraint/EditConstraintTestTrait.php",
281 # tests/phpunit/unit/includes/filebackend
282 'FileBackendGroupTestTrait' => "$testDir/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php",
283 'FileBackendIntegrationTestBase' => "$testDir/phpunit/integration/includes/libs/filebackend/FileBackendIntegrationTestBase.php",
285 # tests/phpunit/unit/includes/HookContainer
286 'MediaWiki\\Tests\\HookContainer\\HookRunnerTestBase' => "$testDir/phpunit/unit/includes/HookContainer/HookRunnerTestBase.php",
288 # tests/phpunit/unit/includes/json
289 'MediaWiki\\Tests\\Json\\JsonDeserializableSubClass' => "$testDir/phpunit/mocks/json/JsonDeserializableSubClass.php",
290 'MediaWiki\\Tests\\Json\\JsonDeserializableSubClassAlias' => "$testDir/phpunit/mocks/json/JsonDeserializableSubClass.php",
291 'MediaWiki\\Tests\\Json\\JsonDeserializableSuperClass' => "$testDir/phpunit/mocks/json/JsonDeserializableSuperClass.php",
292 'MediaWiki\\Tests\\Json\\ManagedObject' => "$testDir/phpunit/mocks/json/ManagedObject.php",
293 'MediaWiki\\Tests\\Json\\ManagedObjectFactory' => "$testDir/phpunit/mocks/json/ManagedObjectFactory.php",
294 'MediaWiki\\Tests\\Json\\SampleContainerObject' => "$testDir/phpunit/mocks/json/SampleContainerObject.php",
295 'MediaWiki\\Tests\\Json\\SampleObject' => "$testDir/phpunit/mocks/json/SampleObject.php",
296 'MediaWiki\\Tests\\Json\\SampleObjectAlias' => "$testDir/phpunit/mocks/json/SampleObject.php",
298 # tests/phpunit/unit/includes/language
299 'LanguageCodeTest' => "$testDir/phpunit/unit/includes/language/LanguageCodeTest.php",
300 'LanguageFallbackTestTrait' => "$testDir/phpunit/unit/includes/language/LanguageFallbackTestTrait.php",
301 'LanguageNameUtilsTestTrait' => "$testDir/phpunit/unit/includes/language/LanguageNameUtilsTestTrait.php",
302 'MediaWiki\Tests\Language\LanguageEventIngressSpyTrait' => "$testDir/phpunit/includes/language/LanguageEventIngressSpyTrait.php",
304 # tests/phpunit/unit/includes/libs/filebackend/fsfile
305 'Wikimedia\\Tests\\FileBackend\\FSFile\\TempFSFileTestTrait' => "$testDir/phpunit/unit/includes/libs/filebackend/fsfile/TempFSFileTestTrait.php",
307 # tests/phpunit/unit/includes/libs/filebackend/fsfile
308 'MediaWiki\\Tests\\Unit\\Libs\\Rdbms\\AddQuoterMock' => "$testDir/phpunit/unit/includes/libs/rdbms/AddQuoterMock.php",
309 'MediaWiki\\Tests\\Unit\\Libs\\Rdbms\\SQLPlatformTestHelper' => "$testDir/phpunit/unit/includes/libs/rdbms/SQLPlatformTestHelper.php",
311 # tests/phpunit/unit/includes/libs/Message
312 'Wikimedia\\Tests\\Message\\DataMessageValueTest' => "$testDir/phpunit/unit/includes/libs/Message/DataMessageValueTest.php",
313 'Wikimedia\\Tests\\Message\\ListParamTest' => "$testDir/phpunit/unit/includes/libs/Message/ListParamTest.php",
314 'Wikimedia\\Tests\\Message\\MessageParamTest' => "$testDir/phpunit/unit/includes/libs/Message/MessageParamTest.php",
315 'Wikimedia\\Tests\\Message\\MessageSerializationTestTrait' => "$testDir/phpunit/unit/includes/libs/Message/MessageSerializationTestTrait.php",
316 'Wikimedia\\Tests\\Message\\MessageValueTest' => "$testDir/phpunit/unit/includes/libs/Message/MessageValueTest.php",
317 'Wikimedia\\Tests\\Message\\ScalarParamTest' => "$testDir/phpunit/unit/includes/libs/Message/ScalarParamTest.php",
318 'Wikimedia\\Tests\\Message\\T377912TestCase' => "$testDir/phpunit/unit/includes/libs/Message/T377912TestCase.php",
320 # tests/phpunit/unit/includes/utils
321 'UrlUtilsProviders' => "$testDir/phpunit/unit/includes/utils/UrlUtilsProviders.php",
323 # tests/phpunit/unit/includes/password
324 'PasswordTestCase' => "$testDir/phpunit/unit/includes/password/PasswordTestCase.php",
325 'Pbkdf2PasswordTestCase' => "$testDir/phpunit/unit/includes/password/Pbkdf2PasswordTestCase.php",
327 # tests/phpunit/integration/includes
328 'MediaWiki\\Tests\\ExtensionJsonTestBase' => "$testDir/phpunit/integration/includes/ExtensionJsonTestBase.php",
329 'MediaWiki\\Tests\\ExtensionServicesTestBase' => "$testDir/phpunit/integration/includes/ExtensionServicesTestBase.php",
331 # tests/phpunit/integration/includes/edit
332 'MediaWiki\\Tests\\Integration\\Edit\\SimpleParsoidOutputStashSerializationTest' => "$testDir/phpunit/integration/includes/edit/SimpleParsoidOutputStashSerializationTest.php",
334 # tests/phpunit/integration/includes/HTMLForm
335 'MediaWiki\\Tests\\Integration\\HTMLForm\\HTMLFormFieldTestCase' => "$testDir/phpunit/integration/includes/HTMLForm/HTMLFormFieldTestCase.php",
337 # tests/phpunit/integration/includes/libs
338 'LockManagerIntegrationTestBase' => "$testDir/phpunit/integration/includes/libs/lockmanager/LockManagerIntegrationTestBase.php",
340 # tests/phpunit/integration/includes/user
341 'MediaWiki\\Tests\\User\\ActorStoreTestBase' => "$testDir/phpunit/integration/includes/user/ActorStoreTestBase.php",
343 # tests/phpunit/integration/includes/user/TempUser
344 'MediaWiki\\Tests\\User\\TempUser\\TempUserTestTrait' => "$testDir/phpunit/integration/includes/user/TempUser/TempUserTestTrait.php",
346 # tests/phpunit/structure
347 'MediaWiki\\Tests\\Structure\\AbstractSchemaTestBase' => "$testDir/phpunit/structure/AbstractSchemaTestBase.php",
348 'MediaWiki\\Tests\\Structure\\BundleSizeTestBase' => "$testDir/phpunit/structure/BundleSizeTestBase.php",
350 # tests/phpunit/unit/includes/Rest
351 'MediaWiki\Tests\Rest\MockHandlerFactory' => "$testDir/phpunit/unit/includes/Rest/MockHandlerFactory.php",
352 'MediaWiki\\Tests\\Rest\\RestTestTrait' => "$testDir/phpunit/unit/includes/Rest/RestTestTrait.php",
353 'MediaWiki\\Tests\\Rest\\Handler\\SessionHelperTestTrait' => "$testDir/phpunit/unit/includes/Rest/SessionHelperTestTrait.php",
355 # tests/phpunit/unit/includes/Rest/Handler
356 'MediaWiki\\Tests\\Unit\\Permissions\\MockAuthorityTrait' => "$testDir/phpunit/mocks/permissions/MockAuthorityTrait.php",
357 'MediaWiki\\Tests\\Rest\\Handler\\ActionModuleBasedHandlerTestTrait' => "$testDir/phpunit/unit/includes/Rest/Handler/ActionModuleBasedHandlerTestTrait.php",
358 'MediaWiki\\Tests\\Rest\\Handler\\HTMLHandlerTestTrait' => "$testDir/phpunit/integration/includes/Rest/Handler/HTMLHandlerTestTrait.php",
359 'MediaWiki\\Tests\\Rest\\Handler\\HandlerTestTrait' => "$testDir/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php",
360 'MediaWiki\\Tests\\Rest\\Handler\\PageHandlerTestTrait' => "$testDir/phpunit/unit/includes/Rest/Handler/PageHandlerTestTrait.php",
361 'MediaWiki\\Tests\\Rest\\Handler\\HelloHandler' => "$testDir/phpunit/unit/includes/Rest/Handler/HelloHandler.php",
362 'MediaWiki\\Tests\\Rest\\Handler\\EchoHandler' => "$testDir/phpunit/unit/includes/Rest/Handler/EchoHandler.php",
363 'MediaWiki\\Tests\\Rest\\Handler\\MediaTestTrait' => "$testDir/phpunit/unit/includes/Rest/Handler/MediaTestTrait.php",
365 # tests/phpunit/unit/includes/Revision
366 'MediaWiki\\Tests\\Unit\\Revision\\RevisionRecordTests' => "$testDir/phpunit/unit/includes/Revision/RevisionRecordTests.php",
367 'MediaWiki\\Tests\\Unit\\Revision\\RevisionSlotsTest' => "$testDir/phpunit/unit/includes/Revision/RevisionSlotsTest.php",
368 'MediaWiki\\Tests\\Unit\\Revision\\RevisionStoreRecordTest' => "$testDir/phpunit/unit/includes/Revision/RevisionStoreRecordTest.php",
370 # tests/phpunit/unit/includes/Settings/Config
371 'MediaWiki\\Tests\\Unit\\Settings\\Config\\ConfigSinkTestTrait' => "$testDir/phpunit/unit/includes/Settings/Config/ConfigSinkTestTrait.php",
373 # tests/phpunit/unit/includes/Settings/Source
374 'MediaWiki\\Tests\\Unit\\Settings\\Source\\ExampleDefinitionsClass' => "$testDir/phpunit/unit/includes/Settings/Source/ExampleDefinitionsClass.php",
376 # tests/phpunit/unit/includes/session
377 'MediaWiki\\Tests\\Session\\SessionProviderTestTrait' => "$testDir/phpunit/unit/includes/session/SessionProviderTestTrait.php",
379 # tests/suites
380 'ParserTestFileSuite' => "$testDir/phpunit/suites/ParserTestFileSuite.php",
381 'ParsoidTestFileSuite' => "$testDir/phpunit/suites/ParsoidTestFileSuite.php",
382 'ParserTestTopLevelSuite' => "$testDir/phpunit/suites/ParserTestTopLevelSuite.php",
383 'SuiteEventsTrait' => "$testDir/phpunit/suites/SuiteEventsTrait.php",
385 // phpcs:enable