wiki.techinc.nl/tests/phpunit/unit/includes
Dan Duvall 9778adf1c5 Refactor SettingsBuilder to use BagOStuff.
Removed use of Psr\SimpleCache\CacheInterface in favor of BagOStuff, as
the latter is a tried-and-true abstraction and the former offers no real
upfront benefits since the caching patterns of SettingsBuilder are quite
basic at this time.

The simplicity of cache interface use is largely in part to the minimal
probabilistic stampede protection implementation within CachedSource
which is left untouched by this change.

Bug: T294748
Change-Id: Ie59b37a8d5c7bf96225757fa9eb9d2c762476713
2021-12-10 10:20:05 -08:00
..
actions Replace deprecated methods IContextSource::getWikiPage && IContextSource::canUseWikiPage 2021-11-16 13:58:39 +02:00
api Move ApiWatchlistTraitTest back to unit tests 2021-07-06 20:37:45 +00:00
auth Hard deprecate the setters of AbstractAuthenticationProvider class 2021-05-31 13:02:39 +00:00
block Cleanup hard-deprecated code in blocks. 2021-10-26 06:44:05 -07:00
cache Add BacklinkCacheFactory Service 2021-09-09 09:58:52 +01:00
changes docs: Improve doc types around changes list and the changes special page 2021-08-31 19:13:35 +02:00
CommentFormatter Introduce CommentFormatter 2021-09-28 11:13:03 -07:00
composer Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
config Introduce includes/Storage/PageUpdaterFactory 2021-07-19 12:15:26 +02:00
content build: Updating dependencies 2021-07-22 03:36:05 +00:00
context Revert "Use CsrfTokenSet as CSRF token source" 2021-08-05 15:48:26 -07:00
dao Give WikiAwareEntityTrait it's own unit tests. 2021-04-27 20:31:14 -07:00
db Convert MWLBFactoryTest to pure unit tests 2021-04-14 16:48:30 +00:00
debug build: Updating dependencies 2021-07-22 03:36:05 +00:00
deferred Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
diff Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
editpage Replace easy usages of User for UserIdentity/Authority 2021-06-09 07:53:52 -07:00
exception build: Updating dependencies 2021-07-22 03:36:05 +00:00
filebackend LockManager: distinguish conflicts from other kinds of lock errors 2021-11-09 21:58:20 +00:00
filerepo/file phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
GlobalFunctions Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
historyblob build: Updating dependencies 2021-07-22 03:36:05 +00:00
HookContainer Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
htmlform Hard deprecate User::setOption() 2021-09-26 17:18:54 +02:00
http Support $wgLocalHTTPProxy in MultiHttpClient 2021-11-16 11:13:10 -08:00
import WikiImporter: inject services 2021-05-24 23:10:07 +02:00
installer Remove "@group Database" from non-integration tests 2021-01-12 12:11:44 +00:00
interwiki build: Updating dependencies 2021-07-22 03:36:05 +00:00
jobqueue build: Updating dependencies 2021-07-22 03:36:05 +00:00
json Replace new stdClass with more compact array syntax 2021-11-02 09:43:03 +00:00
language Use LanguageNameUtils constants instead of strings 2021-12-05 22:13:34 +01:00
libs Add IDatabase::factorConds() 2021-12-08 11:02:46 +11:00
linker Add comment flag to LinkRenderer 2021-11-02 13:03:20 +01:00
mail Make MailAddressTest a unit test 2021-07-23 10:30:04 +00:00
media Replace new stdClass with more compact array syntax 2021-11-02 09:43:03 +00:00
Message Convert ConverterTest to pure unit tests 2021-03-22 15:59:42 +00:00
objectcache build: Updating dependencies 2021-07-22 03:36:05 +00:00
page Change return format of DeletePage again 2021-11-29 15:09:42 +00:00
ParamValidator/TypeDef Make UserDefTest a unit test 2021-09-13 23:55:51 -04:00
parser Move ::addTrackingCategory() implementation to TrackingCategories 2021-10-15 14:17:58 -04:00
password Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
Permissions Support having groups inherit permissions from another group 2021-12-04 12:45:23 -08:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
preferences Hard deprecate TitleFactory::newFromIDs and Title::newFromIDs 2021-11-29 14:23:26 -05:00
registration Cleanup mixed space/tab line indent 2021-09-04 00:52:31 +02:00
resourceloader Upgrade Vue to the migration build of Vue 3 2021-12-07 19:31:43 +00:00
Rest Merge "File: remove deprecated methods" 2021-11-05 15:17:46 +00:00
Revision Make SlotRecordTest a unit test 2021-10-19 20:31:55 -07:00
revisionlist Add tests for RevisionList/RevisionItem classes 2020-05-12 09:36:44 -07:00
search phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
session Move CRSF token generation to CsrfTokenSet 2021-06-18 12:24:19 -07:00
Settings Refactor SettingsBuilder to use BagOStuff. 2021-12-10 10:20:05 -08:00
shell ShellboxClientFactory: add RPCClient getters 2021-11-05 16:41:22 +00:00
site Convert MediaWikiPageNameNormalizerTest to a pure unit test 2021-03-11 18:45:57 +00:00
skins Replace new stdClass with more compact array syntax 2021-11-02 09:43:03 +00:00
Storage tests: Avoid non-namespaced aliases for Wikimedia\Rdbms namespace 2021-09-18 20:24:08 +02:00
tidy tests/phpunit/unit/includes/tidy/html5lib-tests.json: Avoid use of 'insanely' in comments 2021-11-24 11:46:36 +00:00
title build: Upgrade mediawiki-codesniffer from v35.0.0 to v36.0.0 2021-04-29 13:00:15 -07:00
user rdbms: Add more return typehints 2021-09-07 08:23:36 +00:00
utils build: Updating dependencies 2021-07-22 03:36:05 +00:00
watcheditem Change WatchedItemStore to cache an array instead of MapCacheLRU 2021-10-18 13:00:03 -07:00
watchlist Add DummyServicesTrait::getDummyReadOnlyMode() 2021-07-05 07:16:13 +00:00
BadFileLookupTest.php Use DummyServicesTrait for BadFileLookupTest TitleParser 2021-07-28 20:50:20 +00:00
DeprecatedGlobalTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DerivativeRequestTest.php Move unit tests, round III 2019-07-09 22:06:59 +02:00
FactoryArgTestTrait.php Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
FauxResponseTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
FeedUtilsTest.php FeedUtils: Update regex to match classes appropriately, and test 2020-12-15 07:35:10 +00:00
FormOptionsInitializationTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
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 Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
MovePageTest.php build: Upgrade mediawiki-codesniffer from v35.0.0 to v36.0.0 2021-04-29 13:00:15 -07:00
PathRouterTest.php Cleanup mixed space/tab line indent 2021-09-04 00:52:31 +02:00
PingbackTest.php rdbms: Add more return typehints 2021-09-07 08:23:36 +00:00
ProxyLookupTest.php Add tests for ProxyLookup 2021-03-31 00:21:24 +00:00
ReadOnlyModeTest.php phpunit: Remove file_exists check from ReadOnlyModeTest 2021-09-11 18:22:16 +00:00
SiteConfigurationTest.php Tests: Update syntax referencing classes and internal functions 2021-12-02 17:07:49 +01:00
TitleArrayFromResultTest.php Stop accessing members of the Title class publicly 2021-11-22 14:22:51 +00:00
TitleTest.php tests: Avoid trying to access the DB in data providers 2021-09-20 10:32:45 +01:00
WikiReferenceTest.php Move WikiReferenceTest to a unit test 2021-05-02 10:00:52 +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