MediaWiki  REL1_22
TitlePermissionTest Class Reference

Database More...

Inheritance diagram for TitlePermissionTest:
Collaboration diagram for TitlePermissionTest:

List of all members.

Public Member Functions

 testActionPermissions ()
 testCascadingSourcesRestrictions ()
 testCssAndJavascriptPermissions ()
 testPageRestrictions ()
 testQuickPermissions ()
 testSpecialsAndNSPermissions ()
 testUserBlock ()

Public Attributes

User $altUser
string $altUserName
User $anonUser
User $userUser

Protected Member Functions

 runCSSandJSPermissions ($result0, $result1, $result2, $result3, $result4)
 runGroupPermissions ($action, $result, $result2=null)
 setTitle ($ns, $title="Main_Page")
 setUp ()
 setUp and tearDown should (where significant) happen in reverse order.
 setUser ($userName=null)
 setUserPerm ($perm)

Protected Attributes

Title $title
User $user
string $userName

Detailed Description

Database

Todo:
covers tags

Definition at line 7 of file TitlePermissionTest.php.


Member Function Documentation

TitlePermissionTest::runCSSandJSPermissions ( result0,
result1,
result2,
result3,
result4 
) [protected]

Definition at line 461 of file TitlePermissionTest.php.

TitlePermissionTest::runGroupPermissions ( action,
result,
result2 = null 
) [protected]

Definition at line 325 of file TitlePermissionTest.php.

TitlePermissionTest::setTitle ( ns,
title = "Main_Page" 
) [protected]

Definition at line 79 of file TitlePermissionTest.php.

TitlePermissionTest::setUp ( ) [protected]

setUp and tearDown should (where significant) happen in reverse order.

Reimplemented from MediaWikiLangTestCase.

Definition at line 21 of file TitlePermissionTest.php.

TitlePermissionTest::setUser ( userName = null) [protected]

Definition at line 83 of file TitlePermissionTest.php.

TitlePermissionTest::setUserPerm ( perm) [protected]

Definition at line 69 of file TitlePermissionTest.php.

Todo:
This test method should be split up into separate test methods and data providers

Definition at line 617 of file TitlePermissionTest.php.

Todo:
This test method should be split up into separate test methods and data providers

Definition at line 412 of file TitlePermissionTest.php.

Todo:
This test method should be split up into separate test methods and data providers

Definition at line 502 of file TitlePermissionTest.php.

Todo:
This test method should be split up into separate test methods and data providers

Definition at line 97 of file TitlePermissionTest.php.

Todo:
This test method should be split up into separate test methods and data providers

Definition at line 357 of file TitlePermissionTest.php.


Member Data Documentation

User TitlePermissionTest::$altUser

Definition at line 19 of file TitlePermissionTest.php.

string TitlePermissionTest::$altUserName

Definition at line 11 of file TitlePermissionTest.php.

User TitlePermissionTest::$anonUser

Definition at line 19 of file TitlePermissionTest.php.

Title TitlePermissionTest::$title [protected]

Definition at line 15 of file TitlePermissionTest.php.

User TitlePermissionTest::$user [protected]

Definition at line 19 of file TitlePermissionTest.php.

string TitlePermissionTest::$userName [protected]

Definition at line 11 of file TitlePermissionTest.php.

User TitlePermissionTest::$userUser

Definition at line 19 of file TitlePermissionTest.php.


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