|
MediaWiki
REL1_20
|


Public Member Functions | |
| runTokenTest ($user) | |
| testApi () | |
| Test that the API will accept a FauxRequest and execute. | |
| testApiGotCookie () | |
| Broken | |
| testApiListPages () | |
| testApiLoginBadPass () | |
| testApiLoginGoodPass () | |
| testApiLoginNoName () | |
| Test result of attempted login with an empty username. | |
| testGettingToken () | |
| testRequireOnlyOneParameterDefault () | |
| testRequireOnlyOneParameterTrue () | |
| UsageException | |
| testRequireOnlyOneParameterZero () | |
| UsageException | |
| testRunLogin () | |
API Database
Definition at line 7 of file ApiTest.php.
| ApiTest::runTokenTest | ( | $ | user | ) |
Definition at line 250 of file ApiTest.php.
References $keys, $user, and ApiTestCase\getTokenList().
Referenced by testGettingToken().
| ApiTest::testApi | ( | ) |
Test that the API will accept a FauxRequest and execute.
The help action (default) throws a UsageException. Just validate we're getting proper XML
Definition at line 45 of file ApiTest.php.
Definition at line 201 of file ApiTest.php.
References $result, and ApiTestCase\doApiRequest().
Definition at line 71 of file ApiTest.php.
References $result, $user, and ApiTestCase\doApiRequest().
Definition at line 111 of file ApiTest.php.
References $result, $user, and ApiTestCase\doApiRequest().
Test result of attempted login with an empty username.
Definition at line 64 of file ApiTest.php.
References ApiTestCase\doApiRequest().
Definition at line 244 of file ApiTest.php.
References $user, and runTokenTest().
Definition at line 9 of file ApiTest.php.
Definition at line 31 of file ApiTest.php.
Definition at line 20 of file ApiTest.php.
Definition at line 218 of file ApiTest.php.
References ApiTestCase\doApiRequest().