MediaWiki
REL1_24
|
Database More...
Public Member Functions | |
testAllRightsWithMessage () | |
Test, if for all rights a right- message exist, which is used on Special:ListGroupRights as help text Extensions and core. | |
testAnonOptions () | |
Bug 37963 Make sure defaults are loaded when setOption is called. | |
testCheckPasswordValidity () | |
Test password validity checks. | |
testEditCount () | |
Test User::editCount medium User::getEditCount. | |
testGetCanonicalName ($name, $expectedArray, $msg) | |
User::getCanonicalName() provideGetCanonicalName | |
testGetGroupsWithPermission ($expected, $right) | |
provideGetGroupsWithPermission User::getGroupsWithPermission | |
testGroupPermissions () | |
User::getGroupPermissions | |
testIsIP ($value, $result, $message) | |
provideIPs User::isIP | |
testIsValidUserName ($username, $result, $message) | |
provideUserNames User::isValidUserName | |
testOptions () | |
Test changing user options. | |
testPasswordExpire () | |
Test password expiration. | |
testRevokePermissions () | |
User::getGroupPermissions | |
testUserPermissions () | |
User::getRights | |
Static Public Member Functions | |
static | provideGetCanonicalName () |
static | provideGetGroupsWithPermission () |
static | provideIPs () |
static | provideUserNames () |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
User | $user |
Private Member Functions | |
setUpPermissionGlobals () |
Database
Definition at line 9 of file UserTest.php.
static UserTest::provideGetCanonicalName | ( | ) | [static] |
Definition at line 340 of file UserTest.php.
References array().
static UserTest::provideGetGroupsWithPermission | ( | ) | [static] |
Definition at line 106 of file UserTest.php.
References array().
static UserTest::provideIPs | ( | ) | [static] |
Definition at line 135 of file UserTest.php.
References array().
static UserTest::provideUserNames | ( | ) | [static] |
Definition at line 160 of file UserTest.php.
References array().
UserTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 14 of file UserTest.php.
References array(), MediaWikiTestCase\setMwGlobals(), setUpPermissionGlobals(), user, and User.
UserTest::setUpPermissionGlobals | ( | ) | [private] |
Test, if for all rights a right- message exist, which is used on Special:ListGroupRights as help text Extensions and core.
Definition at line 186 of file UserTest.php.
Bug 37963 Make sure defaults are loaded when setOption is called.
Definition at line 266 of file UserTest.php.
Test password validity checks.
There are 3 checks in core,
Definition at line 306 of file UserTest.php.
Test User::editCount medium User::getEditCount.
Definition at line 214 of file UserTest.php.
UserTest::testGetCanonicalName | ( | $ | name, |
$ | expectedArray, | ||
$ | msg | ||
) |
User::getCanonicalName() provideGetCanonicalName
Definition at line 330 of file UserTest.php.
UserTest::testGetGroupsWithPermission | ( | $ | expected, |
$ | right | ||
) |
provideGetGroupsWithPermission User::getGroupsWithPermission
Definition at line 98 of file UserTest.php.
Definition at line 58 of file UserTest.php.
UserTest::testIsIP | ( | $ | value, |
$ | result, | ||
$ | message | ||
) |
provideIPs User::isIP
Definition at line 131 of file UserTest.php.
UserTest::testIsValidUserName | ( | $ | username, |
$ | result, | ||
$ | message | ||
) |
provideUserNames User::isValidUserName
Definition at line 156 of file UserTest.php.
Test changing user options.
User::setOption User::getOption
Definition at line 248 of file UserTest.php.
Definition at line 75 of file UserTest.php.
Definition at line 86 of file UserTest.php.
Definition at line 12 of file UserTest.php.