|
MediaWiki
REL1_23
|
Test class for SpecialRecentchanges class. More...


Public Member Functions | |
| testRcNsFilter () | |
| testRcNsFilterAssociation ($ns1, $ns2) | |
| testRcNsFilterAssociationWithInversion ($ns1, $ns2) | |
| testRcNsFilterInversion () | |
Static Public Member Functions | |
| static | provideNamespacesAssociations () |
| Provides associated namespaces to test recent changes namespaces association filtering. | |
Protected Attributes | |
| SpecialRecentChanges | $rc |
Private Member Functions | |
| assertConditions ($expected, $requestOptions=null, $message= '') | |
| helper to test SpecialRecentchanges::buildMainQueryConds() | |
Static Private Member Functions | |
| static | filterOutRcTimestampCondition ($var) |
| return false if condition begin with 'rc_timestamp ' | |
Test class for SpecialRecentchanges class.
Copyright © 2011, Antoine Musso
Definition at line 12 of file SpecialRecentchangesTest.php.
| SpecialRecentchangesTest::assertConditions | ( | $ | expected, |
| $ | requestOptions = null, |
||
| $ | message = '' |
||
| ) | [private] |
helper to test SpecialRecentchanges::buildMainQueryConds()
Definition at line 19 of file SpecialRecentchangesTest.php.
Referenced by testRcNsFilter(), and testRcNsFilterInversion().
| static SpecialRecentchangesTest::filterOutRcTimestampCondition | ( | $ | var | ) | [static, private] |
return false if condition begin with 'rc_timestamp '
Definition at line 44 of file SpecialRecentchangesTest.php.
| static SpecialRecentchangesTest::provideNamespacesAssociations | ( | ) | [static] |
Provides associated namespaces to test recent changes namespaces association filtering.
Definition at line 116 of file SpecialRecentchangesTest.php.
Definition at line 48 of file SpecialRecentchangesTest.php.
References array(), and assertConditions().
| SpecialRecentchangesTest::testRcNsFilterAssociation | ( | $ | ns1, |
| $ | ns2 | ||
| ) |
Definition at line 79 of file SpecialRecentchangesTest.php.
| SpecialRecentchangesTest::testRcNsFilterAssociationWithInversion | ( | $ | ns1, |
| $ | ns2 | ||
| ) |
Definition at line 97 of file SpecialRecentchangesTest.php.
Definition at line 61 of file SpecialRecentchangesTest.php.
References array(), and assertConditions().
SpecialRecentChanges SpecialRecentchangesTest::$rc [protected] |
Definition at line 16 of file SpecialRecentchangesTest.php.