wiki.techinc.nl/tests/phpunit/unit/includes
Amir Sarabadani bd40cfa516 rdbms: Small clean ups to query builders
- Fix typo
 - Fix copy-paste issues in documentation
 - Pass around caller info in getQueryInfo() and queryInfo()
 - Make the Database methods internal
 - Perf improvement on InsertQueryBuilder::row()

Bug: T335377
Change-Id: Idec9e62a0c392c34c0f81cfe8f65b477db7bb98f
2023-09-11 19:09:24 +02:00
..
actions Drop Action::exists() and ActionFactory::actionExists(), deprecated since 1.38 2023-08-16 16:58:34 +08:00
api Replace array_keys in foreach to use $_ as value instead 2023-07-10 02:53:52 +00:00
auth Do not use UTSysop directly in auth tests 2023-08-16 00:34:30 +00:00
block rdbms: Add support for per-domain calls in ReadOnlyMode 2023-09-10 03:23:13 +00:00
cache Migrate several wfGetDB() to use ICP 2023-07-05 11:00:59 +02:00
changes Merge "Replace IDatabase with IReadableDatabase where possible" 2023-06-08 18:24:30 +00:00
CommentFormatter tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
composer tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
config config: Widen @covers annotations in unit tests 2023-07-24 05:33:30 +01:00
content Replace some more usages of deprecated MWException 2023-06-09 02:07:08 +02:00
dao tests: Change expectDeprecation to expectDeprecationAndContinue 2023-07-18 16:35:43 +00:00
db Centralize logic behind building ChronologyProtector object 2023-08-30 18:44:09 +00:00
debug tests: Change expectDeprecation to expectDeprecationAndContinue 2023-07-18 16:35:43 +00:00
deferred
diff Move DiffEngine and helpers to includes/libs/Diff and put them in a namespace 2023-06-20 15:15:13 +10:00
edit DummyServicesTrait: add content handler factory 2023-01-02 01:09:42 +00:00
editpage phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
exception phpunit: Add temporary overrides for assertObject(Not)HasAttribute 2023-08-20 00:22:24 +02:00
Feed tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
filebackend Reorg: Move three output related classes to includes/Output/ 2023-09-05 19:36:42 +01:00
filerepo/file Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
GlobalFunctions Resolve GlobalFunctions phpunit filename deprecation errors 2023-07-01 09:30:42 +00:00
historyblob tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
HookContainer HookContainer: allow registering broken callables. 2023-08-22 16:30:44 +00:00
htmlform Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
http phpunit: Disallow access to MediaWikiServices in unit tests 2023-08-11 00:36:47 +00:00
import [php8.1] Make WikiImporterFactoryTest use better mock for ImportSource 2022-07-24 07:34:10 -07:00
installer Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
interwiki Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
jobqueue rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms library 2023-05-04 23:41:21 +02:00
json Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
language Language: Remove deprecated functions and constants 2023-08-06 00:53:30 +02:00
libs rdbms: Small clean ups to query builders 2023-09-11 19:09:24 +02:00
linker tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
mail mail: Final round of EmailUser refactoring 2023-06-20 11:02:51 +00:00
media tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
Message tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
objectcache tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
page deferred: Drop support for DeferredUpdatesManager 2023-08-21 22:57:41 +00:00
ParamValidator/TypeDef phpunit: Introduce TypeDefUnitTestCase 2023-07-15 14:56:34 +00:00
parser General whitespace clean-up of tabs followed by multiple spaces 2023-09-06 14:28:43 +01:00
password Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
Permissions Merge "Make all limits function as user rights." 2023-09-11 12:34:48 +00:00
poolcounter Remove confusing ->onlyMethods( [] ) with empty array from tests 2022-08-08 15:49:59 +02:00
preferences tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
rcfeed tests: Change expectDeprecation to expectDeprecationAndContinue 2023-07-18 16:35:43 +00:00
registration Make all limits function as user rights. 2023-09-11 12:03:57 +00:00
ResourceLoader phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
Rest HandlerTestTrait: Always mock validateParams and validateBody 2023-09-05 16:33:12 +02:00
Revision mark various anonymous functions as static 2023-08-22 19:38:38 +00:00
revisionlist Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
search tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
session tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
Settings Make use of MainConfigNames references in a few more places 2023-04-21 11:11:44 +02:00
shell tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
site tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
skins Reorg: Move three output related classes to includes/Output/ 2023-09-05 19:36:42 +01:00
Storage mark various anonymous functions as static 2023-08-22 19:38:38 +00:00
tidy tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
title tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
user Make "temp reserved" usernames not be "usable" 2023-08-25 15:06:22 +10:00
utils Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
watcheditem tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
watchlist WatchlistManager: Do not require watchlist rights for clearing talk page notification 2023-08-31 17:22:16 +02:00
BadFileLookupTest.php Reorg: Move five page-related classes to page/ out of includes/ 2023-02-23 17:03:49 +01:00
DeprecatedGlobalTest.php tests: Change expectDeprecation to expectDeprecationAndContinue 2023-07-18 16:35:43 +00:00
DerivativeRequestTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
FactoryArgTestTrait.php Make use of PHPUnit fail() shortcut 2022-07-14 14:48:15 +02:00
FauxResponseTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
FormOptionsInitializationTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
FormOptionsTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
HeaderCallbackTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
HtmlHelperTest.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
HtmlJsCodeTest.php Html: Move encodeJsVar() + encodeJsCall() from Xml 2023-07-14 13:42:02 -04:00
LicensesTest.php Deprecate creating HTMLFormFields without reference to parent form 2023-01-08 18:20:16 -08:00
ListToggleTest.php Reorg: Move three output related classes to includes/Output/ 2023-09-05 19:36:42 +01:00
MovePageTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
PathRouterTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
PingbackTest.php Migrate Database::upsert() calls to InsertQueryBuilder 2023-09-06 14:28:19 +01:00
ProxyLookupTest.php Reorg: Move ProxyLookup to Request/ 2023-08-06 12:22:58 +02:00
ReadOnlyModeTest.php rdbms: Add support for per-domain calls in ReadOnlyMode 2023-09-10 03:23:13 +00:00
SetupDynamicConfigTest.php Fix more PHPStorm inspections (#2) 2023-03-25 00:19:58 +00:00
SiteConfigurationTest.php Fix some typos 2023-03-21 15:58:09 +01:00
TitleArrayFromResultTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
TitleTest.php Remove deprecated Title::newFromTitleValue 2023-07-08 19:23:50 +00:00
WikiReferenceTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
XmlSelectTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
XmlTest.php Html: Move encodeJsVar() + encodeJsCall() from Xml 2023-07-14 13:42:02 -04:00