wiki.techinc.nl/tests/phpunit/unit/includes
Tim Starling 3d7365e844 Allow new style hook handlers to abort
Aborting was apparently lost by accident in PS28 of the HookContainer
commit.

In the test, to allow multiple different hooks to be registered, I
used a real ObjectFactory with a fake ServiceContainer, instead of a
fake ObjectFactory. I changed the parameter to
getMockExtensionRegistry() to take the full attribute value instead of
the hook name and a single handler.

Change-Id: I7b4c547737febe81a487fe154db150055ae31344
2020-05-01 08:02:31 +10:00
..
auth
cache
changes
composer Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
config Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
content Use ObjectFactory to construct ContentHandlers 2020-02-10 21:36:36 +03:00
debug/logger tests: Use ::class rather than string class name 2020-03-14 02:00:55 +00:00
deferred
diff Make use of DiffOp::norig/nclosing() and update tests 2020-03-25 15:17:17 +00:00
exception Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
filebackend Merge "phpunit: Change optional params before required params to also be required" 2020-03-30 21:29:45 +00:00
filerepo/file
GlobalFunctions
HookContainer Allow new style hook handlers to abort 2020-05-01 08:02:31 +10:00
htmlform Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
http
installer
interwiki
jobqueue
json Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
language Remove unreachable null checks after isset() 2020-02-28 21:40:48 +00:00
libs objectcache: Add regression test for MapCacheLRU serialization 2020-04-16 17:55:17 +01:00
media
Message UserNameUtils: use ITextFormatter instead of MessageLocalizer 2020-04-13 09:28:02 -07:00
objectcache
page Convert MovePageFactory to interface, implement in PageHandlerFactory 2020-04-27 23:26:28 +00:00
parser Deprecate Parser::firstCallInit() 2020-04-17 12:49:34 -04:00
password
preferences Add MultiTitleFilter class 2020-04-28 14:06:51 +00:00
registration Hook Container 2020-04-17 15:48:38 +10:00
resourceloader
Rest Merge "SearchHandler: emit Cache-Control header." 2020-04-06 15:53:50 +00:00
Revision
search
session Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
shell shell: Skip FirejailCommandTest::testBuildFinalCommand() on Windows 2020-02-11 16:31:31 +00:00
skins Support the creation of Skins with services injected 2020-03-16 23:25:42 +00:00
Storage
tidy
title
user Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
utils
watcheditem
BadFileLookupTest.php
DerivativeRequestTest.php
FactoryArgTestTrait.php
FauxResponseTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
LicensesTest.php
PathRouterTest.php
SanitizerValidateEmailTest.php
ServiceWiringTest.php
SiteConfigurationTest.php SiteConfiguration: Optimise getSetting() internals for getAll() 2020-03-04 02:12:16 +00:00
TitleArrayFromResultTest.php Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
XmlJsTest.php
XmlSelectTest.php