|
| 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.
◆ addTables()
static UploadFromUrlTestSuite::addTables |
( |
& |
$tables | ) |
|
|
static |
◆ deleteDirs()
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 110 of file UploadFromUrlTestSuite.php.
References $dir, $dirs, and as.
◆ deleteFiles()
static UploadFromUrlTestSuite::deleteFiles |
( |
|
$files | ) |
|
|
staticprivate |
Delete the specified files, if they exist.
- Parameters
-
array | $files | Full paths to files to delete. |
Definition at line 97 of file UploadFromUrlTestSuite.php.
References as.
◆ setUp()
UploadFromUrlTestSuite::setUp |
( |
| ) |
|
|
protected |
Definition at line 18 of file UploadFromUrlTestSuite.php.
References $context, $GLOBALS, $IP, $messageMemc, $parserMemc, $wgLang, $wgMemc, $wgNamespaceAliases, $wgNamespaceProtection, $wgOut, $wgParser, $wgParserCacheType, $wgParserConf, $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(), and wfWikiID().
◆ setupUploadDir()
UploadFromUrlTestSuite::setupUploadDir |
( |
| ) |
|
|
private |
◆ suite()
static UploadFromUrlTestSuite::suite |
( |
| ) |
|
|
static |
◆ tearDown()
UploadFromUrlTestSuite::tearDown |
( |
| ) |
|
|
protected |
◆ $savedGlobals
UploadFromUrlTestSuite::$savedGlobals = [] |
The documentation for this class was generated from the following file: