|
| setupUploadDir () |
| Create a dummy uploads directory which will contain a couple of files in order to pass existence tests. More...
|
|
Definition at line 5 of file UploadFromUrlTestSuite.php.
static UploadFromUrlTestSuite::addTables |
( |
& |
$tables | ) |
|
|
static |
static UploadFromUrlTestSuite::deleteDirs |
( |
|
$dirs | ) |
|
|
staticprivate |
Delete the specified directories, if they exist.
Must be empty.
- Parameters
-
array | $dirs | Full paths to directories to delete. |
Definition at line 111 of file UploadFromUrlTestSuite.php.
References $dir, $dirs, and as.
static UploadFromUrlTestSuite::deleteFiles |
( |
|
$files | ) |
|
|
staticprivate |
Delete the specified files, if they exist.
- Parameters
-
array | $files | Full paths to files to delete. |
Definition at line 98 of file UploadFromUrlTestSuite.php.
References $files, and as.
UploadFromUrlTestSuite::setUp |
( |
| ) |
|
|
protected |
Definition at line 18 of file UploadFromUrlTestSuite.php.
References $context, $GLOBALS, $IP, $messageMemc, $parserMemc, $wgLang, $wgMemc, $wgNamespaceAliases, $wgNamespaceProtection, $wgOut, $wgParser, $wgParserCacheType, $wgRequest, $wgStyleDirectory, $wgUser, as, CACHE_NONE, DeferredUpdates\clearPendingUpdates(), FileBackendGroup\destroySingleton(), RepoGroup\destroySingleton(), RequestContext\getMain(), global, NS_FILE, NS_FILE_TALK, NS_MEDIAWIKI, RequestContext\resetMain(), User, wfGetMainCache(), wfGetMessageCacheStorage(), wfGetParserCacheStorage(), and wfWikiID().
UploadFromUrlTestSuite::setupUploadDir |
( |
| ) |
|
|
private |
static UploadFromUrlTestSuite::suite |
( |
| ) |
|
|
static |
UploadFromUrlTestSuite::tearDown |
( |
| ) |
|
|
protected |
UploadFromUrlTestSuite::$savedGlobals = [] |
The documentation for this class was generated from the following file: