MediaWiki  master
WikiMapTest Class Reference

WikiMap. More...

Inheritance diagram for WikiMapTest:
Collaboration diagram for WikiMapTest:

Public Member Functions

 provideForeignUserLink ()
 
 provideGetForeignURL ()
 
 provideGetWiki ()
 
 provideGetWikiFromUrl ()
 
 provideGetWikiIdFromDbDomain ()
 
 provideGetWikiName ()
 
 provideIsCurrentWikiId ()
 
 provideMakeForeignLink ()
 
 setUp ()
 
 testForeignUserLink ( $expected, $wikiId, $user, $text=null)
 provideForeignUserLink More...
 
 testGetCanonicalServerInfoForAllWikis ()
 WikiMap::getCanonicalServerInfoForAllWikis() More...
 
 testGetForeignURL ( $expected, $wikiId, $page, $fragment=null)
 provideGetForeignURL More...
 
 testGetWiki ( $expected, $wikiId, $useWgConf=true)
 provideGetWiki More...
 
 testGetWikiFromUrl ( $url, $wiki)
 provideGetWikiFromUrl WikiMap::getWikiFromUrl() More...
 
 testGetWikiIdFromDbDomain ( $domain, $wikiId)
 provideGetWikiIdFromDbDomain WikiMap::getWikiIdFromDbDomain() More...
 
 testGetWikiName ( $expected, $wikiId)
 provideGetWikiName More...
 
 testIsCurrentWikiDomain ()
 WikiMap::isCurrentWikiDbDomain() WikiMap::getCurrentWikiDbDomain() More...
 
 testIsCurrentWikiId ( $wikiId, $db, $schema, $prefix)
 provideIsCurrentWikiId WikiMap::isCurrentWikiId() WikiMap::getCurrentWikiDbDomain() WikiMap::getWikiIdFromDbDomain() More...
 
 testMakeForeignLink ( $expected, $wikiId, $page, $text=null)
 provideMakeForeignLink More...
 

Additional Inherited Members

- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()
 

Detailed Description

WikiMap.

Database

Definition at line 10 of file WikiMapTest.php.

Member Function Documentation

◆ provideForeignUserLink()

WikiMapTest::provideForeignUserLink ( )

Definition at line 127 of file WikiMapTest.php.

◆ provideGetForeignURL()

WikiMapTest::provideGetForeignURL ( )

Definition at line 160 of file WikiMapTest.php.

◆ provideGetWiki()

WikiMapTest::provideGetWiki ( )

Definition at line 40 of file WikiMapTest.php.

References false, and null.

◆ provideGetWikiFromUrl()

WikiMapTest::provideGetWikiFromUrl ( )

Definition at line 213 of file WikiMapTest.php.

References false.

◆ provideGetWikiIdFromDbDomain()

WikiMapTest::provideGetWikiIdFromDbDomain ( )

Definition at line 239 of file WikiMapTest.php.

References null, and wfWikiID().

◆ provideGetWikiName()

WikiMapTest::provideGetWikiName ( )

Definition at line 75 of file WikiMapTest.php.

◆ provideIsCurrentWikiId()

WikiMapTest::provideIsCurrentWikiId ( )

Definition at line 281 of file WikiMapTest.php.

References null.

◆ provideMakeForeignLink()

WikiMapTest::provideMakeForeignLink ( )

Definition at line 91 of file WikiMapTest.php.

◆ setUp()

WikiMapTest::setUp ( )

Definition at line 12 of file WikiMapTest.php.

References TestSites\insertIntoDb().

◆ testForeignUserLink()

WikiMapTest::testForeignUserLink (   $expected,
  $wikiId,
  $user,
  $text = null 
)

provideForeignUserLink

Definition at line 156 of file WikiMapTest.php.

References $user, and WikiMap\foreignUserLink().

◆ testGetCanonicalServerInfoForAllWikis()

WikiMapTest::testGetCanonicalServerInfoForAllWikis ( )

◆ testGetForeignURL()

WikiMapTest::testGetForeignURL (   $expected,
  $wikiId,
  $page,
  $fragment = null 
)

provideGetForeignURL

Definition at line 181 of file WikiMapTest.php.

References WikiMap\getForeignURL().

◆ testGetWiki()

WikiMapTest::testGetWiki (   $expected,
  $wikiId,
  $useWgConf = true 
)

provideGetWiki

Definition at line 65 of file WikiMapTest.php.

References WikiMap\getWiki().

◆ testGetWikiFromUrl()

WikiMapTest::testGetWikiFromUrl (   $url,
  $wiki 
)

provideGetWikiFromUrl WikiMap::getWikiFromUrl()

Definition at line 235 of file WikiMapTest.php.

References WikiMap\getWikiFromUrl().

◆ testGetWikiIdFromDbDomain()

WikiMapTest::testGetWikiIdFromDbDomain (   $domain,
  $wikiId 
)

provideGetWikiIdFromDbDomain WikiMap::getWikiIdFromDbDomain()

Definition at line 255 of file WikiMapTest.php.

References WikiMap\getWikiIdFromDbDomain().

◆ testGetWikiName()

WikiMapTest::testGetWikiName (   $expected,
  $wikiId 
)

provideGetWikiName

Definition at line 87 of file WikiMapTest.php.

References WikiMap\getWikiName().

◆ testIsCurrentWikiDomain()

◆ testIsCurrentWikiId()

WikiMapTest::testIsCurrentWikiId (   $wikiId,
  $db,
  $schema,
  $prefix 
)

◆ testMakeForeignLink()

WikiMapTest::testMakeForeignLink (   $expected,
  $wikiId,
  $page,
  $text = null 
)

provideMakeForeignLink

Definition at line 120 of file WikiMapTest.php.

References WikiMap\makeForeignLink().


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