MediaWiki REL1_31
|
\MediaWiki\Sparql\SparqlClient More...
Public Member Functions | |
optionsProvider () | |
testBadQuery () | |
\Mediawiki\Sparql\SparqlException | |
testOptions ( $sparql, $options, $timeout, $expectedUrl, $expectedOptions) | |
optionsProvider | |
testQuery () | |
Private Member Functions | |
getRequestFactory ( $request) | |
getRequestMock ( $content) | |
\MediaWiki\Sparql\SparqlClient
Definition at line 12 of file SparqlClientTest.php.
|
private |
Definition at line 16 of file SparqlClientTest.php.
References $request.
Referenced by MediaWiki\Sparql\SparqlClientTest\testBadQuery(), and MediaWiki\Sparql\SparqlClientTest\testQuery().
|
private |
Definition at line 22 of file SparqlClientTest.php.
References $request.
Referenced by MediaWiki\Sparql\SparqlClientTest\testOptions(), and MediaWiki\Sparql\SparqlClientTest\testQuery().
MediaWiki\Sparql\SparqlClientTest::optionsProvider | ( | ) |
Definition at line 94 of file SparqlClientTest.php.
References MediaWiki\Sparql\SparqlClient\MAX_GET_SIZE, and Http\userAgent().
MediaWiki\Sparql\SparqlClientTest::testBadQuery | ( | ) |
\Mediawiki\Sparql\SparqlException
Definition at line 86 of file SparqlClientTest.php.
References $request, and MediaWiki\Sparql\SparqlClientTest\getRequestFactory().
MediaWiki\Sparql\SparqlClientTest::testOptions | ( | $sparql, | |
$options, | |||
$timeout, | |||
$expectedUrl, | |||
$expectedOptions ) |
optionsProvider
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().
MediaWiki\Sparql\SparqlClientTest::testQuery | ( | ) |
Definition at line 29 of file SparqlClientTest.php.
References $request, MediaWiki\Sparql\SparqlClientTest\getRequestFactory(), and MediaWiki\Sparql\SparqlClientTest\getRequestMock().