MediaWiki  REL1_20
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 35 of file ApiUploadTest.php.

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

testLogin

Definition at line 85 of file ApiUploadTest.php.

References ApiTestCase\doApiRequestWithToken().

testLogin

Definition at line 69 of file ApiUploadTest.php.

References ApiTestCase\doApiRequest().


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