MediaWiki  master
SpecialPageFatalTest Class Reference

Test that runs against all registered special pages to make sure that regular execution of the special page does not cause a fatal error. More...

Inheritance diagram for SpecialPageFatalTest:
Collaboration diagram for SpecialPageFatalTest:

Public Member Functions

 provideSpecialPages ()
 
 testSpecialPageDoesNotFatal (SpecialPage $page)
 provideSpecialPages More...
 

Detailed Description

Test that runs against all registered special pages to make sure that regular execution of the special page does not cause a fatal error.

UTSysop is used to run as much of the special page code as possible without actually knowing the details of the special page.

Since
1.32
Author
Addshore

Definition at line 15 of file SpecialPageFatalTest.php.

Member Function Documentation

◆ provideSpecialPages()

SpecialPageFatalTest::provideSpecialPages ( )

Definition at line 16 of file SpecialPageFatalTest.php.

References $name, and as.

◆ testSpecialPageDoesNotFatal()

SpecialPageFatalTest::testSpecialPageDoesNotFatal ( SpecialPage  $page)

provideSpecialPages

Definition at line 28 of file SpecialPageFatalTest.php.

References $e, $user, User\newFromName(), and null.


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