MediaWiki
1.23.2
|
@group FileRepo @group FileBackend @group medium More...
Public Member Functions | |
assertBackendPathsConsistent (array $paths) | |
assertGoodStatus ( $status, $msg) | |
doTestGetLocalCopyAndReference404 () | |
tearDownFiles () | |
testConcatenate ( $op, $srcs, $srcsContent, $alreadyExists, $okStatus) | |
@dataProvider provider_testConcatenate More... | |
testCopy ( $op) | |
@dataProvider provider_testCopy @covers FileBackend::doOperation More... | |
testCreate ( $op, $alreadyExists, $okStatus, $newSize) | |
@dataProvider provider_testCreate @covers FileBackend::doOperation More... | |
testDelete ( $op, $withSource, $okStatus) | |
@dataProvider provider_testDelete @covers FileBackend::doOperation More... | |
testDescribe ( $op, $withSource, $okStatus) | |
@dataProvider provider_testDescribe @covers FileBackend::doOperation More... | |
testDoOperations () | |
@covers FileBackend::doOperations More... | |
testDoOperationsFailing () | |
@covers FileBackend::doOperations More... | |
testDoOperationsPipeline () | |
@covers FileBackend::doOperations More... | |
testDoQuickOperations () | |
@covers FileBackend::doQuickOperations More... | |
testExtensionFromPath ( $path, $res) | |
@dataProvider provider_testExtensionFromPath @covers FileBackend::extensionFromPath More... | |
testGetDirectoryList () | |
@covers FileBackend::getTopDirectoryList @covers FileBackend::getDirectoryList More... | |
testGetFileContents ( $source, $content) | |
@dataProvider provider_testGetFileContents @covers FileBackend::getFileContents @covers FileBackend::getFileContentsMulti More... | |
testGetFileHttpUrl ( $source, $content) | |
@dataProvider provider_testGetFileHttpUrl @covers FileBackend::getFileHttpUrl More... | |
testGetFileList () | |
@covers FileBackend::getFileList More... | |
testGetFileStat ( $path, $content, $alreadyExists) | |
@dataProvider provider_testGetFileStat @covers FileBackend::getFileStat More... | |
testGetLocalCopy ( $source, $content) | |
@dataProvider provider_testGetLocalCopy @covers FileBackend::getLocalCopy More... | |
testGetLocalCopyAndReference404 () | |
@covers FileBackend::getLocalCopy @covers FileBackend::getLocalReference More... | |
testGetLocalReference ( $source, $content) | |
@dataProvider provider_testGetLocalReference @covers FileBackend::getLocalReference More... | |
testIsStoragePath ( $path, $isStorePath) | |
@dataProvider provider_testIsStoragePath @covers FileBackend::isStoragePath More... | |
testLockCalls () | |
@covers FileBackend::lockFiles @covers FileBackend::unlockFiles More... | |
testMove ( $op) | |
@dataProvider provider_testMove @covers FileBackend::doOperation More... | |
testNormalizeStoragePath ( $path, $res) | |
@dataProvider provider_normalizeStoragePath @covers FileBackend::normalizeStoragePath More... | |
testParentStoragePath ( $path, $res) | |
@dataProvider provider_testParentStoragePath @covers FileBackend::parentStoragePath More... | |
testPrepareAndClean ( $path, $isOK) | |
@dataProvider provider_testPrepareAndClean @covers FileBackend::prepare @covers FileBackend::clean More... | |
testRecursiveClean () | |
testSplitStoragePath ( $path, $res) | |
@dataProvider provider_testSplitStoragePath @covers FileBackend::splitStoragePath More... | |
testStore ( $op) | |
@dataProvider provider_testStore More... | |
testStreamFile ( $path, $content, $alreadyExists) | |
@dataProvider provider_testGetFileStat @covers FileBackend::streamFile More... | |
Public Member Functions inherited from MediaWikiTestCase | |
__call ( $func, $args) | |
__construct ( $name=null, array $data=array(), $dataName='') | |
addDBData () | |
Stub. More... | |
dbPrefix () | |
getCliArg ( $offset) | |
hideDeprecated ( $function) | |
Don't throw a warning if $function is deprecated and called later. More... | |
needsDB () | |
run (PHPUnit_Framework_TestResult $result=null) | |
setCliArg ( $offset, $value) | |
testMediaWikiTestCaseParentSetupCalled () | |
Make sure MediaWikiTestCase extending classes have called their parent setUp method. More... | |
usesTemporaryTables () | |
Static Public Member Functions | |
static | provider_normalizeStoragePath () |
static | provider_testConcatenate () |
static | provider_testCopy () |
static | provider_testCreate () |
@dataProvider provider_testCreate More... | |
static | provider_testDelete () |
static | provider_testDescribe () |
static | provider_testExtensionFromPath () |
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 | listTables ( $db) |
static | setupTestDB (DatabaseBase $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... | |
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 | |
arrayWrap (array $elements) | |
Utility method taking an array of elements and wrapping each element in it's own array. More... | |
assertArrayEquals (array $expected, array $actual, $ordered=false, $named=false) | |
Assert that two arrays are equal. More... | |
assertException ( $code, $expected='Exception', $message='') | |
Asserts that an exception of the specified type occurs when running the provided code. 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 () | |
checkHasDiff3 () | |
Check, if $wgDiff3 is set and ready to merge Will mark the calling test as skipped, if not ready. More... | |
checkHasGzip () | |
Check whether we have the 'gzip' commandline utility, will skip the test whenever "gzip -V" fails. More... | |
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... | |
isWikitextNS ( $ns) | |
Returns true if the given namespace defaults to Wikitext according to $wgNamespaceContentModels. 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... | |
setMwGlobals ( $pairs, $value=null) | |
stashMwGlobals ( $globalKeys) | |
Stashes the global, will be restored in tearDown() More... | |
tearDown () | |
Static Private Member Functions | |
static | baseStorePath () |
Private Attributes | |
FileBackend | $backend |
$filesToPrune = array() | |
FileBackendMultiWrite | $multiBackend |
Static Private Attributes | |
static | $backendToUse |
Additional Inherited Members | |
Static Public Attributes inherited from MediaWikiTestCase | |
static | $users |
Static Protected Member Functions inherited from MediaWikiTestCase | |
static | stripStringKeys (&$r) |
Utility function for eliminating all string keys from an array. More... | |
Protected Attributes inherited from MediaWikiTestCase | |
DatabaseBase | $db |
array | $supportedDBs |
array | $tablesUsed = array() |
@group FileRepo @group FileBackend @group medium
Definition at line 8 of file FileBackendTest.php.
FileBackendTest::assertBackendPathsConsistent | ( | array | $paths | ) |
Definition at line 2397 of file FileBackendTest.php.
References assertGoodStatus().
Referenced by doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestMove(), and doTestStore().
FileBackendTest::assertGoodStatus | ( | $status, | |
$msg | |||
) |
Definition at line 2404 of file FileBackendTest.php.
References array().
Referenced by assertBackendPathsConsistent(), doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestDoOperations(), doTestDoOperationsPipeline(), doTestDoQuickOperations(), doTestGetDirectoryList(), doTestGetFileContents(), doTestGetFileHttpUrl(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalReference(), doTestMove(), doTestPrepareAndClean(), doTestRecursiveClean(), doTestStore(), and doTestStreamFile().
Definition at line 696 of file FileBackendTest.php.
Referenced by doTestDescribe().
|
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(), and doTestStreamFile().
|
staticprivate |
Definition at line 82 of file FileBackendTest.php.
Referenced by deleteFiles(), doTestDoOperations(), doTestDoOperationsFailing(), doTestDoOperationsPipeline(), doTestDoQuickOperations(), doTestGetDirectoryList(), doTestGetFileList(), doTestGetLocalCopyAndReference404(), doTestRecursiveClean(), provider_testCopy(), provider_testCreate(), provider_testDelete(), provider_testDescribe(), provider_testGetFileContents(), provider_testGetFileHttpUrl(), provider_testGetFileStat(), provider_testGetLocalCopy(), provider_testGetLocalReference(), provider_testMove(), provider_testPrepareAndClean(), provider_testStore(), and provider_testStreamFile().
|
private |
Definition at line 2365 of file FileBackendTest.php.
References $params, and array().
Referenced by doTestDoOperations(), doTestDoOperationsFailing(), doTestDoOperationsPipeline(), doTestGetFileStat(), and doTestStreamFile().
|
private |
Definition at line 2384 of file FileBackendTest.php.
References $file, array(), as, and baseStorePath().
Referenced by tearDownFiles().
|
private |
Definition at line 959 of file FileBackendTest.php.
References $ok, $params, $source, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testConcatenate().
|
private |
Definition at line 313 of file FileBackendTest.php.
References $source, array(), assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testCopy().
|
private |
Definition at line 748 of file FileBackendTest.php.
References array(), assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testCreate().
|
private |
Definition at line 556 of file FileBackendTest.php.
References $source, array(), assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testDelete().
|
private |
Definition at line 648 of file FileBackendTest.php.
References $source, array(), assertBackendPathsConsistent(), assertGoodStatus(), assertHasHeaders(), FileBackend\ATTR_HEADERS, backendClass(), and prepare().
Referenced by testDescribe().
|
private |
Definition at line 1618 of file FileBackendTest.php.
References array(), assertGoodStatus(), baseStorePath(), create(), prepare(), and wfBaseConvert().
Referenced by testDoOperations().
|
private |
Definition at line 1810 of file FileBackendTest.php.
References array(), baseStorePath(), create(), prepare(), and wfBaseConvert().
Referenced by testDoOperationsFailing().
|
private |
Definition at line 1709 of file FileBackendTest.php.
References array(), assertGoodStatus(), baseStorePath(), create(), TempFSFile\factory(), file, prepare(), and wfBaseConvert().
Referenced by testDoOperationsPipeline().
|
private |
Definition at line 868 of file FileBackendTest.php.
References $file, $files, $path, array(), as, assertGoodStatus(), backendClass(), baseStorePath(), and prepare().
Referenced by testDoQuickOperations().
|
private |
Definition at line 2055 of file FileBackendTest.php.
References $file, $files, array(), as, assertGoodStatus(), backendClass(), baseStorePath(), listToArray(), and prepare().
Referenced by testGetDirectoryList().
|
private |
Definition at line 1216 of file FileBackendTest.php.
References $path, $source, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testGetFileContents().
|
private |
Definition at line 1443 of file FileBackendTest.php.
References $source, array(), assertGoodStatus(), backendClass(), prepare(), and Http\request().
Referenced by testGetFileHttpUrl().
|
private |
Definition at line 1887 of file FileBackendTest.php.
References $file, $files, array(), as, assertGoodStatus(), backendClass(), baseStorePath(), listToArray(), and prepare().
Referenced by testGetFileList().
|
private |
Definition at line 1088 of file FileBackendTest.php.
References $path, $size, $time, array(), assertGoodStatus(), backendClass(), create(), prepare(), TS_UNIX, and wfTimestamp().
Referenced by testGetFileStat().
|
private |
Definition at line 1276 of file FileBackendTest.php.
References $path, $source, MediaWikiTestCase\$tmpFiles, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testGetLocalCopy().
FileBackendTest::doTestGetLocalCopyAndReference404 | ( | ) |
Definition at line 1413 of file FileBackendTest.php.
References array(), backendClass(), and baseStorePath().
Referenced by testGetLocalCopyAndReference404().
|
private |
Definition at line 1346 of file FileBackendTest.php.
References $path, $source, MediaWikiTestCase\$tmpFiles, array(), as, assertGoodStatus(), backendClass(), and prepare().
Referenced by testGetLocalReference().
|
private |
Definition at line 2258 of file FileBackendTest.php.
References array(), MediaWikiTestCase\assertType(), backendClass(), LockManager\LOCK_EX, LockManager\LOCK_SH, Status\newGood(), and ScopedLock\release().
Referenced by testLockCalls().
|
private |
Definition at line 434 of file FileBackendTest.php.
References $source, array(), assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testMove().
|
private |
Definition at line 1498 of file FileBackendTest.php.
References $path, array(), assertGoodStatus(), backendClass(), and prepare().
Referenced by testPrepareAndClean().
|
private |
@covers FileBackend::clean
Definition at line 1559 of file FileBackendTest.php.
References $dir, $dirs, array(), as, assertGoodStatus(), backendClass(), baseStorePath(), and prepare().
Referenced by testRecursiveClean().
|
private |
@covers FileBackend::doOperation
Definition at line 228 of file FileBackendTest.php.
References $source, array(), assertBackendPathsConsistent(), assertGoodStatus(), backendClass(), FSFile\getPropsFromPath(), and prepare().
Referenced by testStore().
|
private |
Definition at line 1159 of file FileBackendTest.php.
References $path, array(), assertGoodStatus(), backendClass(), create(), and prepare().
Referenced by testStreamFile().
|
private |
Definition at line 2355 of file FileBackendTest.php.
Referenced by doTestGetDirectoryList(), and doTestGetFileList().
|
private |
Definition at line 2360 of file FileBackendTest.php.
References $params.
Referenced by doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestDescribe(), doTestDoOperations(), doTestDoOperationsFailing(), doTestDoOperationsPipeline(), doTestDoQuickOperations(), doTestGetDirectoryList(), doTestGetFileContents(), doTestGetFileHttpUrl(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalReference(), doTestMove(), doTestPrepareAndClean(), doTestRecursiveClean(), doTestStore(), and doTestStreamFile().
|
static |
Definition at line 149 of file FileBackendTest.php.
References array().
|
static |
Definition at line 1022 of file FileBackendTest.php.
References $params, array(), and wfTempDir().
|
static |
Definition at line 370 of file FileBackendTest.php.
References $source, array(), and baseStorePath().
|
static |
@dataProvider provider_testCreate
Definition at line 801 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 596 of file FileBackendTest.php.
References $source, array(), and baseStorePath().
|
static |
Definition at line 710 of file FileBackendTest.php.
References $source, array(), and baseStorePath().
|
static |
Definition at line 198 of file FileBackendTest.php.
References array().
|
static |
Definition at line 1245 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 1461 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 1137 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 1314 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 1381 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 99 of file FileBackendTest.php.
References array().
|
static |
Definition at line 492 of file FileBackendTest.php.
References $source, array(), and baseStorePath().
|
static |
Definition at line 176 of file FileBackendTest.php.
References array().
|
static |
Definition at line 1487 of file FileBackendTest.php.
References array(), and baseStorePath().
|
static |
Definition at line 124 of file FileBackendTest.php.
References array().
|
static |
Definition at line 266 of file FileBackendTest.php.
References array(), baseStorePath(), and TempFSFile\factory().
|
static |
Definition at line 1189 of file FileBackendTest.php.
References array(), and baseStorePath().
|
protected |
Reimplemented from MediaWikiTestCase.
Definition at line 16 of file FileBackendTest.php.
References $backendToUse, $name, array(), as, FileJournal\factory(), MediaWikiTestCase\getCliArg(), global, LockManagerGroup\singleton(), wfTempDir(), and wfWikiID().
FileBackendTest::tearDownFiles | ( | ) |
Definition at line 2371 of file FileBackendTest.php.
References $file, array(), 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(), and testStreamFile().
FileBackendTest::testConcatenate | ( | $op, | |
$srcs, | |||
$srcsContent, | |||
$alreadyExists, | |||
$okStatus | |||
) |
@dataProvider provider_testConcatenate
Definition at line 943 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestConcatenate(), file, and tearDownFiles().
FileBackendTest::testCopy | ( | $op | ) |
@dataProvider provider_testCopy @covers FileBackend::doOperation
Definition at line 301 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestCopy(), and tearDownFiles().
FileBackendTest::testCreate | ( | $op, | |
$alreadyExists, | |||
$okStatus, | |||
$newSize | |||
) |
@dataProvider provider_testCreate @covers FileBackend::doOperation
Definition at line 736 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestCreate(), and tearDownFiles().
FileBackendTest::testDelete | ( | $op, | |
$withSource, | |||
$okStatus | |||
) |
@dataProvider provider_testDelete @covers FileBackend::doOperation
Definition at line 544 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDelete(), and tearDownFiles().
FileBackendTest::testDescribe | ( | $op, | |
$withSource, | |||
$okStatus | |||
) |
@dataProvider provider_testDescribe @covers FileBackend::doOperation
Definition at line 636 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDescribe(), and tearDownFiles().
FileBackendTest::testDoOperations | ( | ) |
@covers FileBackend::doOperations
Definition at line 1606 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoOperations(), and tearDownFiles().
FileBackendTest::testDoOperationsFailing | ( | ) |
@covers FileBackend::doOperations
Definition at line 1798 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoOperationsFailing(), and tearDownFiles().
FileBackendTest::testDoOperationsPipeline | ( | ) |
@covers FileBackend::doOperations
Definition at line 1696 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoOperationsPipeline(), and tearDownFiles().
FileBackendTest::testDoQuickOperations | ( | ) |
@covers FileBackend::doQuickOperations
Definition at line 858 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestDoQuickOperations(), and tearDownFiles().
FileBackendTest::testExtensionFromPath | ( | $path, | |
$res | |||
) |
@dataProvider provider_testExtensionFromPath @covers FileBackend::extensionFromPath
Definition at line 193 of file FileBackendTest.php.
References $path, $res, and FileBackend\extensionFromPath().
FileBackendTest::testGetDirectoryList | ( | ) |
@covers FileBackend::getTopDirectoryList @covers FileBackend::getDirectoryList
Definition at line 2043 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestGetDirectoryList(), and tearDownFiles().
FileBackendTest::testGetFileContents | ( | $source, | |
$content | |||
) |
@dataProvider provider_testGetFileContents @covers FileBackend::getFileContents @covers FileBackend::getFileContentsMulti
Definition at line 1204 of file FileBackendTest.php.
References $multiBackend, $singleBackend, $source, doTestGetFileContents(), and tearDownFiles().
FileBackendTest::testGetFileHttpUrl | ( | $source, | |
$content | |||
) |
@dataProvider provider_testGetFileHttpUrl @covers FileBackend::getFileHttpUrl
Definition at line 1431 of file FileBackendTest.php.
References $multiBackend, $singleBackend, $source, doTestGetFileHttpUrl(), and tearDownFiles().
FileBackendTest::testGetFileList | ( | ) |
@covers FileBackend::getFileList
Definition at line 1875 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestGetFileList(), and tearDownFiles().
FileBackendTest::testGetFileStat | ( | $path, | |
$content, | |||
$alreadyExists | |||
) |
@dataProvider provider_testGetFileStat @covers FileBackend::getFileStat
Definition at line 1076 of file FileBackendTest.php.
References $multiBackend, $path, $singleBackend, doTestGetFileStat(), and tearDownFiles().
FileBackendTest::testGetLocalCopy | ( | $source, | |
$content | |||
) |
@dataProvider provider_testGetLocalCopy @covers FileBackend::getLocalCopy
Definition at line 1264 of file FileBackendTest.php.
References $multiBackend, $singleBackend, $source, doTestGetLocalCopy(), and tearDownFiles().
FileBackendTest::testGetLocalCopyAndReference404 | ( | ) |
@covers FileBackend::getLocalCopy @covers FileBackend::getLocalReference
Definition at line 1401 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestGetLocalCopyAndReference404(), and tearDownFiles().
FileBackendTest::testGetLocalReference | ( | $source, | |
$content | |||
) |
@dataProvider provider_testGetLocalReference @covers FileBackend::getLocalReference
Definition at line 1334 of file FileBackendTest.php.
References $multiBackend, $singleBackend, $source, doTestGetLocalReference(), and tearDownFiles().
FileBackendTest::testIsStoragePath | ( | $path, | |
$isStorePath | |||
) |
@dataProvider provider_testIsStoragePath @covers FileBackend::isStoragePath
Definition at line 94 of file FileBackendTest.php.
References $path, and FileBackend\isStoragePath().
FileBackendTest::testLockCalls | ( | ) |
@covers FileBackend::lockFiles @covers FileBackend::unlockFiles
Definition at line 2253 of file FileBackendTest.php.
References $singleBackend, and doTestLockCalls().
FileBackendTest::testMove | ( | $op | ) |
@dataProvider provider_testMove @covers FileBackend::doOperation
Definition at line 422 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestMove(), and tearDownFiles().
FileBackendTest::testNormalizeStoragePath | ( | $path, | |
$res | |||
) |
@dataProvider provider_normalizeStoragePath @covers FileBackend::normalizeStoragePath
Definition at line 144 of file FileBackendTest.php.
References $path, $res, and FileBackend\normalizeStoragePath().
FileBackendTest::testParentStoragePath | ( | $path, | |
$res | |||
) |
@dataProvider provider_testParentStoragePath @covers FileBackend::parentStoragePath
Definition at line 171 of file FileBackendTest.php.
References $path, $res, and FileBackend\parentStoragePath().
FileBackendTest::testPrepareAndClean | ( | $path, | |
$isOK | |||
) |
@dataProvider provider_testPrepareAndClean @covers FileBackend::prepare @covers FileBackend::clean
Definition at line 1477 of file FileBackendTest.php.
References $multiBackend, $path, $singleBackend, doTestPrepareAndClean(), and tearDownFiles().
FileBackendTest::testRecursiveClean | ( | ) |
Definition at line 1546 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestRecursiveClean(), and tearDownFiles().
FileBackendTest::testSplitStoragePath | ( | $path, | |
$res | |||
) |
@dataProvider provider_testSplitStoragePath @covers FileBackend::splitStoragePath
Definition at line 119 of file FileBackendTest.php.
References $path, $res, and FileBackend\splitStoragePath().
FileBackendTest::testStore | ( | $op | ) |
@dataProvider provider_testStore
Definition at line 210 of file FileBackendTest.php.
References $multiBackend, $singleBackend, doTestStore(), file, and tearDownFiles().
FileBackendTest::testStreamFile | ( | $path, | |
$content, | |||
$alreadyExists | |||
) |
@dataProvider provider_testGetFileStat @covers FileBackend::streamFile
Definition at line 1152 of file FileBackendTest.php.
References $path, $singleBackend, doTestStreamFile(), and tearDownFiles().
|
private |
Definition at line 10 of file FileBackendTest.php.
|
staticprivate |
Definition at line 14 of file FileBackendTest.php.
Referenced by setUp().
|
private |
Definition at line 13 of file FileBackendTest.php.
|
private |
Definition at line 11 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(), and testStore().
FSFileBackend FileBackendTest::$singleBackend |
Definition at line 12 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(), and testStreamFile().