MediaWiki  REL1_24
ApiWatchTest Class Reference

API Database medium More...

Inheritance diagram for ApiWatchTest:
Collaboration diagram for ApiWatchTest:

List of all members.

Public Member Functions

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

Protected Member Functions

 setUp ()

Detailed Description

API Database medium

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

Definition at line 9 of file ApiWatchTest.php.


Member Function Documentation

ApiWatchTest::setUp ( ) [protected]

Reimplemented from ApiTestCase.

Definition at line 10 of file ApiWatchTest.php.

References ApiTestCase\doLogin().

testWatchEdit

Definition at line 40 of file ApiWatchTest.php.

References array(), as, 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 $key, $keys, array(), ApiTestCase\doApiRequest(), and UsageException\getCodeString().


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