MediaWiki  master
FormSpecialPageTestCase Class Reference

Factory for handling the special page list and generating SpecialPage objects. More...

Inheritance diagram for FormSpecialPageTestCase:
Collaboration diagram for FormSpecialPageTestCase:

Public Member Functions

 testCheckExecutePermissionsPartialBlock ()
 FormSpecialPage::checkExecutePermissions. More...
 testCheckExecutePermissionsSitewideBlock ()
 FormSpecialPage::checkExecutePermissions. More...

Protected Member Functions

 getMethod ( $obj, $name)
 Get a protected/private method. More...
- Protected Member Functions inherited from SpecialPageTestBase
 executeSpecialPage ( $subPage='', WebRequest $request=null, $language=null, User $user=null)
 newSpecialPage ()
 Returns a new instance of the special page under test. More...
 setUp ()
 tearDown ()

Detailed Description

Factory for handling the special page list and generating SpecialPage objects.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


Definition at line 25 of file FormSpecialPageTestCase.php.

Member Function Documentation

◆ getMethod()

FormSpecialPageTestCase::getMethod (   $obj,

Get a protected/private method.


Definition at line 77 of file FormSpecialPageTestCase.php.

References $name.

Referenced by testCheckExecutePermissionsPartialBlock(), and testCheckExecutePermissionsSitewideBlock().

◆ testCheckExecutePermissionsPartialBlock()

FormSpecialPageTestCase::testCheckExecutePermissionsPartialBlock ( )

◆ testCheckExecutePermissionsSitewideBlock()

FormSpecialPageTestCase::testCheckExecutePermissionsSitewideBlock ( )

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