MediaWiki REL1_31
MediaWiki\Sparql\SparqlClientTest Class Reference

\MediaWiki\Sparql\SparqlClient More...

Inheritance diagram for MediaWiki\Sparql\SparqlClientTest:
Collaboration diagram for MediaWiki\Sparql\SparqlClientTest:

Public Member Functions

 optionsProvider ()
 
 testBadQuery ()
 \Mediawiki\Sparql\SparqlException
 
 testOptions ( $sparql, $options, $timeout, $expectedUrl, $expectedOptions)
 optionsProvider
 
 testQuery ()
 

Private Member Functions

 getRequestFactory ( $request)
 
 getRequestMock ( $content)
 

Detailed Description

\MediaWiki\Sparql\SparqlClient

Definition at line 12 of file SparqlClientTest.php.

Member Function Documentation

◆ getRequestFactory()

MediaWiki\Sparql\SparqlClientTest::getRequestFactory ( $request)
private

◆ getRequestMock()

MediaWiki\Sparql\SparqlClientTest::getRequestMock ( $content)
private

◆ optionsProvider()

MediaWiki\Sparql\SparqlClientTest::optionsProvider ( )

◆ testBadQuery()

MediaWiki\Sparql\SparqlClientTest::testBadQuery ( )

\Mediawiki\Sparql\SparqlException

Definition at line 86 of file SparqlClientTest.php.

References $request, and MediaWiki\Sparql\SparqlClientTest\getRequestFactory().

◆ testOptions()

MediaWiki\Sparql\SparqlClientTest::testOptions ( $sparql,
$options,
$timeout,
$expectedUrl,
$expectedOptions )

optionsProvider

Parameters
string$sparql
array | null$options
int | null$timeout
array$expectedUrl
array$expectedOptions

Definition at line 161 of file SparqlClientTest.php.

References $options, $request, and MediaWiki\Sparql\SparqlClientTest\getRequestMock().

◆ testQuery()

MediaWiki\Sparql\SparqlClientTest::testQuery ( )

The documentation for this class was generated from the following file: