Currently, only 30.00% of the functions and methods, and 28.58% of the lines of code in the `User` class are tested
Was: 10.68% of functions and methods and 14.94% of the lines of code
####Pending
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/569700/
Newly tested:
* ::getDefaultOption
* ::isCreatableName, ::isUsableName
* ::addToDatabase
* ::changeableGroups
* ::isBlockedFromUpload
Testing expanded for (mostly just specific edge cases):
* ::getIntOption, ::getId, ::getDefaultOptions
* ::addGroup, ::removeGroup
* ::newFromConfirmationCode
* ::idFromName
* ::findUsersByGroup
####Progress
https://gerrit.wikimedia.org/g/mediawiki/core/+/a429a7
Testing expanded for - ::incEditCount, ::getId
Methods newly tested:
* ::getTalkPage, ::getUserPage, ::getTitleKey
* ::getBlockId, ::isAllowedToCreateAccount, ::isBlockedFromEmailuser
* ::getGroups, ::isBot
* ::newFromName, ::getName
* ::setEditCountInternal
* ::getRealName, ::setRealName
* ::useRCPatrol, ::useNPPatrol, ::useFilePatrol
https://gerrit.wikimedia.org/g/mediawiki/core/+/6582ba
Methods newly tested - ::isWatched, ::addWatch, ::removeWatch
https://gerrit.wikimedia.org/g/mediawiki/core/+/1fcb8a1396
Methods newly tested - ::getBoolOption, ::getIntOption
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/567465/
Testing expanded for - ::getCanonicalName
Methods newly tested:
* ::newFromId, ::newFromConfirmationCode
* ::getStubThreshold, ::requiresHTTPS
* ::setItemLoaded, ::isItemLoaded
* ::getGroupMemberships
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/569700/
Newly tested:
* ::getDefaultOption
* ::isCreatableName, ::isUsableName
* ::addToDatabase
* ::changeableGroups
* ::isBlockedFromUpload
Testing expanded for (mostly just specific edge cases):
* ::getIntOption, ::getId, ::getDefaultOptions
* ::addGroup, ::removeGroup
* ::newFromConfirmationCode
* ::idFromName
* ::findUsersByGroup