\JMediawikiSearchTest
Test class for JMediawikiSearch.
Synopsis
class JMediawikiSearchTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- protected JMediawikiSearch $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testSearch()
- public void testOpenSearch()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $errorString — string
- $object — JMediawikiSearch
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testOpenSearch() — Tests the openSearch method
- testSearch() — Tests the search method