MediaWiki  1.33.0
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 More...
 
 testOptions ( $sparql, $options, $timeout, $expectedUrl, $expectedOptions)
 optionsProvider More...
 
 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 ( )

◆ 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, as, class, MediaWiki\Sparql\SparqlClientTest\getRequestMock(), and use.

◆ testQuery()

MediaWiki\Sparql\SparqlClientTest::testQuery ( )

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