\JMediawikiPagesTest
Test class for JMediawikiPages.
Synopsis
class JMediawikiPagesTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- protected JMediawikiPages $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testEditPage()
- public void testDeletePageByName()
- public void testDeletePageByID()
- public void testUndeletePage()
- public void testMovePageByName()
- public void testMovePageByID()
- public void testRollback()
- public void testChangeProtection()
- public void testGetPageInfo()
- public void testGetPageProperties()
- public void testGetRevisions()
- public void testGetBackLinks()
- public void testGetIWBackLinks()
- public void testGetToken()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $errorString — string
- $object — JMediawikiPages
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testChangeProtection() — Tests the changeProtection method
- testDeletePageByID() — Tests the deletePageByID method
- testDeletePageByName() — Tests the deletePageByName method
- testEditPage() — Tests the editPage method
- testGetBackLinks() — Tests the getBackLinks method
- testGetIWBackLinks() — Tests the getIWBackLinks method
- testGetPageInfo() — Tests the getPageInfo method
- testGetPageProperties() — Tests the getPageProperties method
- testGetRevisions() — Tests the getRevisions method
- testGetToken() — Tests the getToken method
- testMovePageByID() — Tests the movePageByID method
- testMovePageByName() — Tests the movePageByName method
- testRollback() — Tests the rollback method
- testUndeletePage() — Tests the undeletePage method