MediaWiki  REL1_19
ApiUploadTest Class Reference

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

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 28 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 $result, $user, and ApiTestCase\doApiRequest().

Here is the call graph for this function:

testLogin

Definition at line 84 of file ApiUploadTest.php.

References ApiTestCase\doApiRequestWithToken().

Here is the call graph for this function:

testLogin

Definition at line 68 of file ApiUploadTest.php.

References ApiTestCase\doApiRequest().

Here is the call graph for this function:

testLogin

Definition at line 194 of file ApiUploadTest.php.

References $result, ApiTestCaseUpload\deleteFileByFileName(), ApiTestCase\doApiRequestWithToken(), ApiTestCaseUpload\fakeUploadFile(), and wfTempDir().

Here is the call graph for this function:

testLogin

Definition at line 156 of file ApiUploadTest.php.

References ApiTestCaseUpload\deleteFileByFileName(), ApiTestCase\doApiRequestWithToken(), ApiTestCaseUpload\fakeUploadFile(), and wfTempDir().

Here is the call graph for this function:


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