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

List of all members.

Public Member Functions

 siteArrayProvider ()
 Returns arrays with instances of Site implementing objects.
 siteListProvider ()
 Returns instances of SiteList implementing objects.
 testGetGlobalIdentifiers (SiteList $sites)
 siteListProvider
 testGetSiteByGlobalId (SiteList $sites)
 siteListProvider
 testGetSiteByInternalId ($sites)
 siteListProvider
 testHasGlobalId ($sites)
 siteListProvider
 testHasInternallId ($sites)
 siteListProvider
 testIsEmpty (SiteList $sites)
 siteListProvider
 testSerialization (SiteList $list)
 siteListProvider

Detailed Description

Definition at line 32 of file SiteListTest.php.


Member Function Documentation

Returns arrays with instances of Site implementing objects.

Returns:
array

Definition at line 54 of file SiteListTest.php.

References array(), MediaWikiTestCase\arrayWrap(), and TestSites\getSites().

Referenced by siteListProvider().

Returns instances of SiteList implementing objects.

Returns:
array

Definition at line 38 of file SiteListTest.php.

References array(), MediaWikiTestCase\arrayWrap(), as, and siteArrayProvider().

siteListProvider

Parameters:
SiteList$sitesSiteList::getSite

Definition at line 82 of file SiteListTest.php.

References as, SiteList\getSite(), and SiteList\isEmpty().

siteListProvider

Parameters:
SiteList$sitesSiteList::getSiteByInternalId

Definition at line 100 of file SiteListTest.php.

References as.

siteListProvider

Parameters:
SiteList$sitesSiteList::hasSite

Definition at line 118 of file SiteListTest.php.

References as.

siteListProvider

Parameters:
SiteList$sitesSiteList::hasInternalId

Definition at line 137 of file SiteListTest.php.

References as.

siteListProvider

Parameters:
SiteList$sitesSiteList::isEmpty

Definition at line 73 of file SiteListTest.php.

References SiteList\isEmpty().


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