MediaWiki  1.28.0
FileBasedSiteLookupTest Class Reference
Inheritance diagram for FileBasedSiteLookupTest:
Collaboration diagram for FileBasedSiteLookupTest:

Public Member Functions

 testGetSite ()
 
 testGetSites ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Private Member Functions

 getCacheFile ()
 
 getSiteLookup (SiteList $sites)
 
 getSites ()
 
 newSitesCacheFileBuilder (SiteList $sites)
 

Detailed Description

Definition at line 30 of file FileBasedSiteLookupTest.php.

Member Function Documentation

FileBasedSiteLookupTest::getCacheFile ( )
private

Definition at line 97 of file FileBasedSiteLookupTest.php.

Referenced by setUp().

FileBasedSiteLookupTest::getSiteLookup ( SiteList  $sites)
private

Definition at line 66 of file FileBasedSiteLookupTest.php.

Referenced by newSitesCacheFileBuilder().

FileBasedSiteLookupTest::getSites ( )
private

Definition at line 78 of file FileBasedSiteLookupTest.php.

References MediaWikiSite\PATH_FILE, and MediaWikiSite\PATH_PAGE.

Referenced by testGetSite(), and testGetSites().

FileBasedSiteLookupTest::newSitesCacheFileBuilder ( SiteList  $sites)
private

Definition at line 59 of file FileBasedSiteLookupTest.php.

References getSiteLookup().

Referenced by testGetSite(), and testGetSites().

FileBasedSiteLookupTest::setUp ( )
protected

Definition at line 32 of file FileBasedSiteLookupTest.php.

References getCacheFile().

FileBasedSiteLookupTest::tearDown ( )
protected

Definition at line 36 of file FileBasedSiteLookupTest.php.

FileBasedSiteLookupTest::testGetSite ( )

Definition at line 49 of file FileBasedSiteLookupTest.php.

References $cache, getSites(), and newSitesCacheFileBuilder().

FileBasedSiteLookupTest::testGetSites ( )

Definition at line 40 of file FileBasedSiteLookupTest.php.

References $cache, getSites(), and newSitesCacheFileBuilder().


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