MediaWiki
1.28.0
|
FileRepo FileBackend medium. More...
Static Public Member Functions | |
static | provider_normalizeStoragePath () |
static | provider_testConcatenate () |
static | provider_testCopy () |
static | provider_testCreate () |
provider_testCreate More... | |
static | provider_testDelete () |
static | provider_testDescribe () |
static | provider_testExtensionFromPath () |
static | provider_testGetContentType () |
static | provider_testGetFileContents () |
static | provider_testGetFileHttpUrl () |
static | provider_testGetFileStat () |
static | provider_testGetLocalCopy () |
static | provider_testGetLocalReference () |
static | provider_testIsStoragePath () |
static | provider_testMove () |
static | provider_testParentStoragePath () |
static | provider_testPrepareAndClean () |
static | provider_testSplitStoragePath () |
static | provider_testStore () |
static | provider_testStreamFile () |
Static Public Member Functions inherited from MediaWikiTestCase | |
static | assertNotTag ($matcher, $actual, $message= '', $isHtml=true) |
static | assertTag ($matcher, $actual, $message= '', $isHtml=true) |
Note: we are overriding this method to remove the deprecated error. More... | |
static | getMutableTestUser ($groups=[]) |
Convenience method for getting a mutable test user. More... | |
static | getTestSysop () |
Convenience method for getting an immutable admin test user. More... | |
static | getTestUser ($groups=[]) |
Convenience method for getting an immutable test user. More... | |
static | listTables (Database $db) |
static | prepareServices (Config $bootstrapConfig) |
Prepare service configuration for unit testing. More... | |
static | setUpBeforeClass () |
static | setupTestDB (Database $db, $prefix) |
Creates an empty skeleton of the wiki database by cloning its structure to equivalent tables using the given $prefix. More... | |
static | teardownTestDB () |
Restores MediaWiki to using the table set (table prefix) it was using before setupTestDB() was called. More... | |
static | wfResetOutputBuffersBarrier ($buffer) |
Used as a marker to prevent wfResetOutputBuffers from breaking PHPUnit. More... | |
Public Attributes | |
FSFileBackend | $singleBackend |
Public Attributes inherited from MediaWikiTestCase | |
const | DB_PREFIX = 'unittest_' |
Table name prefixes. More... | |
const | ORA_DB_PREFIX = 'ut_' |
Protected Member Functions | |
setUp () | |
Protected Member Functions inherited from MediaWikiTestCase | |
addTmpFiles ($files) | |
arrayWrap (array $elements) | |
Utility method taking an array of elements and wrapping each element in its own array. More... | |
assertArrayEquals (array $expected, array $actual, $ordered=false, $named=false) | |
Assert that two arrays are equal. More... | |
assertHTMLEquals ($expected, $actual, $msg= '') | |
Put each HTML element on its own line and then equals() the results. More... | |
assertSelect ($table, $fields, $condition, array $expectedRows) | |
Asserts that the given database query yields the rows given by $expectedRows. More... | |
assertType ($type, $actual, $message= '') | |
Asserts the type of the provided value. More... | |
assertTypeOrValue ($type, $actual, $value=false, $message= '') | |
Asserts that the provided variable is of the specified internal type or equals the $value argument. More... | |
assertValidHtmlDocument ($html) | |
Asserts that the given string is valid HTML document. More... | |
assertValidHtmlSnippet ($html) | |
Asserts that the given string is a valid HTML snippet. More... | |
checkDbIsSupported () | |
checkPHPExtension ($extName) | |
Check if $extName is a loaded PHP extension, will skip the test whenever it is not loaded. More... | |
getDefaultWikitextNS () | |
Returns the ID of a namespace that defaults to Wikitext. More... | |
getNewTempDirectory () | |
obtains a new temporary directory More... | |
getNewTempFile () | |
Obtains a new temporary file name. More... | |
insertPage ($pageName, $text= 'Sample page for unit test.', $namespace=null) | |
Insert a new page. More... | |
isWikitextNS ($ns) | |
Returns true if the given namespace defaults to Wikitext according to $wgNamespaceContentModels. More... | |
markTestSkippedIfNoDiff3 () | |
Check, if $wgDiff3 is set and ready to merge Will mark the calling test as skipped, if not ready. More... | |
mergeMwGlobalArrayValue ($name, $values) | |
Merges the given values into a MW global array variable. More... | |
objectAssociativeSort (array &$array) | |
Does an associative sort that works for objects. More... | |
overrideMwServices (Config $configOverrides=null, array $services=[]) | |
Stashes the global instance of MediaWikiServices, and installs a new one, allowing test cases to override settings and services. More... | |
setLogger ($channel, LoggerInterface $logger) | |
Sets the logger for a specified channel, for the duration of the test. More... | |
setMwGlobals ($pairs, $value=null) | |
setService ($name, $object) | |
Sets a service, maintaining a stashed version of the previous service to be restored in tearDown. More... | |
setTemporaryHook ($hookName, $handler) | |
Create a temporary hook handler which will be reset by tearDown. More... | |
setUp () | |
stashMwGlobals ($globalKeys) | |
Stashes the global, will be restored in tearDown() More... | |
tearDown () | |
Static Private Member Functions | |
static | baseStorePath () |
Private Attributes | |
FileBackend | $backend |
FileBackendMultiWrite | $multiBackend |
Static Private Attributes | |
static | $backendToUse |
Additional Inherited Members | |
Static Public Attributes inherited from MediaWikiTestCase | |
static TestUser[] | $users |
Static Protected Member Functions inherited from MediaWikiTestCase | |
static | getExternalStoreDatabaseConnections () |
Gets master database connections for all of the ExternalStoreDB stores configured in $wgDefaultExternalStore. More... | |
static | isUsingExternalStoreDB () |
Check whether ExternalStoreDB is being used. More... | |
static | resetGlobalServices (Config $bootstrapConfig=null) |
Reset global services, and install testing environment. More... | |
static | setupDatabaseWithTestPrefix (Database $db, $prefix) |
Setups a database with the given prefix. More... | |
static | setupExternalStoreTestDBs ($testPrefix) |
Clones the External Store database(s) for testing. More... | |
static | stripStringKeys (&$r) |
Utility function for eliminating all string keys from an array. More... | |
Protected Attributes inherited from MediaWikiTestCase | |
Database | $db |
Primary database. More... | |
array | $supportedDBs |
array | $tablesUsed = [] |
FileRepo FileBackend medium.
Definition at line 8 of file FileBackendTest.php.
FileBackendTest::assertBackendPathsConsistent | ( | array | $paths | ) |
Definition at line 2643 of file FileBackendTest.php.
References $status, and assertGoodStatus().
Referenced by doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestMove(), and doTestStore().
FileBackendTest::assertGoodStatus | ( | StatusValue | $status, |
$msg | |||
) |
Definition at line 2650 of file FileBackendTest.php.
References StatusValue\getErrors().
Referenced by assertBackendPathsConsistent(), doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestDoOperations(), doTestDoOperationsPipeline(), doTestDoQuickOperations(), doTestGetDirectoryList(), doTestGetFileContents(), doTestGetFileHttpUrl(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalReference(), doTestMove(), doTestPrepareAndClean(), doTestRecursiveClean(), doTestStore(), doTestStreamFile(), and doTestStreamFileRange().
|
private |
Definition at line 86 of file FileBackendTest.php.
Referenced by doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestDoQuickOperations(), doTestGetDirectoryList(), doTestGetFileContents(), doTestGetFileHttpUrl(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalCopyAndReference404(), doTestGetLocalReference(), doTestLockCalls(), doTestMove(), doTestPrepareAndClean(), doTestRecursiveClean(), doTestStore(), doTestStreamFile(), and doTestStreamFileRange().
|
staticprivate |
Definition at line 82 of file FileBackendTest.php.
|
private |
Definition at line 2617 of file FileBackendTest.php.
Referenced by doTestDoOperations(), doTestDoOperationsFailing(), doTestDoOperationsPipeline(), doTestGetFileStat(), doTestStreamFile(), and doTestStreamFileRange().
|
private |
Definition at line 2630 of file FileBackendTest.php.
Referenced by tearDownFiles().
|
private |
Definition at line 946 of file FileBackendTest.php.
References $params, $source, $status, as, assertGoodStatus(), backendClass(), MediaWikiTestCase\getNewTempFile(), and prepare().
Referenced by testConcatenate().
|
private |
Definition at line 303 of file FileBackendTest.php.
References $source, $status, assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testCopy().
|
private |
Definition at line 739 of file FileBackendTest.php.
References $status, assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testCreate().
|
private |
Definition at line 546 of file FileBackendTest.php.
References $source, $status, assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testDelete().
|
private |
Definition at line 638 of file FileBackendTest.php.
References $source, $status, assertBackendPathsConsistent(), assertGoodStatus(), assertHasHeaders(), FileBackend\ATTR_HEADERS, backendClass(), and prepare().
Referenced by testDescribe().
|
private |
Definition at line 1691 of file FileBackendTest.php.
References $base, $status, assertGoodStatus(), create(), and prepare().
Referenced by testDoOperations().
|
private |
Definition at line 1880 of file FileBackendTest.php.
References $base, $status, create(), and prepare().
Referenced by testDoOperationsFailing().
|
private |
Definition at line 1782 of file FileBackendTest.php.
References $base, $status, MediaWikiTestCase\addTmpFiles(), assertGoodStatus(), create(), TempFSFile\factory(), prepare(), and wfTempDir().
Referenced by testDoOperationsPipeline().
|
private |
Definition at line 859 of file FileBackendTest.php.
References $base, $files, $path, $status, as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testDoQuickOperations().
|
private |
Definition at line 2136 of file FileBackendTest.php.
References $base, $files, $status, as, assertGoodStatus(), backendClass(), listToArray(), and prepare().
Referenced by testGetDirectoryList().
|
private |
Definition at line 1249 of file FileBackendTest.php.
References $content, $path, $source, $status, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testGetFileContents().
|
private |
Definition at line 1516 of file FileBackendTest.php.
References $content, $source, $status, assertGoodStatus(), backendClass(), prepare(), and Http\request().
Referenced by testGetFileHttpUrl().
|
private |
Definition at line 1957 of file FileBackendTest.php.
References $base, $files, $status, as, assertGoodStatus(), backendClass(), listToArray(), and prepare().
Referenced by testGetFileList().
|
private |
Definition at line 1073 of file FileBackendTest.php.
References $content, $path, $status, $time, assertGoodStatus(), backendClass(), create(), prepare(), TS_UNIX, and wfTimestamp().
Referenced by testGetFileStat().
|
private |
Definition at line 1321 of file FileBackendTest.php.
References $content, $path, $source, $status, MediaWikiTestCase\$tmpFiles, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testGetLocalCopy().
FileBackendTest::doTestGetLocalCopyAndReference404 | ( | ) |
Definition at line 1486 of file FileBackendTest.php.
References $base, and backendClass().
Referenced by testGetLocalCopyAndReference404().
|
private |
Definition at line 1407 of file FileBackendTest.php.
References $content, $path, $source, $status, MediaWikiTestCase\$tmpFiles, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testGetLocalReference().
|
private |
Definition at line 2346 of file FileBackendTest.php.
References $status, backendClass(), LockManager\LOCK_EX, LockManager\LOCK_SH, StatusValue\newGood(), ScopedLock\release(), and true.
Referenced by testLockCalls().
|
private |
Definition at line 424 of file FileBackendTest.php.
References $source, $status, assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testMove().
|
private |
Definition at line 1571 of file FileBackendTest.php.
References $path, $status, assertGoodStatus(), backendClass(), and prepare().
Referenced by testPrepareAndClean().
|
private |
Definition at line 1632 of file FileBackendTest.php.
References $base, $dir, $dirs, $status, as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testRecursiveClean().
|
private |
Definition at line 230 of file FileBackendTest.php.
References $source, $status, assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), FSFile\getPropsFromPath(), and prepare().
Referenced by testStore().
|
private |
Definition at line 1149 of file FileBackendTest.php.
References $content, $path, $status, assertGoodStatus(), backendClass(), create(), and prepare().
Referenced by testStreamFile().
|
private |
Definition at line 1197 of file FileBackendTest.php.
References $base, $content, $path, $status, as, assertGoodStatus(), backendClass(), create(), and prepare().
Referenced by testStreamFileRange().
|
private |
Definition at line 2607 of file FileBackendTest.php.
Referenced by doTestGetDirectoryList(), and doTestGetFileList().
|
private |
Definition at line 2612 of file FileBackendTest.php.
Referenced by doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestDoOperations(), doTestDoOperationsFailing(), doTestDoOperationsPipeline(), doTestDoQuickOperations(), doTestGetDirectoryList(), doTestGetFileContents(), doTestGetFileHttpUrl(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalReference(), doTestMove(), doTestPrepareAndClean(), doTestRecursiveClean(), doTestStore(), doTestStreamFile(), and doTestStreamFileRange().
|
static |
Definition at line 149 of file FileBackendTest.php.
|
static |
Definition at line 1009 of file FileBackendTest.php.
|
static |
Definition at line 360 of file FileBackendTest.php.
References $source.
|
static |
provider_testCreate
Definition at line 792 of file FileBackendTest.php.
|
static |
Definition at line 586 of file FileBackendTest.php.
References $source.
|
static |
Definition at line 701 of file FileBackendTest.php.
References $source.
|
static |
Definition at line 201 of file FileBackendTest.php.
|
static |
Definition at line 2471 of file FileBackendTest.php.
References false, FileBackendGroup\singleton(), and true.
|
static |
Definition at line 1290 of file FileBackendTest.php.
References $base.
|
static |
Definition at line 1534 of file FileBackendTest.php.
References $base.
|
static |
Definition at line 1122 of file FileBackendTest.php.
|
static |
Definition at line 1375 of file FileBackendTest.php.
References $base.
|
static |
Definition at line 1454 of file FileBackendTest.php.
References $base.
|
static |
Definition at line 99 of file FileBackendTest.php.
|
static |
Definition at line 482 of file FileBackendTest.php.
References $source.
|
static |
Definition at line 179 of file FileBackendTest.php.
|
static |
Definition at line 1560 of file FileBackendTest.php.
|
static |
Definition at line 124 of file FileBackendTest.php.
|
static |
Definition at line 268 of file FileBackendTest.php.
References TempFSFile\factory(), and wfTempDir().
|
static |
Definition at line 1175 of file FileBackendTest.php.
References $base.
|
protected |
Definition at line 18 of file FileBackendTest.php.
References $name, $wgFileBackends, as, FileJournal\factory(), MediaWikiTestCase\getCliArg(), MediaWikiTestCase\getNewTempDirectory(), global, LockManagerGroup\singleton(), wfRandomString(), and wfWikiID().
FileBackendTest::tearDownFiles | ( | ) |
Definition at line 2623 of file FileBackendTest.php.
References as, and deleteFiles().
Referenced by testConcatenate(), testCopy(), testCreate(), testDelete(), testDescribe(), testDoOperations(), testDoOperationsFailing(), testDoOperationsPipeline(), testDoQuickOperations(), testGetDirectoryList(), testGetFileContents(), testGetFileHttpUrl(), testGetFileList(), testGetFileStat(), testGetLocalCopy(), testGetLocalCopyAndReference404(), testGetLocalReference(), testMove(), testPrepareAndClean(), testRecursiveClean(), testStore(), testStreamFile(), and testStreamFileRange().
FileBackendTest::testAsyncWrites | ( | ) |
Definition at line 2528 of file FileBackendTest.php.
References DeferredUpdates\doUpdates(), TestingAccessWrapper\newFromObject(), MediaWikiTestCase\setMwGlobals(), and wfWikiID().
FileBackendTest::testConcatenate | ( | $op, | |
$srcs, | |||
$srcsContent, | |||
$alreadyExists, | |||
$okStatus | |||
) |
provider_testConcatenate
Definition at line 934 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestConcatenate(), and tearDownFiles().
FileBackendTest::testCopy | ( | $op | ) |
provider_testCopy FileBackend::doOperation
Definition at line 291 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestCopy(), and tearDownFiles().
FileBackendTest::testCreate | ( | $op, | |
$alreadyExists, | |||
$okStatus, | |||
$newSize | |||
) |
provider_testCreate FileBackend::doOperation
Definition at line 727 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestCreate(), and tearDownFiles().
FileBackendTest::testDelete | ( | $op, | |
$withSource, | |||
$okStatus | |||
) |
provider_testDelete FileBackend::doOperation
Definition at line 534 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDelete(), and tearDownFiles().
FileBackendTest::testDescribe | ( | $op, | |
$withSource, | |||
$okStatus | |||
) |
provider_testDescribe FileBackend::doOperation
Definition at line 626 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDescribe(), and tearDownFiles().
FileBackendTest::testDoOperations | ( | ) |
Definition at line 1679 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoOperations(), and tearDownFiles().
FileBackendTest::testDoOperationsFailing | ( | ) |
Definition at line 1868 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoOperationsFailing(), and tearDownFiles().
FileBackendTest::testDoOperationsPipeline | ( | ) |
Definition at line 1769 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoOperationsPipeline(), and tearDownFiles().
FileBackendTest::testDoQuickOperations | ( | ) |
FileBackend::doQuickOperations.
Definition at line 849 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoQuickOperations(), and tearDownFiles().
FileBackendTest::testExtensionFromPath | ( | $path, | |
$res | |||
) |
provider_testExtensionFromPath FileBackend::extensionFromPath
Definition at line 196 of file FileBackendTest.php.
References $path, $res, and FileBackend\extensionFromPath().
FileBackendTest::testGetContentType | ( | $mimeCallback, | |
$mimeFromString | |||
) |
provider_testGetContentType
Definition at line 2445 of file FileBackendTest.php.
References $IP, global, and TestingAccessWrapper\newFromObject().
FileBackendTest::testGetDirectoryList | ( | ) |
FileBackend::getTopDirectoryList FileBackend::getDirectoryList.
Definition at line 2124 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestGetDirectoryList(), and tearDownFiles().
FileBackendTest::testGetFileContents | ( | $source, | |
$content | |||
) |
provider_testGetFileContents FileBackend::getFileContents FileBackend::getFileContentsMulti
Definition at line 1237 of file FileBackendTest.php.
References $content, $multiBackend, $singleBackend, $source, doTestGetFileContents(), and tearDownFiles().
FileBackendTest::testGetFileHttpUrl | ( | $source, | |
$content | |||
) |
provider_testGetFileHttpUrl FileBackend::getFileHttpUrl
Definition at line 1504 of file FileBackendTest.php.
References $content, $multiBackend, $singleBackend, $source, doTestGetFileHttpUrl(), and tearDownFiles().
FileBackendTest::testGetFileList | ( | ) |
Definition at line 1945 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestGetFileList(), and tearDownFiles().
FileBackendTest::testGetFileStat | ( | $path, | |
$content, | |||
$alreadyExists | |||
) |
provider_testGetFileStat FileBackend::getFileStat
Definition at line 1061 of file FileBackendTest.php.
References $content, $multiBackend, $path, $singleBackend, doTestGetFileStat(), and tearDownFiles().
FileBackendTest::testGetLocalCopy | ( | $source, | |
$content | |||
) |
provider_testGetLocalCopy FileBackend::getLocalCopy
Definition at line 1309 of file FileBackendTest.php.
References $content, $multiBackend, $singleBackend, $source, doTestGetLocalCopy(), and tearDownFiles().
FileBackendTest::testGetLocalCopyAndReference404 | ( | ) |
FileBackend::getLocalCopy FileBackend::getLocalReference.
Definition at line 1474 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestGetLocalCopyAndReference404(), and tearDownFiles().
FileBackendTest::testGetLocalReference | ( | $source, | |
$content | |||
) |
provider_testGetLocalReference FileBackend::getLocalReference
Definition at line 1395 of file FileBackendTest.php.
References $content, $multiBackend, $singleBackend, $source, doTestGetLocalReference(), and tearDownFiles().
FileBackendTest::testIsStoragePath | ( | $path, | |
$isStorePath | |||
) |
provider_testIsStoragePath FileBackend::isStoragePath
Definition at line 94 of file FileBackendTest.php.
References $path, and FileBackend\isStoragePath().
FileBackendTest::testLockCalls | ( | ) |
FileBackend::lockFiles FileBackend::unlockFiles.
Definition at line 2341 of file FileBackendTest.php.
References $singleBackend, and doTestLockCalls().
FileBackendTest::testMove | ( | $op | ) |
provider_testMove FileBackend::doOperation
Definition at line 412 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestMove(), and tearDownFiles().
FileBackendTest::testNormalizeStoragePath | ( | $path, | |
$res | |||
) |
provider_normalizeStoragePath FileBackend::normalizeStoragePath
Definition at line 144 of file FileBackendTest.php.
References $path, $res, and FileBackend\normalizeStoragePath().
FileBackendTest::testParentStoragePath | ( | $path, | |
$res | |||
) |
provider_testParentStoragePath FileBackend::parentStoragePath
Definition at line 174 of file FileBackendTest.php.
References $path, $res, and FileBackend\parentStoragePath().
FileBackendTest::testPrepareAndClean | ( | $path, | |
$isOK | |||
) |
provider_testPrepareAndClean FileBackend::prepare FileBackend::clean
Definition at line 1550 of file FileBackendTest.php.
References $multiBackend, $path, $singleBackend, doTestPrepareAndClean(), and tearDownFiles().
FileBackendTest::testReadAffinity | ( | ) |
Definition at line 2478 of file FileBackendTest.php.
References TestingAccessWrapper\newFromObject(), and wfWikiID().
FileBackendTest::testRecursiveClean | ( | ) |
Definition at line 1619 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestRecursiveClean(), and tearDownFiles().
FileBackendTest::testSanitizeOpHeaders | ( | ) |
Definition at line 2575 of file FileBackendTest.php.
References $name, FileBackend\makeContentDisposition(), TestingAccessWrapper\newFromObject(), wfRandomString(), and wfWikiID().
FileBackendTest::testSplitStoragePath | ( | $path, | |
$res | |||
) |
provider_testSplitStoragePath FileBackend::splitStoragePath
Definition at line 119 of file FileBackendTest.php.
References $path, $res, and FileBackend\splitStoragePath().
FileBackendTest::testStore | ( | $op | ) |
provider_testStore
Definition at line 213 of file FileBackendTest.php.
References $multiBackend, $singleBackend, MediaWikiTestCase\addTmpFiles(), doTestStore(), and tearDownFiles().
FileBackendTest::testStreamFile | ( | $path, | |
$content, | |||
$alreadyExists | |||
) |
provider_testGetFileStat FileBackend::streamFile
Definition at line 1137 of file FileBackendTest.php.
References $content, $multiBackend, $path, $singleBackend, doTestStreamFile(), and tearDownFiles().
FileBackendTest::testStreamFileRange | ( | ) |
Definition at line 1185 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestStreamFileRange(), and tearDownFiles().
|
private |
Definition at line 11 of file FileBackendTest.php.
|
staticprivate |
Definition at line 16 of file FileBackendTest.php.
|
private |
Definition at line 13 of file FileBackendTest.php.
Referenced by testConcatenate(), testCopy(), testCreate(), testDelete(), testDescribe(), testDoOperations(), testDoOperationsFailing(), testDoOperationsPipeline(), testDoQuickOperations(), testGetDirectoryList(), testGetFileContents(), testGetFileHttpUrl(), testGetFileList(), testGetFileStat(), testGetLocalCopy(), testGetLocalCopyAndReference404(), testGetLocalReference(), testMove(), testPrepareAndClean(), testRecursiveClean(), testStore(), testStreamFile(), and testStreamFileRange().
FSFileBackend FileBackendTest::$singleBackend |
Definition at line 15 of file FileBackendTest.php.
Referenced by testConcatenate(), testCopy(), testCreate(), testDelete(), testDescribe(), testDoOperations(), testDoOperationsFailing(), testDoOperationsPipeline(), testDoQuickOperations(), testGetDirectoryList(), testGetFileContents(), testGetFileHttpUrl(), testGetFileList(), testGetFileStat(), testGetLocalCopy(), testGetLocalCopyAndReference404(), testGetLocalReference(), testLockCalls(), testMove(), testPrepareAndClean(), testRecursiveClean(), testStore(), testStreamFile(), and testStreamFileRange().