|
MediaWiki
REL1_23
|


Public Member Functions | |
| teststore () | |
| FileRepo::store | |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
Protected Attributes | |
| $createdFiles | |
| $date | |
| FileRepo | $repo |
| * | |
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. | |
FileRepo medium
Definition at line 7 of file StoreBatchTest.php.
| StoreBatchTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 13 of file StoreBatchTest.php.
References $name, array(), as, FileRepo, MediaWikiTestCase\getCliArg(), global, LockManagerGroup\singleton(), wfTempDir(), and wfWikiID().
| StoreBatchTest::storecohort | ( | $ | fn, |
| $ | infn, | ||
| $ | otherfn, | ||
| $ | fromrepo | ||
| ) | [private] |
Test storing a file using different flags.
| $fn | string The title of the image |
| $infn | string The name of the file (in the filesystem) |
| $otherfn | string The name of the different file (in the filesystem) |
| $fromrepo | bool 'true' if we want to copy from a virtual URL out of the Repo. |
Definition at line 92 of file StoreBatchTest.php.
| StoreBatchTest::storeit | ( | $ | originalName, |
| $ | srcPath, | ||
| $ | flags | ||
| ) | [private] |
Store a file or virtual URL source into a media file name.
| $originalName | string The title of the image |
| $srcPath | string The filepath or virtual URL |
| $flags | integer Flags to pass into repo::store(). |
Definition at line 72 of file StoreBatchTest.php.
| StoreBatchTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 53 of file StoreBatchTest.php.
References array(), as, and FileBackend\parentStoragePath().
Definition at line 130 of file StoreBatchTest.php.
StoreBatchTest::$createdFiles [protected] |
Definition at line 9 of file StoreBatchTest.php.
StoreBatchTest::$date [protected] |
Definition at line 10 of file StoreBatchTest.php.
FileRepo StoreBatchTest::$repo [protected] |
*
Definition at line 11 of file StoreBatchTest.php.