wiki.techinc.nl/tests/phpunit/unit/includes
Petr Pchelko f642215aed Convert ParserCache to PageRecord
ParserOptions not updated cause they depend on Title::getLanguage
implementation.

Tests converted to not require a DB anymore. Can't be proper unit
tests yet due to globals in ParserOptions and fake time hacks,
but exec time does go down from 70 seconds to 9 seconds.

Page content model is still emitted in the metrics since
it was considered useful. Should be removed when we get
something like a page type concept.

Change-Id: Ib16fd0b5b87ffc3cb4d21f4aa43d1203cb7206d2
2021-04-02 21:14:54 -06:00
..
actions Make ViewActionTest a pure unit test 2021-02-27 01:24:18 +00:00
api Merge "Make ApiWatchlistTraitTest a pure unit test" 2021-03-01 10:09:27 +00:00
auth Merge "auth: Convert AbstractAuthenticationProviderTest to a pure unit test" 2021-03-28 21:58:41 +00:00
block AbstractBlock::setTarget() don't always use MediaWikiServices 2021-03-30 16:24:10 +00:00
cache Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
changes Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
composer
config More misc test cleanup 2020-12-24 00:52:06 +00:00
content Split FallbackContentHandlerTest into separate unit tests 2021-03-30 14:23:00 +00:00
debug Drop Avro format option for monolog without deprecation 2021-03-25 08:26:17 -07:00
deferred Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
diff Convert UnsupportedSlotDiffRendererTest to a pure unit test 2021-02-27 02:06:10 +00:00
editpage Update creation of edit constraints following switch to Authority 2021-03-22 23:11:46 +00:00
exception Covert HttpErrorTest to a pure unit test 2021-03-02 10:48:44 +01:00
filebackend Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
filerepo/file
GlobalFunctions Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
HookContainer HookContainerTest: fix order of use statements 2021-03-24 15:58:35 +00:00
htmlform Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
http Upstream MwHttpRequestToResponseInterfaceAdapter from Wikibase 2020-10-07 10:17:37 +02:00
installer Remove "@group Database" from non-integration tests 2021-01-12 12:11:44 +00:00
interwiki phpunit: Remove odd "MediaWiki" group from tests using it 2021-01-08 18:35:30 +00:00
jobqueue
json Remove incomplete @param from test function 2021-02-01 20:19:22 +01:00
language Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
libs rdbms: Remove obsolete db connection params in DatabaseTest 2021-03-25 22:27:31 +00:00
linker Convert LinkRendererFactoryTest to a pure unit test 2021-03-10 15:35:13 +00:00
mail Convert or split some tests to MediaWikiUnitTestCase 2021-01-07 17:51:27 +00:00
media
Message Convert ConverterTest to pure unit tests 2021-03-22 15:59:42 +00:00
objectcache Make SqlBagOStuffTest a pure unit test 2021-02-27 02:22:41 +00:00
page Convert MergeHistory to Authority 2021-03-23 16:52:07 -06:00
parser Convert ParserCache to PageRecord 2021-04-02 21:14:54 -06:00
password Split PasswordPolicyChecksTest into separate unit tests 2021-02-27 22:33:54 +00:00
Permissions PermissionManager: fetch $wgDeleteRevisionsLimit from config 2021-03-29 22:33:43 +00:00
poolcounter Make PoolCounterTest a pure unit test 2021-02-27 01:12:40 +00:00
preferences Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
registration Convert ExtensionJsonValidatorTest to pure unit tests 2021-03-22 16:02:51 +00:00
resourceloader Fix access to services in unit tests. 2021-01-12 10:55:11 +01:00
Rest phpunit: Don't redefine methods in traits 2021-03-23 12:59:34 +00:00
Revision Merge "Add support for derived MCR slots" 2021-03-18 20:55:17 +00:00
revisionlist
search Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
session
shell Use Shellbox for Shell::command() etc. 2021-02-05 21:51:58 +11:00
site Convert MediaWikiPageNameNormalizerTest to a pure unit test 2021-03-11 18:45:57 +00:00
skins Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
Storage Merge "Revert "Add change tags for media additions/removals"" 2021-03-26 15:42:17 +00:00
tidy Deprecate MWTidy and TidyDriverBase::supportsValidate() 2021-03-16 12:29:55 -07:00
title Convert NaiveForeignTitleFactoryTest to pure unit tests 2021-03-22 15:08:22 +00:00
user Avoid using UserIdentity::getUserId 2021-03-02 16:12:55 -07:00
utils Drop Avro format option for monolog without deprecation 2021-03-25 08:26:17 -07:00
watcheditem Merge "Convert WatchedItem et al to PageIdentity" 2021-03-26 20:16:54 +00:00
BadFileLookupTest.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
DeprecatedGlobalTest.php Make DeprecatedGlobalTest a pure unit test 2021-03-01 02:54:27 +00:00
DerivativeRequestTest.php
FactoryArgTestTrait.php Improve documentation about object to be stdClass or specific type 2020-11-20 14:47:56 +00:00
FauxResponseTest.php
FeedUtilsTest.php FeedUtils: Update regex to match classes appropriately, and test 2020-12-15 07:35:10 +00:00
FormOptionsInitializationTest.php
FormOptionsTest.php Update docblock of FormOptionsTest 2021-01-12 12:04:12 +00:00
HeaderCallbackTest.php HeaderCallback: Sanitize cookie values in debug logs 2020-06-28 22:17:28 +00:00
LicensesTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
ListToggleTest.php Make ListToggleTest a pure unit test 2021-03-12 14:42:10 +00:00
MovePageTest.php Convert MovePage to Authority 2021-03-17 19:43:46 -06:00
PathRouterTest.php
PingbackTest.php Pingback: Refactor for dependency injection and cover with tests 2020-12-22 19:13:53 +00:00
ProxyLookupTest.php Add tests for ProxyLookup 2021-03-31 00:21:24 +00:00
SiteConfigurationTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
TitleArrayFromResultTest.php
TitleTest.php Add Unit tests for Title class 2021-01-21 03:51:20 +00:00
XmlJsTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
XmlSelectTest.php Minor cleanup to XmlSelectTest 2021-01-16 02:32:44 +00:00
XmlTest.php Move Xml::expandAttributes tests to unit tests 2021-03-07 19:27:11 +00:00