MediaWiki  master
InterwikiLookupAdapterTest Class Reference

MediaWiki\Interwiki\InterwikiLookupAdapter. More...

Inheritance diagram for InterwikiLookupAdapterTest:
Collaboration diagram for InterwikiLookupAdapterTest:

Public Member Functions

 testFetch ()
 
 testGetAllPrefixes ()
 
 testIsValidInterwiki ()
 

Protected Member Functions

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

Private Member Functions

 getSiteLookup (SiteList $sites)
 
 getSites ()
 

Private Attributes

InterwikiLookupAdapter $interwikiLookup
 

Detailed Description

MediaWiki\Interwiki\InterwikiLookupAdapter.

MediaWiki Interwiki

Definition at line 11 of file InterwikiLookupAdapterTest.php.

Member Function Documentation

◆ getSiteLookup()

InterwikiLookupAdapterTest::getSiteLookup ( SiteList  $sites)
private

Definition at line 98 of file InterwikiLookupAdapterTest.php.

References class.

Referenced by setUp().

◆ getSites()

InterwikiLookupAdapterTest::getSites ( )
private

Definition at line 110 of file InterwikiLookupAdapterTest.php.

References MediaWikiSite\PATH_FILE, and MediaWikiSite\PATH_PAGE.

Referenced by setUp().

◆ setUp()

InterwikiLookupAdapterTest::setUp ( )
protected

Definition at line 18 of file InterwikiLookupAdapterTest.php.

References getSiteLookup(), and getSites().

◆ testFetch()

InterwikiLookupAdapterTest::testFetch ( )

Definition at line 41 of file InterwikiLookupAdapterTest.php.

References class.

◆ testGetAllPrefixes()

InterwikiLookupAdapterTest::testGetAllPrefixes ( )

Definition at line 61 of file InterwikiLookupAdapterTest.php.

◆ testIsValidInterwiki()

InterwikiLookupAdapterTest::testIsValidInterwiki ( )

Definition at line 26 of file InterwikiLookupAdapterTest.php.

Member Data Documentation

◆ $interwikiLookup

InterwikiLookupAdapter InterwikiLookupAdapterTest::$interwikiLookup
private

Definition at line 16 of file InterwikiLookupAdapterTest.php.


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