abstract class SearchApiElasticsearchElasticaBaseTest in Search API Elasticsearch 7
Hierarchy
- class \SearchApiElasticsearchBaseTest extends \PHPUnit_Framework_TestCase
Expanded class hierarchy of SearchApiElasticsearchElasticaBaseTest
File
- modules/
elastica/ tests/ phpunit/ SearchApiElasticsearchElasticaBaseTest.php, line 3
View source
abstract class SearchApiElasticsearchElasticaBaseTest extends SearchApiElasticsearchBaseTest {
/**
* Provides transports to test against.
*/
public function transportProvider() {
$options = array(
array(
'Http',
),
array(
'Https',
),
array(
'Memcache',
),
array(
'Null',
),
);
if (class_exists('\\GuzzleHttp\\Client')) {
$options[] = array(
'Guzzle',
);
}
if (class_exists('\\Elasticsearch\\RestClient')) {
$options[] = array(
'Thrift',
);
}
return $options;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SearchApiElasticsearchBaseTest:: |
protected | function | Create Search API index. | |
SearchApiElasticsearchBaseTest:: |
protected | function | Create Search API server. | |
SearchApiElasticsearchElasticaBaseTest:: |
public | function |
Provides transports to test against. Overrides SearchApiElasticsearchBaseTest:: |
1 |