MediaWiki
master
|
API Database More...
Public Member Functions | |
getTokens () | |
testGetRollbackToken () | |
testWatchClear () | |
testWatchEdit | |
testWatchDelete () | |
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
Definition at line 8 of file ApiWatchTest.php.
Definition at line 15 of file ApiWatchTest.php.
References $keys, and ApiTestCase\getTokenList().
Referenced by testGetRollbackToken(), testWatchClear(), testWatchDelete(), 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 96 of file ApiWatchTest.php.
References $keys, array(), ApiTestCase\doApiRequest(), getTokens(), and Title\newFromText().
testWatchEdit
Definition at line 46 of file ApiWatchTest.php.
References $page, array(), as, ApiTestCase\doApiRequest(), and getTokens().
Definition at line 160 of file ApiWatchTest.php.
References array(), ApiTestCase\doApiRequest(), and getTokens().
Definition at line 27 of file ApiWatchTest.php.
References array(), ApiTestCase\doApiRequest(), and getTokens().
Definition at line 77 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 133 of file ApiWatchTest.php.
References $keys, array(), ApiTestCase\doApiRequest(), fail, and UsageException\getCodeString().