|
MediaWiki
REL1_19
|


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 () | |
Definition at line 6 of file ApiTest.php.
| ApiTest::runTokenTest | ( | $ | user | ) |
Definition at line 249 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 44 of file ApiTest.php.
Broken
Definition at line 154 of file ApiTest.php.
References $serverName, $user, $wgScriptPath, $wgServer, and MWHttpRequest\factory().

Definition at line 200 of file ApiTest.php.
References $result, $wgServer, and ApiTestCase\doApiRequest().

Definition at line 70 of file ApiTest.php.
References $result, $user, $wgServer, and ApiTestCase\doApiRequest().

Definition at line 110 of file ApiTest.php.
References $result, $user, $wgServer, and ApiTestCase\doApiRequest().

Test result of attempted login with an empty username.
Definition at line 63 of file ApiTest.php.
References ApiTestCase\doApiRequest().

Definition at line 243 of file ApiTest.php.
References $user, and runTokenTest().

Definition at line 8 of file ApiTest.php.
Definition at line 30 of file ApiTest.php.
Definition at line 19 of file ApiTest.php.
Definition at line 217 of file ApiTest.php.
References ApiTestCase\doApiRequest().
