MediaWiki  REL1_24
ApiUploadTest Class Reference

API Database medium 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 medium

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 30 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, array(), ApiTestCase\doApiRequest(), and list.

testLogin

Definition at line 85 of file ApiUploadTest.php.

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

testLogin

Definition at line 69 of file ApiUploadTest.php.

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


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