MediaWiki  REL1_22
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 ()
 setUp and tearDown should (where significant) happen in reverse order.

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]

setUp and tearDown should (where significant) happen in reverse order.

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 124 of file ApiWatchTest.php.

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


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