MediaWiki
REL1_19
|
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 |
Definition at line 6 of file TitlePermissionTest.php.
TitlePermissionTest::runCSSandJSPermissions | ( | $ | result0, |
$ | result1, | ||
$ | result2 | ||
) |
Definition at line 417 of file TitlePermissionTest.php.
References setUserPerm().
Referenced by testCssAndJavascriptPermissions().
TitlePermissionTest::runGroupPermissions | ( | $ | action, |
$ | result, | ||
$ | result2 = null |
||
) |
Definition at line 314 of file TitlePermissionTest.php.
References $res, $result, and $wgGroupPermissions.
Referenced by testQuickPermissions().
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().
Reimplemented from MediaWikiLangTestCase.
Definition at line 19 of file TitlePermissionTest.php.
References $wgContLang, $wgLang, $wgLocaltimezone, $wgLocalTZoffset, $wgMemc, User\createNew(), Language\factory(), Title\makeTitle(), User\newFromId(), and User\newFromName().
TitlePermissionTest::setUser | ( | $ | userName = null | ) |
Definition at line 76 of file TitlePermissionTest.php.
References $userName, and $wgUser.
Referenced by testCssAndJavascriptPermissions(), testQuickPermissions(), and testSpecialsAndNSPermissions().
TitlePermissionTest::setUserPerm | ( | $ | perm | ) |
Definition at line 62 of file TitlePermissionTest.php.
Referenced by runCSSandJSPermissions(), testActionPermissions(), testCascadingSourcesRestrictions(), testPageRestrictions(), testQuickPermissions(), testSpecialsAndNSPermissions(), and testUserBlock().
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().
Definition at line 516 of file TitlePermissionTest.php.
References $wgUser, Title\makeTitle(), setTitle(), and setUserPerm().
Definition at line 393 of file TitlePermissionTest.php.
References $wgUser, runCSSandJSPermissions(), setTitle(), and setUser().
Definition at line 444 of file TitlePermissionTest.php.
References $wgContLang, $wgUser, setTitle(), and setUserPerm().
Definition at line 89 of file TitlePermissionTest.php.
References $res, $wgContLang, $wgGroupPermissions, $wgUser, runGroupPermissions(), setTitle(), setUser(), and setUserPerm().
Definition at line 340 of file TitlePermissionTest.php.
References $wgNamespaceProtection, $wgUser, setTitle(), setUser(), and setUserPerm().
Definition at line 608 of file TitlePermissionTest.php.
References $wgEmailAuthentication, $wgEmailConfirmToEdit, $wgLang, $wgLocalTZoffset, $wgUser, setTitle(), and setUserPerm().
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.