MediaWiki  REL1_20
ApiWatchTest Class Reference

API Database More...

Inheritance diagram for ApiWatchTest:
Collaboration diagram for ApiWatchTest:

List of all members.

Public Member Functions

 getTokens ()
 setUp ()
 testGetRollbackToken ()
 testWatchClear ()
 testWatchEdit
 testWatchDelete ()
 testWatchEdit ()
 testWatchProtect ()
 testWatchRollback ($data)
 Broken Broken because there is currently no revision info in the $pageinfo

Detailed Description

API Database

Todo:
This test suite is severly broken and need a full review

Definition at line 8 of file ApiWatchTest.php.


Member Function Documentation

Reimplemented from ApiTestCase.

Definition at line 10 of file ApiWatchTest.php.

References ApiTestCase\doLogin().

testWatchEdit

Definition at line 46 of file ApiWatchTest.php.

References $page, ApiTestCase\doApiRequest(), and getTokens().

Definition at line 27 of file ApiWatchTest.php.

References ApiTestCase\doApiRequest(), and getTokens().

Broken Broken because there is currently no revision info in the $pageinfo

testGetRollbackToken

Definition at line 133 of file ApiWatchTest.php.

References $keys, ApiTestCase\doApiRequest(), and UsageException\getCodeString().


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