MediaWiki
REL1_22
|
API Database medium More...
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. |
API Database medium
Definition at line 9 of file ApiWatchTest.php.
Definition at line 15 of file ApiWatchTest.php.
References ApiTestCase\getTokenList().
Referenced by testGetRollbackToken(), testWatchClear(), testWatchEdit(), and testWatchProtect().
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().
Definition at line 88 of file ApiWatchTest.php.
References $key, $keys, array(), ApiTestCase\doApiRequest(), getTokens(), and Title\newFromText().
testWatchEdit
Definition at line 40 of file ApiWatchTest.php.
References array(), as, ApiTestCase\doApiRequest(), and getTokens().
Definition at line 21 of file ApiWatchTest.php.
References array(), ApiTestCase\doApiRequest(), and getTokens().
Definition at line 70 of file ApiWatchTest.php.
References array(), ApiTestCase\doApiRequest(), and getTokens().
ApiWatchTest::testWatchRollback | ( | $ | data | ) |
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().