wiki.techinc.nl/tests/phpunit/includes
addshore 82b19bd96a Create and use PrefixingStatsdDataFactoryProxy in PerDbNameStatsdDataFactory
MediaWiki::emitBufferedStatsdData() is never called for the PerDbName factory,
so stats were being dropped. Instead of having two factories, turn the
PerDbName one into a proxy/wrapper around the main factory that just adds a
prefix in front of all of the keys.

Bug: T202144
Change-Id: I31e376446abb58e41353b4ca3814120d2e914104
2018-08-19 00:19:57 -07:00
..
actions Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
api Merge "Turn ApiPrefixUniquenessTest into a structure test" 2018-08-18 00:55:18 +00:00
auth Clean up AuthManagerTest a bit 2018-08-06 19:15:36 +03:00
cache Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
changes Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
changetags Disable PHPUnit tests that fail under postgres 2018-08-01 22:22:15 +00:00
collation Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals 2018-06-04 16:20:13 +00: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 Merge "Give pages with ~~~~ a different cache TTL" 2018-08-12 06:43:52 +00:00
context
db rdbms: add more comments and sanity checks for CONN_TRX_AUTOCOMMIT 2018-08-09 01:39:07 +00:00
debug Add helper trait for deprecating properties 2018-07-18 15:15:46 +02: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 Disallow empty paths in LockManager 2018-07-26 11:02:43 -07:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions GlobalFunctions: Enable patch-coverage for wfExpandUrl test 2018-07-25 18:25:27 +01:00
htmlform thiemowmde's legal name changed 2018-07-24 06:07:38 +00: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 Merge "Hard deprecate Interwiki static methods" 2018-06-09 09:33:09 +00: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 Create and use PrefixingStatsdDataFactoryProxy in PerDbNameStatsdDataFactory 2018-08-19 00:19:57 -07:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker Improve LinkRenderer::getLinkText() coverage 2018-06-13 01:30:04 -07:00
logging Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
mail mail: Always quote uncoded names in MailAddress 2018-04-24 21:29:25 +00:00
media SVG: Allow , as separator in viewBox attribute value 2018-08-11 00:16:43 +02:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page Disable PHPUnit tests that fail under postgres 2018-08-01 22:22:15 +00:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
password Merge "password: Move commonpasswords.cdb to includes/password/" 2018-08-14 23:53:19 +00:00
poolcounter Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
preferences Use ParserFactory in a bunch of places 2018-08-11 00:16:17 -06:00
rcfeed build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
registration Merge "registration: Validate no duplicate keys exist in extension.json" 2018-07-18 09:47:07 +00:00
resourceloader resourceloader: Remove $wgResourceLoaderLESSVars support 2018-08-14 18:57:45 +00:00
search Make SpecialPageFactory a service 2018-08-17 11:12:23 -07:00
services [MCR] Allow extensions to manipulate service instances 2018-06-15 16:06:38 +02:00
session Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01: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 Make SpecialPageFactory a service 2018-08-17 11:12:23 -07:00
specials Mass conversion to SpecialPageFactory service 2018-08-17 12:03:12 -07:00
Storage Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
tidy RemexCompatMunger: Don't call endTag() in case B/b 2018-08-07 14:07:31 +10:00
title Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
upload Fix UploadBase::checkXMLEncodingMissmatch() on PHP 7.1+ 2018-06-06 20:13:13 -07:00
user Fix some of the common typos 2018-08-16 00:59:32 +02: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 Introduce new schema flags and use them in RevisionStore. 2018-07-02 17:20:14 +02: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 Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ContentSecurityPolicyTest.php resourceloader: Give module eval the ContentSecurityPolicy nonce 2018-08-07 16:54:40 +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 Fix typos 2018-08-14 09:52:19 +00:00
ExportTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ExtraParserTest.php MagicWordFactory to replace MagicWord static members/methods 2018-07-30 21:20:43 +03: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 Html: Add test coverage for inlineScript() 2018-08-09 14:28:50 +00:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Remove deprecated Linker::getLinkColour() 2018-06-13 01:30:04 -07: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 Don't require a list of services in tests 2018-08-10 04:28:31 +00:00
MediaWikiTest.php Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
MediaWikiVersionFetcherTest.php Improve MediaWikiVersionFetcherTest 2018-08-10 11:26:57 +03:00
MergeHistoryTest.php MergeHistory: Fix flaky test due to relative timestamp 2018-08-15 02:16:02 +01:00
MessageTest.php Use ParserFactory in a bunch of places 2018-08-11 00:16:17 -06:00
MovePageTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
MultiHttpClientTest.php Added non-parallel fallback to MultiHttpClient when curl is unavailable 2018-07-23 00:19:59 +00:00
MWNamespaceTest.php MWNamespace: Add getCategoryLinkType() method 2018-06-29 15:37:11 +00:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php Merge "Improve OutputPage test coverage more" 2018-08-02 03:03:22 +00:00
PagePropsTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
PathRouterTest.php Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
PreferencesTest.php Convert Preferences class into PreferencesFactory service 2018-01-03 09:48:25 +08:00
PrefixSearchTest.php Make SpecialPageFactory a service 2018-08-17 11:12:23 -07:00
ReadOnlyModeTest.php Remove unused and unnecessary imports 2017-06-12 15:50:43 +00:00
RevisionDbTestBase.php Tests can't call resetGlobalServices() 2018-08-09 17:53:14 +03:00
RevisionMcrDbTest.php MCR RevisionStore, multi content mode.. 2018-06-14 17:30:33 +02:00
RevisionMcrReadNewDbTest.php Introduce new schema flags and use them in RevisionStore. 2018-07-02 17:20:14 +02:00
RevisionMcrWriteBothDbTest.php [MCR] RevisionStore, enable insertions for new schema 2018-06-14 13:36:08 +00:00
RevisionNoContentModelDbTest.php Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
RevisionPreMcrDbTest.php Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
RevisionTest.php Use consistent caching strategy in Revision storage classes 2018-07-05 17:44:24 +02: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 Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
ServiceWiringTest.php Alphabetize service lists 2018-08-09 22:19:58 -06: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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TestUser.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
TestUserRegistry.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
TimeAdjustTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
TitlePermissionTest.php title: Disable the failing tests from TitlePermissionTest 2018-08-16 13:05:09 +00:00
TitleTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
WebRequestTest.php WebRequest: Fix flaky testGetElapsedTime test case 2018-07-16 20:23:30 -07: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