MediaWiki  master
ApiQueryInfoTest Class Reference

API medium Database. More...

Inheritance diagram for ApiQueryInfoTest:
Collaboration diagram for ApiQueryInfoTest:

Public Member Functions

 testExecute ()
 execute ::extractPageInfo More...
 
 testExecuteEditActions ()
 execute ::extractPageInfo More...
 
 testExecuteEditActionsFull ()
 execute ::extractPageInfo More...
 
 testExecuteEditActionsFullBlock ()
 execute ::extractPageInfo More...
 
- Public Member Functions inherited from ApiTestCase
 testApiTestGroup ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ApiTestCase
static apiExceptionHasCode (ApiUsageException $ex, $code)
 
- Protected Member Functions inherited from ApiTestCase
 doApiRequest (array $params, array $session=null, $appendModule=false, User $user=null, $tokenType=null)
 Does the API request and returns the result. More...
 
 doApiRequestWithToken (array $params, array $session=null, User $user=null, $tokenType='auto')
 Convenience function to access the token parameter of doApiRequest() more succinctly. More...
 
 doLogin ( $testUser=null)
 Previously this would do API requests to log in, as well as setting $wgUser and the request context's user. More...
 
 getTokenList (TestUser $user, $session=null)
 
 setExpectedApiException ( $msg, $code=null, array $data=null, $httpCode=0)
 Expect an ApiUsageException to be thrown with the given parameters, which are the same as ApiUsageException::newWithMessage()'s parameters. More...
 
 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()
 
- Static Protected Member Functions inherited from ApiTestCase
static getErrorFormatter ()
 
- Protected Attributes inherited from ApiTestCase
ApiTestContext $apiContext
 
- Static Protected Attributes inherited from ApiTestCase
static $apiUrl
 
static $errorFormatter = null
 

Detailed Description

API medium Database.

ApiQueryInfo

Definition at line 12 of file ApiQueryInfoTest.php.

Member Function Documentation

◆ testExecute()

ApiQueryInfoTest::testExecute ( )

execute ::extractPageInfo

Definition at line 18 of file ApiQueryInfoTest.php.

References $title, ApiTestCase\doApiRequest(), list, and wfTimestamp().

◆ testExecuteEditActions()

ApiQueryInfoTest::testExecuteEditActions ( )

execute ::extractPageInfo

Definition at line 51 of file ApiQueryInfoTest.php.

References $title, ApiTestCase\doApiRequest(), and list.

◆ testExecuteEditActionsFull()

ApiQueryInfoTest::testExecuteEditActionsFull ( )

execute ::extractPageInfo

Definition at line 76 of file ApiQueryInfoTest.php.

References $title, ApiTestCase\doApiRequest(), and list.

◆ testExecuteEditActionsFullBlock()

ApiQueryInfoTest::testExecuteEditActionsFullBlock ( )

execute ::extractPageInfo

Definition at line 103 of file ApiQueryInfoTest.php.

References $title, ApiTestCase\doApiRequest(), MediaWiki\Block\DatabaseBlock\insert(), list, and null.


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