MediaWiki  master
SpecialPageTestBase Class Reference

Base class for testing special pages. More...

Inheritance diagram for SpecialPageTestBase:
Collaboration diagram for SpecialPageTestBase:

Protected Member Functions

 executeSpecialPage ( $subPage='', WebRequest $request=null, $language=null, User $user=null)
 
 newSpecialPage ()
 Returns a new instance of the special page under test. More...
 
 setUp ()
 
 tearDown ()
 

Private Attributes

 $obLevel
 

Detailed Description

Base class for testing special pages.

Since
1.26
Note
GPL-2.0-or-later
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
Daniel Kinzler
Addshore
Thiemo Kreuz

Definition at line 14 of file SpecialPageTestBase.php.

Member Function Documentation

◆ executeSpecialPage()

SpecialPageTestBase::executeSpecialPage (   $subPage = '',
WebRequest  $request = null,
  $language = null,
User  $user = null 
)
protected

◆ newSpecialPage()

SpecialPageTestBase::newSpecialPage ( )
abstractprotected

◆ setUp()

SpecialPageTestBase::setUp ( )
protected

Definition at line 18 of file SpecialPageTestBase.php.

◆ tearDown()

SpecialPageTestBase::tearDown ( )
protected

Definition at line 24 of file SpecialPageTestBase.php.

References $obLevel, and newSpecialPage().

Member Data Documentation

◆ $obLevel

SpecialPageTestBase::$obLevel
private

Definition at line 16 of file SpecialPageTestBase.php.

Referenced by tearDown().


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