wiki.techinc.nl/tests/phpunit/includes
Antoine Musso 224864ebdd registration: Initialize PSR-4 namespaces at same stage as normal autoloader
readFromQueue() injects the content of AutoloadClasses to
$wgAutoloadClasses however it missed doing the same for
AutoloadNamespaces.

When using the installer with an extension having AutoloadNamespaces
set, its classes would not be found.

Make ExtensionRegistry append to AutoLoader::$psr4Namespaces, and add
a test to cover the new behavior.

Bug: T195783
Change-Id: Id61155867a4ca7d9bc4a347f8671da74b0fa490b
2018-05-30 13:07:42 -07:00
..
actions Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
api Merge "Xml.php: Do not escape double quotes in $contents of Xml::element()" 2018-05-29 19:26:33 +00:00
auth MediaWiki\Auth\Throttler: Change "ip" key name 2018-05-25 15:55:19 -04:00
cache Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
changes Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
changetags Add new core tags 2017-11-30 10:29:58 -08:00
collation Remove everything related to CollationFa 2018-05-18 18:33:25 +02:00
composer tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
config tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
content RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
context
db Avoid unnecessary WaitConditionLoop delays in ChronologyProtector 2018-05-18 13:43:05 -07:00
debug Fix KafkaHandlerTest hack to work with PHPUnit 6 2018-04-12 09:49:54 -07:00
deferred rdbms: rename onTransactionIdle() to onTransactionCommitOrIdle() 2018-05-09 21:07:06 +00:00
diff Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest 2018-02-16 09:01:51 +00:00
externalstore build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
filebackend Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
htmlform Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
http Replace HTTP by HTTPS 2018-05-22 12:14:14 +02:00
import build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
installer Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
interwiki Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
jobqueue Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
json Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
libs IP: Fix sanitization of IPv4 ranges 2018-05-23 10:34:20 -04:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
logging Declare LogFormatter::$parsedParameters property 2018-05-01 19:56:13 -07:00
mail mail: Always quote uncoded names in MailAddress 2018-04-24 21:29:25 +00:00
media Bump PHP version requirement to 7.0.0+ 2018-05-24 16:15:56 +01:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page tests: Assert that the user who deleted a page is logged as such 2018-04-26 00:49:00 +00:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Resolve used lazy options in ParserOptions::optionsHash() 2018-05-15 06:54:55 +00:00
password Add Special:PasswordPolicies 2018-05-19 08:55:39 +00:00
poolcounter Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
preferences Fix PreferencesForm alias 2018-05-29 21:44:18 +00:00
rcfeed build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
registration registration: Initialize PSR-4 namespaces at same stage as normal autoloader 2018-05-30 13:07:42 -07:00
resourceloader Remove deprecated wgResourceLoaderLESSImportPaths 2018-05-29 15:49:28 +01:00
search build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
services tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
session Merge "Update suppressWarning()/restoreWarning() calls" 2018-02-11 22:06:29 +00:00
shell Deprecate wfShellWikiCmd() 2018-04-16 16:38:05 +00:00
site Replace wfGetLB 2018-05-02 22:30:24 +02:00
skins skins: Move default style modules to getDefaultModules 2018-05-04 23:52:02 +00:00
sparql tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
specialpage RCFilters: Convert patrolled filter to three states 2018-04-11 10:59:06 -07:00
specials Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
Storage Merge "[MCR] Introduce RevisionSlotsUpdate." 2018-05-09 13:27:08 +00:00
tidy tidy: Remove obsolete Depurate and Balancer drivers 2018-05-08 15:32:49 +00:00
title Strip Unicode 6.3.0 directional formatting characters from title 2018-05-10 08:58:23 +02:00
upload Update declaration of UploadFromUrlTest::doApiRequest 2018-04-10 13:54:52 -07:00
user Send a cookie with IP/IP-Range blocks when blocking logged-out users 2018-05-24 00:48:05 -04:00
utils Have ClassCollector ignore PHP 7 anonymous classes 2018-05-01 13:13:37 -04:00
watcheditem Use constants for rc_patrolled values instead of numbers 2018-04-13 23:56:35 +02:00
ActorMigrationTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
AutoLoaderTest.php Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
AutopromoteTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
BlockTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
CommentStoreTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
ContentSecurityPolicyTest.php ContentSecurityPolicy: Add trailing & to report urls 2018-05-22 22:20:43 +00:00
DeprecatedGlobalTest.php phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI 2017-07-28 18:30:32 -07:00
DiffHistoryBlobTest.php
EditPageTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ExportTest.php
ExtraParserTest.php Add 'unwrap' ParserOutput post-cache transform 2018-02-01 14:24:27 -08:00
FauxRequestTest.php tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
FauxResponseTest.php
FormOptionsInitializationTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
FormOptionsTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
GitInfoTest.php Improve GitInfo for reading packed refs 2017-10-02 03:47:33 +00:00
HooksTest.php Complete test coverage of Hooks class 2018-05-26 23:38:28 -07:00
HtmlTest.php Remove very, very old disabled test cases and todos 2017-12-28 18:44:31 +00:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
LinkFilterTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
ListToggleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiServicesTest.php MediaWikiServicesTest::testDisableStorageBackend: Make PHPUnit6 happy 2018-04-12 15:29:56 -07:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
MergeHistoryTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MessageTest.php Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
MovePageTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
MWNamespaceTest.php Don't rely on magic __call in MWNamespaceTest 2018-04-06 14:17:42 -07:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php Initial support for Content Security Policy, disabled by default 2018-05-13 21:01:11 -07:00
PageArchiveTest.php Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
PagePropsTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
PathRouterTest.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
PreferencesTest.php Convert Preferences class into PreferencesFactory service 2018-01-03 09:48:25 +08:00
PrefixSearchTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ReadOnlyModeTest.php Remove unused and unnecessary imports 2017-06-12 15:50:43 +00:00
RevisionContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionDbTestBase.php Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
RevisionNoContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionTest.php Merge "Drop archive.ar_text and ar_flags" 2018-04-23 20:15:26 +00:00
RevisionTestModifyableContent.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
RevisionTestModifyableContentHandler.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
SampleTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
SiteConfigurationTest.php SiteConfiguration: Add test to confirm null as valid override 2018-04-24 18:31:30 +01:00
SiteStatsTest.php phpunit: Clear job queues in MediaWikiTestCase::setUp() 2018-04-24 00:46:19 +01:00
StatusTest.php RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
TemplateCategoriesTest.php Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
TemplateParserTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TestLogger.php Autofix MediaWiki.Commenting.FunctionComment.SpacingDoc* errors 2018-05-19 14:07:03 -07:00
TestUser.php
TestUserRegistry.php Test ApiUserrights 2018-04-12 21:26:02 +03:00
TimeAdjustTest.php
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Add protection for User: JSON pages in the same manner as JS & CSS ones 2018-03-29 14:33:46 +00:00
TitlePermissionTest.php Add protection for User: JSON pages in the same manner as JS & CSS ones 2018-03-29 14:33:46 +00:00
TitleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
WebRequestTest.php Remove internal use of deprecated $wgRequestTime 2018-03-18 04:41:12 +00:00
WikiMapTest.php Clean up wiki ID and DB domain ID handling 2017-09-30 10:25:03 +00:00
WikiReferenceTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlJsTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlSelectTest.php Update weblinks in comments from HTTP to HTTPS 2016-10-11 17:25:10 +00:00
XmlTest.php Xml.php: Do not escape double quotes in $contents of Xml::element() 2018-05-23 20:03:54 +00:00