MediaWiki  REL1_24
QueryAllSpecialPagesTest Class Reference

Test class to run the query of most of all our special pages. More...

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

Test class to run the query of most of all our special pages.

Copyright © 2011, Antoine Musso

Author:
Antoine Musso Database QueryPage<extended>

Definition at line 14 of file QueryAllSpecialPagesTest.php.


Constructor & Destructor Documentation

Initialize all query page objects.

Definition at line 34 of file QueryAllSpecialPagesTest.php.

References as, and QueryPage\getPages().


Member Function Documentation

Test SQL for each of our QueryPages objects Database.

Definition at line 49 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 17 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 27 of file QueryAllSpecialPagesTest.php.


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