MediaWiki  1.32.5
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

◆ getCacheFile()

FileBasedSiteLookupTest::getCacheFile ( )
private

Definition at line 99 of file FileBasedSiteLookupTest.php.

Referenced by setUp().

◆ getSiteLookup()

FileBasedSiteLookupTest::getSiteLookup ( SiteList  $sites)
private

Definition at line 68 of file FileBasedSiteLookupTest.php.

References any, and class.

Referenced by newSitesCacheFileBuilder().

◆ getSites()

FileBasedSiteLookupTest::getSites ( )
private

Definition at line 80 of file FileBasedSiteLookupTest.php.

References MediaWikiSite\PATH_FILE, and MediaWikiSite\PATH_PAGE.

Referenced by testGetSite(), and testGetSites().

◆ newSitesCacheFileBuilder()

FileBasedSiteLookupTest::newSitesCacheFileBuilder ( SiteList  $sites)
private

Definition at line 61 of file FileBasedSiteLookupTest.php.

References getSiteLookup().

Referenced by testGetSite(), and testGetSites().

◆ setUp()

FileBasedSiteLookupTest::setUp ( )
protected

Definition at line 34 of file FileBasedSiteLookupTest.php.

References getCacheFile().

◆ tearDown()

FileBasedSiteLookupTest::tearDown ( )
protected

Definition at line 38 of file FileBasedSiteLookupTest.php.

◆ testGetSite()

FileBasedSiteLookupTest::testGetSite ( )

Definition at line 51 of file FileBasedSiteLookupTest.php.

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

◆ testGetSites()

FileBasedSiteLookupTest::testGetSites ( )

Definition at line 42 of file FileBasedSiteLookupTest.php.

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


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