MediaWiki  master
UploadStashTest Class Reference

Database. More...

Inheritance diagram for UploadStashTest:
Collaboration diagram for UploadStashTest:

Public Member Functions

 testExceptionWhenStoreTempFails ()
 
 testT31408 ()
 
 testValidRequestWithInvalidRequests ( $request)
 provideInvalidRequests More...
 
 testValidRequestWithValidRequests ( $request)
 provideValidRequests More...
 

Static Public Member Functions

static provideInvalidRequests ()
 
static provideValidRequests ()
 

Static Public Attributes

static TestUser [] $users
 Array of UploadStashTestUser. More...
 

Protected Member Functions

 setUp ()
 

Private Attributes

string $tmpFile
 

Detailed Description

Database.

UploadStash

Definition at line 8 of file UploadStashTest.php.

Member Function Documentation

◆ provideInvalidRequests()

static UploadStashTest::provideInvalidRequests ( )
static

Definition at line 58 of file UploadStashTest.php.

◆ provideValidRequests()

static UploadStashTest::provideValidRequests ( )
static

Definition at line 74 of file UploadStashTest.php.

◆ setUp()

UploadStashTest::setUp ( )
protected

Definition at line 19 of file UploadStashTest.php.

◆ testExceptionWhenStoreTempFails()

UploadStashTest::testExceptionWhenStoreTempFails ( )

Definition at line 95 of file UploadStashTest.php.

References $e, class, and StatusValue\newFatal().

◆ testT31408()

UploadStashTest::testT31408 ( )
Todo:
give this test a real name explaining what is being tested here

Definition at line 44 of file UploadStashTest.php.

References $file, and RepoGroup\singleton().

◆ testValidRequestWithInvalidRequests()

UploadStashTest::testValidRequestWithInvalidRequests (   $request)

provideInvalidRequests

Definition at line 70 of file UploadStashTest.php.

References $request, and UploadFromStash\isValidRequest().

◆ testValidRequestWithValidRequests()

UploadStashTest::testValidRequestWithValidRequests (   $request)

provideValidRequests

Definition at line 91 of file UploadStashTest.php.

References $request, and UploadFromStash\isValidRequest().

Member Data Documentation

◆ $tmpFile

string UploadStashTest::$tmpFile
private

Definition at line 17 of file UploadStashTest.php.

◆ $users

TestUser [] UploadStashTest::$users
static

Array of UploadStashTestUser.

Definition at line 12 of file UploadStashTest.php.


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