MediaWiki
REL1_19
|
Public Member Functions | |
provideGetGroupsWithPermission () | |
provideUserNames () | |
setUp () | |
tearDown () | |
testGetGroupsWithPermission ($expected, $right) | |
provideGetGroupsWithPermission | |
testGroupPermissions () | |
testIsValidUserName ($username, $result, $message) | |
provideUserNames | |
testRevokePermissions () | |
testUserPermissions () | |
Public Attributes | |
$savedRevokedPermissions | |
Protected Attributes | |
$savedGroupPermissions | |
$user | |
Private Member Functions | |
setUpPermissionGlobals () | |
setUpUser () |
Definition at line 9 of file UserTest.php.
Definition at line 98 of file UserTest.php.
Definition at line 126 of file UserTest.php.
UserTest::setUp | ( | ) |
Definition at line 17 of file UserTest.php.
References setUpPermissionGlobals(), and setUpUser().
UserTest::setUpPermissionGlobals | ( | ) | [private] |
Definition at line 26 of file UserTest.php.
References $wgGroupPermissions, and $wgRevokePermissions.
Referenced by setUp().
UserTest::setUpUser | ( | ) | [private] |
Definition at line 46 of file UserTest.php.
References User\addGroup().
Referenced by setUp().
Definition at line 51 of file UserTest.php.
UserTest::testGetGroupsWithPermission | ( | $ | expected, |
$ | right | ||
) |
provideGetGroupsWithPermission
Definition at line 90 of file UserTest.php.
References $result, and User\getGroupsWithPermission().
Definition at line 58 of file UserTest.php.
References User\getGroupPermissions().
UserTest::testIsValidUserName | ( | $ | username, |
$ | result, | ||
$ | message | ||
) |
Definition at line 71 of file UserTest.php.
References User\getGroupPermissions().
Definition at line 79 of file UserTest.php.
UserTest::$savedGroupPermissions [protected] |
Definition at line 10 of file UserTest.php.
UserTest::$savedRevokedPermissions |
Definition at line 10 of file UserTest.php.
UserTest::$user [protected] |
Definition at line 15 of file UserTest.php.