MediaWiki  REL1_22
QueryAllSpecialPagesTest Class Reference
Inheritance diagram for QueryAllSpecialPagesTest:
Collaboration diagram for QueryAllSpecialPagesTest:

List of all members.

Public Member Functions

 __construct ()
 Initialize all query page objects.
 testQuerypageSqlQuery ()
 Test SQL for each of our QueryPages objects Database.

Protected Attributes

 $manualTest
 List query pages that can not be tested automatically.
 $reopensTempTable
 Pages whose query use the same DB table more than once.

Detailed Description

Definition at line 18 of file QueryAllSpecialPagesTest.php.


Constructor & Destructor Documentation

Initialize all query page objects.

Definition at line 38 of file QueryAllSpecialPagesTest.php.

References $wgQueryPages, as, and global.


Member Function Documentation

Test SQL for each of our QueryPages objects Database.

Definition at line 54 of file QueryAllSpecialPagesTest.php.

References $result, as, and global.


Member Data Documentation

QueryAllSpecialPagesTest::$manualTest [protected]
Initial value:
 array(
        'LinkSearchPage'
    )

List query pages that can not be tested automatically.

Definition at line 21 of file QueryAllSpecialPagesTest.php.

QueryAllSpecialPagesTest::$reopensTempTable [protected]
Initial value:
 array(
        'BrokenRedirects',
    )

Pages whose query use the same DB table more than once.

This is used to skip testing those pages when run against a MySQL backend which does not support reopening a temporary table. See upstream bug: http://bugs.mysql.com/bug.php?id=10327

Definition at line 31 of file QueryAllSpecialPagesTest.php.


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