\JMediawikiUsersTest
Test class for JMediawikiUsers.
Synopsis
class JMediawikiUsersTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- protected JMediawikiUsers $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testLogin()
- public void testLogout()
- public void testGetUserInfo()
- public void testGetCurrentUserInfo()
- public void testGetUserContribs()
- public void testBlockUser()
- public void testUnBlockUserByName()
- public void testUnBlockUserByID()
- public void testAssignGroup()
- public void testEmailUser()
- public void testGetToken()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $errorString — string
- $object — JMediawikiUsers
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testAssignGroup() — Tests the assignGroup method
- testBlockUser() — Tests the blockUser method
- testEmailUser() — Tests the emailUser method
- testGetCurrentUserInfo() — Tests the getCurrentUserInfo method
- testGetToken() — Tests the getToken method
- testGetUserContribs() — Tests the getUserContribs method
- testGetUserInfo() — Tests the getUserInfo method
- testLogin() — Tests the login method
- testLogout() — Tests the logout method
- testUnBlockUserByID() — Tests the unBlockUserByID method
- testUnBlockUserByName() — Tests the unBlockUserByName method