\JMediawikiLinksTest
Test class for JMediawikiLinks.
Synopsis
class JMediawikiLinksTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- protected JMediawikiLinks $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testGetLinks()
- public void testGetLinksUsed()
- public void testGetIWLinks()
- public void testGetLangLinks()
- public void testGetExtLinks()
- public void testEnumerateLinks()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $errorString — string
- $object — JMediawikiLinks
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testEnumerateLinks() — Tests the getCategories method
- testGetExtLinks() — Tests the getCategories method
- testGetIWLinks() — Tests the getCategories method
- testGetLangLinks() — Tests the getCategories method
- testGetLinks() — Tests the getCategories method
- testGetLinksUsed() — Tests the getCategories method