MediaWiki
REL1_19
|
Public Member Functions | |
doTestConcatenate ($params, $srcs, $srcsContent, $alreadyExists, $okStatus) | |
doTestCopy ($op) | |
doTestDoOperations () | |
doTestDoOperationsFailing () | |
doTestGetFileContents ($source, $content) | |
doTestGetLocalCopy ($source, $content) | |
doTestPrepareAndClean ($path, $isOK) | |
doTestStore ($op) | |
provider_normalizeStoragePath () | |
provider_testConcatenate () | |
provider_testCopy () | |
provider_testCreate () | |
provider_testCreate | |
provider_testDelete () | |
provider_testExtensionFromPath () | |
provider_testGetFileContents () | |
provider_testGetFileStat () | |
provider_testGetLocalCopy () | |
provider_testGetLocalReference () | |
provider_testIsStoragePath () | |
provider_testMove () | |
provider_testParentStoragePath () | |
provider_testPrepareAndClean () | |
provider_testSplitStoragePath () | |
provider_testStore () | |
setUp () | |
tearDown () | |
tearDownFiles () | |
testConcatenate ($op, $srcs, $srcsContent, $alreadyExists, $okStatus) | |
provider_testConcatenate | |
testCopy ($op) | |
provider_testCopy | |
testCreate ($op, $alreadyExists, $okStatus, $newSize) | |
provider_testCreate | |
testDelete ($op, $withSource, $okStatus) | |
provider_testDelete | |
testDoOperations () | |
testExtensionFromPath ($path, $res) | |
provider_testExtensionFromPath | |
testGetFileContents ($source, $content) | |
provider_testGetFileContents | |
testGetFileList () | |
testGetFileStat ($path, $content, $alreadyExists) | |
provider_testGetFileStat | |
testGetLocalCopy ($source, $content) | |
provider_testGetLocalCopy | |
testGetLocalReference ($source, $content) | |
provider_testGetLocalReference | |
testIsStoragePath ($path, $isStorePath) | |
provider_testIsStoragePath | |
testMove ($op) | |
provider_testMove | |
testNormalizeStoragePath ($path, $res) | |
provider_normalizeStoragePath | |
testParentStoragePath ($path, $res) | |
provider_testParentStoragePath | |
testPrepareAndClean ($path, $isOK) | |
provider_testPrepareAndClean | |
testSplitStoragePath ($path, $res) | |
provider_testSplitStoragePath | |
testStore ($op) | |
provider_testStore | |
Public Attributes | |
$multiBackend | |
Private Member Functions | |
backendClass () | |
baseStorePath () | |
deleteFiles ($container) | |
doTestCreate ($op, $alreadyExists, $okStatus, $newSize) | |
doTestDelete ($op, $withSource, $okStatus) | |
doTestGetFileList () | |
doTestGetFileStat ($path, $content, $alreadyExists) | |
doTestGetLocalReference ($source, $content) | |
doTestMove ($op) | |
prepare (array $params) | |
recursiveClean ($dir) | |
Private Attributes | |
$backend | |
$dirsToPrune = array() | |
$filesToPrune = array() | |
Static Private Attributes | |
static | $backendToUse |
Definition at line 7 of file FileBackendTest.php.
FileBackendTest::backendClass | ( | ) | [private] |
Definition at line 73 of file FileBackendTest.php.
Referenced by doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestGetFileContents(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalReference(), doTestMove(), doTestPrepareAndClean(), and doTestStore().
FileBackendTest::baseStorePath | ( | ) | [private] |
Definition at line 69 of file FileBackendTest.php.
Referenced by deleteFiles(), doTestDoOperations(), doTestDoOperationsFailing(), doTestGetFileList(), provider_testConcatenate(), provider_testCopy(), provider_testCreate(), provider_testDelete(), provider_testGetFileContents(), provider_testGetFileStat(), provider_testGetLocalCopy(), provider_testGetLocalReference(), provider_testMove(), provider_testPrepareAndClean(), and provider_testStore().
FileBackendTest::deleteFiles | ( | $ | container | ) | [private] |
Definition at line 1337 of file FileBackendTest.php.
References $file, and baseStorePath().
Referenced by tearDownFiles().
FileBackendTest::doTestConcatenate | ( | $ | params, |
$ | srcs, | ||
$ | srcsContent, | ||
$ | alreadyExists, | ||
$ | okStatus | ||
) |
Definition at line 670 of file FileBackendTest.php.
References $ok, backendClass(), and prepare().
Referenced by testConcatenate().
FileBackendTest::doTestCopy | ( | $ | op | ) |
Definition at line 289 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testCopy().
FileBackendTest::doTestCreate | ( | $ | op, |
$ | alreadyExists, | ||
$ | okStatus, | ||
$ | newSize | ||
) | [private] |
Definition at line 547 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testCreate().
FileBackendTest::doTestDelete | ( | $ | op, |
$ | withSource, | ||
$ | okStatus | ||
) | [private] |
Definition at line 466 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testDelete().
Definition at line 1050 of file FileBackendTest.php.
References baseStorePath(), prepare(), and wfBaseConvert().
Referenced by testDoOperations().
Definition at line 1122 of file FileBackendTest.php.
References baseStorePath(), prepare(), and wfBaseConvert().
Referenced by testDoOperations().
FileBackendTest::doTestGetFileContents | ( | $ | source, |
$ | content | ||
) |
Definition at line 859 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testGetFileContents().
FileBackendTest::doTestGetFileList | ( | ) | [private] |
Definition at line 1196 of file FileBackendTest.php.
References $file, $files, backendClass(), baseStorePath(), and prepare().
Referenced by testGetFileList().
FileBackendTest::doTestGetFileStat | ( | $ | path, |
$ | content, | ||
$ | alreadyExists | ||
) | [private] |
Definition at line 798 of file FileBackendTest.php.
References $path, $size, backendClass(), prepare(), and wfTimestamp().
Referenced by testGetFileStat().
FileBackendTest::doTestGetLocalCopy | ( | $ | source, |
$ | content | ||
) |
Definition at line 904 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testGetLocalCopy().
FileBackendTest::doTestGetLocalReference | ( | $ | source, |
$ | content | ||
) | [private] |
Definition at line 947 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testGetLocalReference().
FileBackendTest::doTestMove | ( | $ | op | ) | [private] |
Definition at line 377 of file FileBackendTest.php.
References backendClass(), and prepare().
Referenced by testMove().
FileBackendTest::doTestPrepareAndClean | ( | $ | path, |
$ | isOK | ||
) |
Definition at line 998 of file FileBackendTest.php.
References $path, backendClass(), and prepare().
Referenced by testPrepareAndClean().
FileBackendTest::doTestStore | ( | $ | op | ) |
Definition at line 207 of file FileBackendTest.php.
References backendClass(), FSFile\getPropsFromPath(), and prepare().
Referenced by testStore().
FileBackendTest::prepare | ( | array $ | params | ) | [private] |
Definition at line 1318 of file FileBackendTest.php.
Referenced by doTestConcatenate(), doTestCopy(), doTestCreate(), doTestDelete(), doTestDoOperations(), doTestDoOperationsFailing(), doTestGetFileContents(), doTestGetFileList(), doTestGetFileStat(), doTestGetLocalCopy(), doTestGetLocalReference(), doTestMove(), doTestPrepareAndClean(), and doTestStore().
Definition at line 133 of file FileBackendTest.php.
Definition at line 733 of file FileBackendTest.php.
References baseStorePath(), and wfTempDir().
Definition at line 330 of file FileBackendTest.php.
References baseStorePath().
provider_testCreate
Definition at line 598 of file FileBackendTest.php.
References baseStorePath().
Definition at line 504 of file FileBackendTest.php.
References baseStorePath().
Definition at line 180 of file FileBackendTest.php.
Definition at line 879 of file FileBackendTest.php.
References baseStorePath().
Definition at line 833 of file FileBackendTest.php.
References baseStorePath().
Definition at line 922 of file FileBackendTest.php.
References baseStorePath().
Definition at line 965 of file FileBackendTest.php.
References baseStorePath().
Definition at line 85 of file FileBackendTest.php.
Definition at line 419 of file FileBackendTest.php.
References baseStorePath().
Definition at line 159 of file FileBackendTest.php.
Definition at line 988 of file FileBackendTest.php.
References baseStorePath().
Definition at line 109 of file FileBackendTest.php.
Definition at line 243 of file FileBackendTest.php.
References baseStorePath(), and TempFSFile\factory().
FileBackendTest::recursiveClean | ( | $ | dir | ) | [private] |
Definition at line 1347 of file FileBackendTest.php.
References $dir, and FileBackend\parentStoragePath().
Referenced by tearDownFiles().
Definition at line 13 of file FileBackendTest.php.
References $backendToUse, $wgFileBackends, MediaWikiTestCase\getCliArg(), and wfTempDir().
Definition at line 1355 of file FileBackendTest.php.
Definition at line 1323 of file FileBackendTest.php.
References $dir, $file, deleteFiles(), and recursiveClean().
Referenced by testConcatenate(), testCopy(), testCreate(), testDelete(), testDoOperations(), testGetFileContents(), testGetFileList(), testGetFileStat(), testGetLocalCopy(), testGetLocalReference(), testMove(), testPrepareAndClean(), and testStore().
FileBackendTest::testConcatenate | ( | $ | op, |
$ | srcs, | ||
$ | srcsContent, | ||
$ | alreadyExists, | ||
$ | okStatus | ||
) |
provider_testConcatenate
Definition at line 655 of file FileBackendTest.php.
References doTestConcatenate(), and tearDownFiles().
FileBackendTest::testCopy | ( | $ | op | ) |
provider_testCopy
Definition at line 277 of file FileBackendTest.php.
References doTestCopy(), and tearDownFiles().
FileBackendTest::testCreate | ( | $ | op, |
$ | alreadyExists, | ||
$ | okStatus, | ||
$ | newSize | ||
) |
provider_testCreate
Definition at line 535 of file FileBackendTest.php.
References doTestCreate(), and tearDownFiles().
FileBackendTest::testDelete | ( | $ | op, |
$ | withSource, | ||
$ | okStatus | ||
) |
provider_testDelete
Definition at line 454 of file FileBackendTest.php.
References doTestDelete(), and tearDownFiles().
Definition at line 1026 of file FileBackendTest.php.
References doTestDoOperations(), doTestDoOperationsFailing(), and tearDownFiles().
FileBackendTest::testExtensionFromPath | ( | $ | path, |
$ | res | ||
) |
provider_testExtensionFromPath
Definition at line 175 of file FileBackendTest.php.
References $path, $res, and FileBackend\extensionFromPath().
FileBackendTest::testGetFileContents | ( | $ | source, |
$ | content | ||
) |
provider_testGetFileContents
Definition at line 847 of file FileBackendTest.php.
References doTestGetFileContents(), and tearDownFiles().
Definition at line 1184 of file FileBackendTest.php.
References doTestGetFileList(), and tearDownFiles().
FileBackendTest::testGetFileStat | ( | $ | path, |
$ | content, | ||
$ | alreadyExists | ||
) |
provider_testGetFileStat
Definition at line 786 of file FileBackendTest.php.
References $path, doTestGetFileStat(), and tearDownFiles().
FileBackendTest::testGetLocalCopy | ( | $ | source, |
$ | content | ||
) |
provider_testGetLocalCopy
Definition at line 892 of file FileBackendTest.php.
References doTestGetLocalCopy(), and tearDownFiles().
FileBackendTest::testGetLocalReference | ( | $ | source, |
$ | content | ||
) |
provider_testGetLocalReference
Definition at line 935 of file FileBackendTest.php.
References doTestGetLocalReference(), and tearDownFiles().
FileBackendTest::testIsStoragePath | ( | $ | path, |
$ | isStorePath | ||
) |
provider_testIsStoragePath
Definition at line 80 of file FileBackendTest.php.
References $path, and FileBackend\isStoragePath().
FileBackendTest::testMove | ( | $ | op | ) |
provider_testMove
Definition at line 365 of file FileBackendTest.php.
References doTestMove(), and tearDownFiles().
FileBackendTest::testNormalizeStoragePath | ( | $ | path, |
$ | res | ||
) |
provider_normalizeStoragePath
Definition at line 128 of file FileBackendTest.php.
References $path, $res, and FileBackend\normalizeStoragePath().
FileBackendTest::testParentStoragePath | ( | $ | path, |
$ | res | ||
) |
provider_testParentStoragePath
Definition at line 154 of file FileBackendTest.php.
References $path, $res, and FileBackend\parentStoragePath().
FileBackendTest::testPrepareAndClean | ( | $ | path, |
$ | isOK | ||
) |
provider_testPrepareAndClean
Definition at line 978 of file FileBackendTest.php.
References $path, doTestPrepareAndClean(), and tearDownFiles().
FileBackendTest::testSplitStoragePath | ( | $ | path, |
$ | res | ||
) |
provider_testSplitStoragePath
Definition at line 104 of file FileBackendTest.php.
References $path, $res, and FileBackend\splitStoragePath().
FileBackendTest::testStore | ( | $ | op | ) |
provider_testStore
Definition at line 192 of file FileBackendTest.php.
References doTestStore(), and tearDownFiles().
FileBackendTest::$backend [private] |
Definition at line 8 of file FileBackendTest.php.
FileBackendTest::$backendToUse [static, private] |
Definition at line 11 of file FileBackendTest.php.
Referenced by setUp().
FileBackendTest::$dirsToPrune = array() [private] |
Definition at line 10 of file FileBackendTest.php.
FileBackendTest::$filesToPrune = array() [private] |
Definition at line 9 of file FileBackendTest.php.
FileBackendTest::$multiBackend |
Definition at line 8 of file FileBackendTest.php.