MediaWiki  REL1_19
UserTest Class Reference

Database More...

Inheritance diagram for UserTest:
Collaboration diagram for UserTest:

List of all members.

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 ()

Detailed Description

Database

Definition at line 9 of file UserTest.php.


Member Function Documentation

Definition at line 98 of file UserTest.php.

Definition at line 126 of file UserTest.php.

Definition at line 17 of file UserTest.php.

References setUpPermissionGlobals(), and setUpUser().

Here is the call graph for this function:

Definition at line 26 of file UserTest.php.

References $wgGroupPermissions, and $wgRevokePermissions.

Referenced by setUp().

Here is the caller graph for this function:

UserTest::setUpUser ( ) [private]

Definition at line 46 of file UserTest.php.

References User\addGroup().

Referenced by setUp().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Definition at line 58 of file UserTest.php.

References User\getGroupPermissions().

Here is the call graph for this function:

UserTest::testIsValidUserName ( username,
result,
message 
)

provideUserNames

Definition at line 122 of file UserTest.php.

References $result.

Definition at line 71 of file UserTest.php.

References User\getGroupPermissions().

Here is the call graph for this function:

Definition at line 79 of file UserTest.php.


Member Data Documentation

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.


The documentation for this class was generated from the following file: