MediaWiki
REL1_22
|
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) |
Definition at line 32 of file SiteTest.php.
SiteTest::assertTypeOrFalse | ( | $ | type, |
$ | value | ||
) | [protected] |
Definition at line 272 of file SiteTest.php.
References $value.
Definition at line 34 of file SiteTest.php.
References MediaWikiTestCase\arrayWrap(), and TestSites\getSites().
static SiteTest::provideGetPageUrl | ( | ) | [static] |
Reimplemented in MediaWikiSiteTest.
Definition at line 231 of file SiteTest.php.
References array().
SiteTest::testAddInterwikiId | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::addInterwikiId |
Definition at line 71 of file SiteTest.php.
References Site\addInterwikiId(), Site\getInterwikiIds(), and true.
SiteTest::testAddNavigationId | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::addNavigationId |
Definition at line 61 of file SiteTest.php.
References Site\addNavigationId(), Site\getNavigationIds(), and true.
SiteTest::testGetAllPaths | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::getAllPaths |
Definition at line 148 of file SiteTest.php.
References Site\getAllPaths().
SiteTest::testGetGlobalId | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::getGlobalId |
Definition at line 109 of file SiteTest.php.
References MediaWikiTestCase\assertTypeOrValue(), and Site\getGlobalId().
SiteTest::testGetInterwikiIds | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::getInterwikiIds |
Definition at line 43 of file SiteTest.php.
References Site\getInterwikiIds().
SiteTest::testGetLanguageCode | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::getLanguageCode |
Definition at line 81 of file SiteTest.php.
References MediaWikiTestCase\assertTypeOrValue(), and Site\getLanguageCode().
SiteTest::testGetNavigationIds | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::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.
SiteTest::testGetPath | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::getPath |
Definition at line 137 of file SiteTest.php.
References MediaWikiTestCase\assertTypeOrValue(), and Site\getPath().
SiteTest::testGetType | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::getType |
Definition at line 128 of file SiteTest.php.
References Site\getType().
SiteTest::testNormalizePageName | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::normalizePageName |
Definition at line 100 of file SiteTest.php.
References Site\normalizePageName().
SiteTest::testSerialization | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::serialize Site::unserialize |
Definition at line 286 of file SiteTest.php.
SiteTest::testSetAndRemovePath | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::setPath Site::removePath |
Definition at line 158 of file SiteTest.php.
References $count, Site\getAllPaths(), Site\getPath(), Site\removePath(), and Site\setPath().
SiteTest::testSetGlobalId | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::setGlobalId |
Definition at line 118 of file SiteTest.php.
References Site\getGlobalId(), and Site\setGlobalId().
SiteTest::testSetLanguageCode | ( | Site $ | site | ) |
instanceProvider
Site | $site | Site::setLanguageCode |
Definition at line 90 of file SiteTest.php.
References Site\getLanguageCode(), and Site\setLanguageCode().