\JMediawikiSitesTest
Test class for JMediawikiCategories.
Synopsis
class JMediawikiSitesTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- protected JMediawikiSites $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testGetSiteInfo()
- public void testGetEvents()
- public void testGetRecentChanges()
- public void testGetProtectedTitles()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $errorString — string
- $object — JMediawikiSites
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testGetEvents() — Tests the getEvents method
- testGetProtectedTitles() — Tests the getProtectedTitles method
- testGetRecentChanges() — Tests the getRecentChanges method
- testGetSiteInfo() — Tests the getSiteInfo method