wiki.techinc.nl/tests/phpunit/unit/includes
Aryeh Gregor 8c4f59db64 New LanguageFallback service
This replaces the static Language methods getFallbackFor(),
getFallbacksFor(), and getFallbacksIncludingSiteLanguage(). There is
100% unit and integration test coverage for the new class.

One deliberate functional change: I changed one place where we threw
MWException to InvalidArgumentException.

Bug: T201405
Depends-On: Ie7a89f6ed7d52a0bc01672019ff92e7ee105a1f3
Change-Id: I49222eb55f1feec5b1dcd40f364cffe0c8801855
2019-10-08 15:11:39 -07:00
..
auth Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
changes Cleanup of old PHPUnit usage, part 2 2019-10-04 21:47:46 -07:00
composer Cleanup of old PHPUnit usage, part 2 2019-10-04 21:47:46 -07:00
config Cleanup of old PHPUnit usage, part 2 2019-10-04 21:47:46 -07:00
content Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
debug/logger Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
deferred Move unit tests, round III 2019-07-09 22:06:59 +02:00
diff tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
exception Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
filebackend Cleanup of old PHPUnit usage, part 2 2019-10-04 21:47:46 -07:00
filerepo/file phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
GlobalFunctions Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
htmlform tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
http Split HttpTest and SessionTest to unit and integration 2019-07-13 21:01:09 +02:00
installer Merge "Fix installation failure due to unexpected dbpath under CLI installation" 2019-09-06 17:38:36 +00:00
interwiki Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
json Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
language New LanguageFallback service 2019-10-08 15:11:39 -07:00
libs Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
media phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
objectcache Add optional serialization_type and hmac_key param values to RESTBagOStuff 2019-10-06 15:52:01 -05:00
page tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
parser phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
password Cleanup of old PHPUnit usage, part 2 2019-10-04 21:47:46 -07:00
preferences Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
registration Merge "Registration: Allow relative paths in config arrays, not just strings" 2019-10-08 18:04:46 +00:00
resourceloader Make LocalisationCache a service 2019-10-07 13:18:47 -07:00
Rest Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
Revision phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
search tests: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +00:00
session tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
shell Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
skins Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
Storage Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
tidy Move unit tests, round III 2019-07-09 22:06:59 +02:00
title Merge "Title: make newFromText, isValid, and canExist behave consistently." 2019-10-08 13:54:57 +00:00
user Type hint against IResultWrapper 2019-10-04 19:58:19 +02:00
utils phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
watcheditem Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
BadFileLookupTest.php BadFileLookup to replace wfIsBadImage 2019-08-21 20:45:37 +03:00
DerivativeRequestTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
FactoryArgTestTrait.php Introduce MovePageFactory 2019-08-19 20:25:31 +03:00
FauxResponseTest.php tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
FormOptionsInitializationTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
FormOptionsTest.php Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
LicensesTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
PathRouterTest.php Setup: Move wgArticlePath validation to its main consumer (PathRouter) 2019-09-25 23:06:52 +00:00
SanitizerValidateEmailTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
ServiceWiringTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
SiteConfigurationTest.php SiteConfigurationTest: Fix recurring typo ("an non-existing") 2019-07-15 15:44:48 -07:00
TitleArrayFromResultTest.php Type hint against IResultWrapper 2019-10-04 19:58:19 +02:00
XmlJsTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
XmlSelectTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00