wiki.techinc.nl/tests/phpunit/unit/includes
Derick Alangi ce8e5f1549 Introduce HtmlMessageOutputHelper for system messages
This introduces an interface HtmlOutputHelper that is implemented
by both HtmlMessageOutputHelper or HtmlOutputRendererHelper based
on the page we're dealing with.

Bug: T323558
Change-Id: I1fb8dcc5cc05ce3f32f3c1862b88045f1c8e612b
2022-12-16 11:49:56 +01:00
..
actions Replace some more mock builders with createMock() shortcut 2022-11-14 17:28:11 +01:00
api
auth
block Make use of the ?? and ??= operators where it makes sense 2022-11-10 18:31:18 +01:00
cache Merge "cache: Inject HookContainer into BacklinkCache" 2022-12-14 22:03:37 +00:00
changes Inline a few more trivial createMock() calls in tests 2022-08-08 09:50:50 +02:00
CommentFormatter
composer
config Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
content Reorg: Move MagicWord related files to under parser/ 2022-12-09 13:48:35 +01:00
dao Various doc fixes about false and null on method arguments/return types 2022-11-03 18:55:47 +01:00
db rdbms: Move Database::factory() to DatabaseFactory service 2022-08-31 10:53:50 +10:00
debug
deferred
diff Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
edit Stash original wikitext when rendering unsaved content. 2022-11-04 17:17:32 +01:00
editpage unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
exception Migrate use of ${var}-style string interpolation 2022-07-29 02:45:09 +02:00
Feed Feed: Move feed-related classes to Feed/ and namespace them 2022-10-20 17:25:49 +00:00
filebackend Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
filerepo/file
GlobalFunctions tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-07 14:13:16 -04:00
historyblob Protect HistoryBlob storage against malicious class injection 2022-12-02 00:26:11 +00:00
HookContainer HookContainer: add getHookNames method 2022-11-16 11:54:39 +00:00
htmlform
http Fix whitespaces after comma 2022-12-15 01:24:14 +01:00
import [php8.1] Make WikiImporterFactoryTest use better mock for ImportSource 2022-07-24 07:34:10 -07:00
installer
interwiki Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
jobqueue unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
json
language Implement LanguageConverter for sh.wiki 2022-11-15 06:29:11 +00:00
libs Merge "Fix whitespaces after comma" 2022-12-15 00:56:34 +00:00
linker
mail
media
Message
objectcache Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
page unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
ParamValidator/TypeDef
parser Merge "Reorg: Move MagicWord related files to under parser/" 2022-12-11 18:15:48 +00:00
password password: Reduce time cost of password unit tests 2022-11-22 22:48:10 +00:00
Permissions tests: Replace assertEmpty with assertSame 2022-11-25 00:42:53 +01:00
poolcounter Remove confusing ->onlyMethods( [] ) with empty array from tests 2022-08-08 15:49:59 +02:00
preferences Reorg: Move Title-related classes to title/ 2022-11-26 09:30:32 +00:00
rcfeed
registration Remove $wgParserTestFiles, deprecated in MW 1.30 2022-10-13 09:22:22 -04:00
ResourceLoader
Rest Introduce HtmlMessageOutputHelper for system messages 2022-12-16 11:49:56 +01:00
Revision When content is marked bad, show an error, don't pretend it is empty 2022-12-05 22:03:45 +00:00
revisionlist Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
search
session Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
Settings Fix whitespaces after comma 2022-12-15 01:24:14 +01:00
shell
site site\MediaWikiPageNameNormalizer: Replace deprecated Http::get 2022-12-14 21:12:30 +00:00
skins Fix whitespaces after comma 2022-12-15 01:24:14 +01:00
Storage Introduce PageUpdateStatus 2022-11-30 14:49:01 +01:00
tidy Miscellaneous PHP version related cleanups 2022-11-21 10:11:53 +11:00
title Fix casing of class and function name usages 2022-12-04 19:09:30 +00:00
user Replace some more mock builders with createMock() shortcut 2022-11-14 17:28:11 +01:00
utils Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
watcheditem tests: Simplify some nested ->will( $this->return assertions 2022-11-12 11:57:12 -07:00
watchlist Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
BadFileLookupTest.php BadFileLookupTest: avoid ' in literals, breaks gitiles highlighting 2022-08-02 22:11:23 +00:00
DeprecatedGlobalTest.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
DerivativeRequestTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
FactoryArgTestTrait.php Make use of PHPUnit fail() shortcut 2022-07-14 14:48:15 +02:00
FauxResponseTest.php unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
FormOptionsInitializationTest.php
FormOptionsTest.php
HeaderCallbackTest.php Reorg: Move HeaderCallback to Request directory 2022-11-08 10:53:27 +01:00
HtmlHelperTest.php
LicensesTest.php
ListToggleTest.php
MovePageTest.php
PathRouterTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
PingbackTest.php unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
ProxyLookupTest.php
ReadOnlyModeTest.php Make ReadOnlyModeTest work in php8. 2022-07-23 19:01:58 +00:00
SetupDynamicConfigTest.php Merge "Setup: Remove internal short-cut config $wgUseEnotif" 2022-08-20 14:53:43 +00:00
SiteConfigurationTest.php
TitleArrayFromResultTest.php Merge "Replace some more mock builders with createMock() shortcut" 2022-12-02 00:29:35 +00:00
TitleTest.php
WikiReferenceTest.php
XmlJsTest.php
XmlSelectTest.php
XmlTest.php