MediaWiki  REL1_19
TitlePermissionTest Class Reference

Database More...

Inheritance diagram for TitlePermissionTest:
Collaboration diagram for TitlePermissionTest:

List of all members.

Public Member Functions

 runCSSandJSPermissions ($result0, $result1, $result2)
 runGroupPermissions ($action, $result, $result2=null)
 setTitle ($ns, $title="Main_Page")
 setUp ()
 setUser ($userName=null)
 setUserPerm ($perm)
 tearDown ()
 testActionPermissions ()
 testCascadingSourcesRestrictions ()
 testCssAndJavascriptPermissions ()
 testPageRestrictions ()
 testQuickPermissions ()
 testSpecialsAndNSPermissions ()
 testUserBlock ()

Public Attributes

 $altUser
 $altUserName
 $anonUser
 $userUser

Protected Attributes

 $title
 $user
 $userName

Detailed Description

Database

Definition at line 6 of file TitlePermissionTest.php.


Member Function Documentation

TitlePermissionTest::runCSSandJSPermissions ( result0,
result1,
result2 
)

Definition at line 417 of file TitlePermissionTest.php.

References setUserPerm().

Referenced by testCssAndJavascriptPermissions().

Here is the call graph for this function:

Here is the caller graph for this function:

TitlePermissionTest::runGroupPermissions ( action,
result,
result2 = null 
)

Definition at line 314 of file TitlePermissionTest.php.

References $res, $result, and $wgGroupPermissions.

Referenced by testQuickPermissions().

Here is the caller graph for this function:

TitlePermissionTest::setTitle ( ns,
title = "Main_Page" 
)

Definition at line 72 of file TitlePermissionTest.php.

References $title, and Title\makeTitle().

Referenced by testActionPermissions(), testCascadingSourcesRestrictions(), testCssAndJavascriptPermissions(), testPageRestrictions(), testQuickPermissions(), testSpecialsAndNSPermissions(), and testUserBlock().

Here is the call graph for this function:

Here is the caller graph for this function:

TitlePermissionTest::setUser ( userName = null)

Definition at line 76 of file TitlePermissionTest.php.

References $userName, and $wgUser.

Referenced by testCssAndJavascriptPermissions(), testQuickPermissions(), and testSpecialsAndNSPermissions().

Here is the caller graph for this function:

Reimplemented from MediaWikiLangTestCase.

Definition at line 58 of file TitlePermissionTest.php.

Definition at line 538 of file TitlePermissionTest.php.

References $wgUser, setTitle(), setUserPerm(), and wfGetDB().

Here is the call graph for this function:

Definition at line 516 of file TitlePermissionTest.php.

References $wgUser, Title\makeTitle(), setTitle(), and setUserPerm().

Here is the call graph for this function:

Definition at line 393 of file TitlePermissionTest.php.

References $wgUser, runCSSandJSPermissions(), setTitle(), and setUser().

Here is the call graph for this function:

Definition at line 444 of file TitlePermissionTest.php.

References $wgContLang, $wgUser, setTitle(), and setUserPerm().

Here is the call graph for this function:

Definition at line 89 of file TitlePermissionTest.php.

References $res, $wgContLang, $wgGroupPermissions, $wgUser, runGroupPermissions(), setTitle(), setUser(), and setUserPerm().

Here is the call graph for this function:

Definition at line 340 of file TitlePermissionTest.php.

References $wgNamespaceProtection, $wgUser, setTitle(), setUser(), and setUserPerm().

Here is the call graph for this function:

Definition at line 608 of file TitlePermissionTest.php.

References $wgEmailAuthentication, $wgEmailConfirmToEdit, $wgLang, $wgLocalTZoffset, $wgUser, setTitle(), and setUserPerm().

Here is the call graph for this function:


Member Data Documentation

TitlePermissionTest::$altUser

Definition at line 12 of file TitlePermissionTest.php.

TitlePermissionTest::$altUserName

Definition at line 17 of file TitlePermissionTest.php.

TitlePermissionTest::$anonUser

Definition at line 12 of file TitlePermissionTest.php.

TitlePermissionTest::$title [protected]

Definition at line 7 of file TitlePermissionTest.php.

Referenced by setTitle().

TitlePermissionTest::$user [protected]

Definition at line 12 of file TitlePermissionTest.php.

TitlePermissionTest::$userName [protected]

Definition at line 17 of file TitlePermissionTest.php.

Referenced by setUser().

TitlePermissionTest::$userUser

Definition at line 12 of file TitlePermissionTest.php.


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