MediaWiki  master
FileBackendDBRepoWrapperTest Class Reference
Inheritance diagram for FileBackendDBRepoWrapperTest:
Collaboration diagram for FileBackendDBRepoWrapperTest:

Public Member Functions

 getBackendPathsProvider ()
 
 testGetBackendPaths ( $mocks, $latest, $dbReadsExpected, $dbReturnValue, $originalPath, $expectedBackendPath, $message)
 getBackendPathsProvider FileBackendDBRepoWrapper::getBackendPaths More...
 
 testGetFileContentsMulti ()
 FileBackendDBRepoWrapper::getFileContentsMulti. More...
 

Protected Member Functions

 getMocks ()
 
- Protected Member Functions inherited from MediaWikiUnitTestCase
 setUp ()
 
 tearDown ()
 

Protected Attributes

 $backendName = 'foo-backend'
 
 $repoName = 'pureTestRepo'
 

Detailed Description

Definition at line 3 of file FileBackendDBRepoWrapperTest.php.

Member Function Documentation

◆ getBackendPathsProvider()

FileBackendDBRepoWrapperTest::getBackendPathsProvider ( )

Definition at line 33 of file FileBackendDBRepoWrapperTest.php.

References $repoName, getMocks(), and null.

◆ getMocks()

FileBackendDBRepoWrapperTest::getMocks ( )
protected

Definition at line 114 of file FileBackendDBRepoWrapperTest.php.

References class, null, and wfWikiID().

Referenced by getBackendPathsProvider(), and testGetFileContentsMulti().

◆ testGetBackendPaths()

FileBackendDBRepoWrapperTest::testGetBackendPaths (   $mocks,
  $latest,
  $dbReadsExpected,
  $dbReturnValue,
  $originalPath,
  $expectedBackendPath,
  $message 
)

getBackendPathsProvider FileBackendDBRepoWrapper::getBackendPaths

Definition at line 11 of file FileBackendDBRepoWrapperTest.php.

References list.

◆ testGetFileContentsMulti()

FileBackendDBRepoWrapperTest::testGetFileContentsMulti ( )

Member Data Documentation

◆ $backendName

FileBackendDBRepoWrapperTest::$backendName = 'foo-backend'
protected

Definition at line 4 of file FileBackendDBRepoWrapperTest.php.

◆ $repoName

FileBackendDBRepoWrapperTest::$repoName = 'pureTestRepo'
protected

Definition at line 5 of file FileBackendDBRepoWrapperTest.php.

Referenced by getBackendPathsProvider().


The documentation for this class was generated from the following file: