\JMediawikiHttpTest
Test class for JMediawikiHttp.
Synopsis
class JMediawikiHttpTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JMediawikiHttp $transport;
- protected JMediawikiHttp $object;
- protected $sampleString;
- protected $errorString;
Hierarchy
Extends
Members
protected
- $errorString — string
- $object — JMediawikiHttp
- $options — JRegistry
- $sampleString — string
- $transport — JMediawikiHttp
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testGet() — Tests the get method
- testPost() — Tests the post method