MediaWiki  REL1_24
ApiQueryTest Class Reference

API Database medium ApiQuery More...

Inheritance diagram for ApiQueryTest:
Collaboration diagram for ApiQueryTest:

List of all members.

Public Member Functions

 provideTestTitlePartToKey ()
 testTitlePartToKey ($titlePart, $namespace, $expected, $expectException)
 Test the ApiBase::titlePartToKey function.
 testTitlesAreRejectedIfInvalid ()
 testTitlesGetNormalized ()

Protected Member Functions

 setUp ()
 tearDown ()

Protected Attributes

array $hooks
 Storage for $wgHooks.

Detailed Description

API Database medium ApiQuery

Definition at line 9 of file ApiQueryTest.php.


Member Function Documentation

Definition at line 117 of file ApiQueryTest.php.

References array().

ApiQueryTest::setUp ( ) [protected]

Reimplemented from ApiTestCase.

Definition at line 14 of file ApiQueryTest.php.

References $wgHooks, array(), ApiTestCase\doLogin(), global, and hooks.

ApiQueryTest::tearDown ( ) [protected]

Reimplemented from MediaWikiTestCase.

Definition at line 30 of file ApiQueryTest.php.

References $wgHooks, global, and hooks.

ApiQueryTest::testTitlePartToKey ( titlePart,
namespace,
expected,
expectException 
)

Test the ApiBase::titlePartToKey function.

Parameters:
string$titlePart
int$namespace
string$expected
string$expectExceptionprovideTestTitlePartToKey

Definition at line 101 of file ApiQueryTest.php.


Member Data Documentation

array ApiQueryTest::$hooks [protected]

Storage for $wgHooks.

Definition at line 12 of file ApiQueryTest.php.


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