MediaWiki  REL1_22
SiteTest Class Reference
Inheritance diagram for SiteTest:
Collaboration diagram for SiteTest:

List of all members.

Public Member Functions

 instanceProvider ()
 testAddInterwikiId (Site $site)
 instanceProvider
 testAddNavigationId (Site $site)
 instanceProvider
 testGetAllPaths (Site $site)
 instanceProvider
 testGetGlobalId (Site $site)
 instanceProvider
 testGetInterwikiIds (Site $site)
 instanceProvider
 testGetLanguageCode (Site $site)
 instanceProvider
 testGetLinkPathType ()
 Site::getLinkPathType
 testGetNavigationIds (Site $site)
 instanceProvider
 testGetPageUrl ($path, $page, $expected)
 provideGetPageUrl Site::getPageUrl
 testGetPath (Site $site)
 instanceProvider
 testGetType (Site $site)
 instanceProvider
 testNormalizePageName (Site $site)
 instanceProvider
 testProtocolRelativePath ()
 Site::setPath Site::getProtocol
 testSerialization (Site $site)
 instanceProvider
 testSetAndRemovePath (Site $site)
 instanceProvider
 testSetGlobalId (Site $site)
 instanceProvider
 testSetLanguageCode (Site $site)
 instanceProvider
 testSetLinkPath ()
 Site::setLinkPath
 testSetPath ()
 Site::setPath

Static Public Member Functions

static provideGetPageUrl ()

Protected Member Functions

 assertTypeOrFalse ($type, $value)

Detailed Description

Definition at line 32 of file SiteTest.php.


Member Function Documentation

SiteTest::assertTypeOrFalse ( type,
value 
) [protected]

Definition at line 272 of file SiteTest.php.

References $value.

static SiteTest::provideGetPageUrl ( ) [static]

Reimplemented in MediaWikiSiteTest.

Definition at line 231 of file SiteTest.php.

References array().

instanceProvider

Parameters:
Site$siteSite::addInterwikiId

Definition at line 71 of file SiteTest.php.

References Site\addInterwikiId(), Site\getInterwikiIds(), and true.

instanceProvider

Parameters:
Site$siteSite::addNavigationId

Definition at line 61 of file SiteTest.php.

References Site\addNavigationId(), Site\getNavigationIds(), and true.

instanceProvider

Parameters:
Site$siteSite::getAllPaths

Definition at line 148 of file SiteTest.php.

References Site\getAllPaths().

instanceProvider

Parameters:
Site$siteSite::getGlobalId

Definition at line 109 of file SiteTest.php.

References MediaWikiTestCase\assertTypeOrValue(), and Site\getGlobalId().

instanceProvider

Parameters:
Site$siteSite::getInterwikiIds

Definition at line 43 of file SiteTest.php.

References Site\getInterwikiIds().

instanceProvider

Parameters:
Site$siteSite::getLanguageCode

Definition at line 81 of file SiteTest.php.

References MediaWikiTestCase\assertTypeOrValue(), and Site\getLanguageCode().

Site::getLinkPathType

Definition at line 193 of file SiteTest.php.

References $path.

instanceProvider

Parameters:
Site$siteSite::getNavigationIds

Definition at line 52 of file SiteTest.php.

References Site\getNavigationIds().

SiteTest::testGetPageUrl ( path,
page,
expected 
)

provideGetPageUrl Site::getPageUrl

Reimplemented in MediaWikiSiteTest.

Definition at line 260 of file SiteTest.php.

References $path.

instanceProvider

Parameters:
Site$siteSite::getPath

Definition at line 137 of file SiteTest.php.

References MediaWikiTestCase\assertTypeOrValue(), and Site\getPath().

instanceProvider

Parameters:
Site$siteSite::getType

Definition at line 128 of file SiteTest.php.

References Site\getType().

instanceProvider

Parameters:
Site$siteSite::normalizePageName

Definition at line 100 of file SiteTest.php.

References Site\normalizePageName().

instanceProvider

Parameters:
Site$siteSite::serialize Site::unserialize

Definition at line 286 of file SiteTest.php.

instanceProvider

Parameters:
Site$siteSite::setPath Site::removePath

Definition at line 158 of file SiteTest.php.

References $count, Site\getAllPaths(), Site\getPath(), Site\removePath(), and Site\setPath().

instanceProvider

Parameters:
Site$siteSite::setGlobalId

Definition at line 118 of file SiteTest.php.

References Site\getGlobalId(), and Site\setGlobalId().

instanceProvider

Parameters:
Site$siteSite::setLanguageCode

Definition at line 90 of file SiteTest.php.

References Site\getLanguageCode(), and Site\setLanguageCode().

Site::setLinkPath

Definition at line 182 of file SiteTest.php.

References $path.

Site::setPath

Definition at line 208 of file SiteTest.php.

References $path.


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