MediaWiki  REL1_22
ApiUploadTest Class Reference

API Database More...

Inheritance diagram for ApiUploadTest:
Collaboration diagram for ApiUploadTest:

List of all members.

Public Member Functions

 testLogin ()
 Testing login XXX this is a funny way of getting session context.
 testUpload ($session)
 testLogin
 testUploadChunks ($session)
 testLogin
 testUploadMissingParams ($session)
 testLogin
 testUploadRequiresToken ($session)
 testLogin
 testUploadSameContent ($session)
 testLogin
 testUploadSameFileName ($session)
 testLogin
 testUploadStash ($session)
 testLogin
 testUploadZeroLength ($session)
 testLogin

Detailed Description

API Database

n.b. Ensure that you can write to the images/ directory as the user that will run tests. Database Broken Broken test, reports false errors from time to time. See https://bugzilla.wikimedia.org/26169

This is pretty sucky... needs to be prettified.

Definition at line 29 of file ApiUploadTest.php.


Member Function Documentation

Testing login XXX this is a funny way of getting session context.

Definition at line 34 of file ApiUploadTest.php.

References $params, $result, $user, array(), ApiTestCase\doApiRequest(), and list.

testLogin

Definition at line 84 of file ApiUploadTest.php.

References array(), ApiTestCase\doApiRequestWithToken(), and user.

testLogin

Definition at line 68 of file ApiUploadTest.php.

References array(), and ApiTestCase\doApiRequest().


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