MediaWiki  REL1_19
StoreBatchTest Class Reference

FileRepo More...

Inheritance diagram for StoreBatchTest:
Collaboration diagram for StoreBatchTest:

List of all members.

Public Member Functions

 setUp ()
 tearDown ()
 teststore ()

Private Member Functions

 storecohort ($fn, $infn, $otherfn, $fromrepo)
 Test storing a file using different flags.
 storeit ($originalName, $srcPath, $flags)
 Store a file or virtual URL source into a media file name.

Detailed Description

FileRepo

Definition at line 5 of file StoreBatchTest.php.


Member Function Documentation

Definition at line 7 of file StoreBatchTest.php.

References $wgFileBackends, MediaWikiTestCase\getCliArg(), and wfTempDir().

Here is the call graph for this function:

StoreBatchTest::storecohort ( fn,
infn,
otherfn,
fromrepo 
) [private]

Test storing a file using different flags.

Parameters:
$fnstring The title of the image
$infnstring The name of the file (in the filesystem)
$otherfnstring The name of the different file (in the filesystem)
$fromrepological 'true' if we want to copy from a virtual URL out of the Repo.

Definition at line 71 of file StoreBatchTest.php.

References $f, FileRepo\OVERWRITE, FileRepo\OVERWRITE_SAME, and storeit().

Referenced by teststore().

Here is the call graph for this function:

Here is the caller graph for this function:

StoreBatchTest::storeit ( originalName,
srcPath,
flags 
) [private]

Store a file or virtual URL source into a media file name.

Parameters:
$originalNamestring The title of the image
$srcPathstring The filepath or virtual URL
$flagsinteger Flags to pass into repo::store().

Definition at line 52 of file StoreBatchTest.php.

References $result.

Referenced by storecohort().

Here is the caller graph for this function:

Definition at line 112 of file StoreBatchTest.php.

References FileBackend\parentStoragePath().

Here is the call graph for this function:

Definition at line 106 of file StoreBatchTest.php.

References $IP, and storecohort().

Here is the call graph for this function:


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