wiki.techinc.nl/tests/phpunit/includes/api
Peter Ovchyn 61e0908fa2 languages: Introduce LanguageConverterFactory
Done:
* Replace LanguageConverter::newConverter by LanguageConverterFactory::getLanguageConverter
* Remove LanguageConverter::newConverter from all subclasses
* Add LanguageConverterFactory integration tests which covers all languages by their code.
* Caching of LanguageConverters in factory
* Make all tests running (hope that's would be enough)
* Uncomment  the deprecated functions.
* Rename FakeConverter to TrivialLanguageConverter
* Create ILanguageConverter to have shared ancestor
* Make the LanguageConverter class abstract.
* Create table with mapping between lang code and converter instead of using name convention
* ILanguageConverter @internal
* Clean up code

Change-Id: I0e4d77de0f44e18c19956a1ffd69d30e63cf51bf
Bug: T226833, T243332
2020-02-03 11:38:03 +02:00
..
format Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
query Fixes for PHPUnit 8 compat in DB suite 2019-12-15 00:27:54 +00:00
ApiBaseTest.php Revert "Revert "Store block reasons as CommentStoreComments in block classes"" 2019-10-20 10:41:17 +01:00
ApiBlockInfoTraitTest.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiBlockTest.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php
ApiComparePagesTest.php Add $wgDiffEngine 2019-11-05 10:38:52 -05:00
ApiContinuationManagerTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiCSPReportTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiDeleteTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiDisabledTest.php Replace setExpectedException with two args 2019-10-05 16:14:05 +00:00
ApiEditPageTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiErrorFormatterTest.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
ApiFeedContributionsTest.php Replace setExpectedException with two args 2019-10-05 16:14:05 +00:00
ApiLoginTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiLogoutTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiMainTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
ApiMessageTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiModuleManagerTest.php phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
ApiMoveTest.php Add target page as a parameter to articleexists message 2019-12-20 00:09:45 +00:00
ApiOpenSearchTest.php
ApiOptionsTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiPageSetTest.php tests: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +00:00
ApiParseTest.php Remove Preprocessor_DOM, deprecated in 1.34 2020-01-25 11:22:45 -05:00
ApiPurgeTest.php
ApiQueryAllPagesTest.php tests: Fix broken assertion in ApiQueryAllPagesTest 2019-09-30 16:22:54 +02:00
ApiQueryBlockInfoTraitTest.php API: Use ApiBlockInfoTrait in ApiQueryUsers and AllUsers 2019-09-18 19:44:01 +00:00
ApiQueryBlocksTest.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiQueryDisabledTest.php
ApiQueryInfoTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
ApiQueryLanguageinfoTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiQueryPrefixSearchTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiQueryRecentChangesIntegrationTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
ApiQuerySearchTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiQuerySiteinfoTest.php languages: Introduce LanguageConverterFactory 2020-02-03 11:38:03 +02:00
ApiQueryWatchlistIntegrationTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
ApiQueryWatchlistRawIntegrationTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
ApiResultTest.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
ApiRevisionDeleteTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
ApiSetNotificationTimestampIntegrationTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiStashEditTest.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiTestCase.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiTestContext.php
ApiTokensTest.php Remove usages of deprecated User::getRights. 2019-08-20 19:43:54 -07:00
ApiUnblockTest.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiUploadTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiUploadTestCase.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiUsageExceptionTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiUserrightsTest.php Use nullable type in function signature 2019-11-20 19:20:38 +01:00
ApiWatchTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
generateRandomImages.php tests: Replace RandomImageGenerator dictionary logic with rand+time 2019-10-25 02:07:21 +01:00
MockApi.php
MockApiQueryBase.php Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
RandomImageGenerator.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
UserWrapper.php
words.txt