wiki.techinc.nl/tests/phpunit/includes/logging
Aryeh Gregor 043d88f680 Make LocalisationCache a service
This removes Language::$dataCache without deprecation, because 1) I
don't know of a way to properly simulate it in the new paradigm, and 2)
I found no direct access to the member outside of the Language and
LanguageTest classes.

An earlier version of this patch (e4468a1d6b) had to be reverted
because of a massive slowdown on test runs. Based on some local testing,
this should fix the problem. Running all tests in languages is slowed
down by only around 20% instead of a factor of five, and memory usage is
actually reduced greatly (~350 MB -> ~200 MB). The slowdown is still not
great, but I assume it's par for the course for converting things to
services and is acceptable. If not, I can try to optimize further.

Bug: T231220
Bug: T231198
Bug: T231200
Bug: T201405
Change-Id: Ieadbd820379a006d8ad2d2e4a1e96241e172ec5a
2019-10-07 13:18:47 -07:00
..
BlockLogFormatterTest.php Add permission check for user is permitted to view the log type 2019-07-25 20:32:37 +00:00
ContentModelLogFormatterTest.php Added Tests for ContentModelLogFormatter 2018-01-07 18:10:41 -05:00
DatabaseLogEntryTest.php Clean up most of b/c for phpunit4 2019-10-06 00:14:35 +02:00
DeleteLogFormatterTest.php Add permission check for user is permitted to view the log type 2019-07-25 20:32:37 +00:00
ImportLogFormatterTest.php Add @covers tags to logging tests 2017-12-24 23:29:00 -08:00
LogFormatterTest.php Make LocalisationCache a service 2019-10-07 13:18:47 -07:00
LogFormatterTestCase.php Add permission check for user is permitted to view the log type 2019-07-25 20:32:37 +00:00
LogTests.i18n.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MergeLogFormatterTest.php Add @covers tags to logging tests 2017-12-24 23:29:00 -08:00
MoveLogFormatterTest.php Add @covers tags to logging tests 2017-12-24 23:29:00 -08:00
NewUsersLogFormatterTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
PageLangLogFormatterTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
PatrolLogFormatterTest.php Add @covers tags to logging tests 2017-12-24 23:29:00 -08:00
ProtectLogFormatterTest.php Fix permission check on protection log 2019-09-27 09:58:41 -07:00
RightsLogFormatterTest.php Add @covers tags to logging tests 2017-12-24 23:29:00 -08:00
UploadLogFormatterTest.php Add separate log action for file reverts 2019-03-02 22:16:55 +00:00