class ViewsTest in Search API Solr 4.x
Same name in this branch
- 4.x tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest
- 4.x modules/search_api_solr_legacy/tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr_legacy\Functional\ViewsTest
Tests the Views integration of the Search API.
@group search_api_solr_legacy
Hierarchy
- class \Drupal\Tests\search_api_solr\Functional\ViewsTest extends \Drupal\Tests\search_api\Functional\ViewsTest uses SolrCommitTrait
- class \Drupal\Tests\search_api_solr_legacy\Functional\ViewsTest
Expanded class hierarchy of ViewsTest
File
- modules/
search_api_solr_legacy/ tests/ src/ Functional/ ViewsTest.php, line 13
Namespace
Drupal\Tests\search_api_solr_legacy\FunctionalView source
class ViewsTest extends SearchApiSolrViewsTest {
/**
* {@inheritdoc}
*/
public static $modules = [
'search_api_solr_legacy',
'search_api_solr_legacy_test',
];
/**
* {@inheritdoc}
*/
protected function adjustBackendConfig() {
// Swap the connector.
Solr36TestConnector::adjustBackendConfig('search_api.server.solr_search_server');
}
/**
* Tests the Views admin UI and field handlers.
*/
public function testViewsAdmin() {
$this
->markTestSkipped('This test fails on Solr 3.6. It requires some more debugging.');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SolrCommitTrait:: |
protected | function | Explicitly sends a commit command to a Solr server. | |
ViewsTest:: |
public static | property |
Modules to enable for this test. Overrides ViewsTest:: |
|
ViewsTest:: |
protected | function |
Allow 3rd party Solr connectors to manipulate the config. Overrides ViewsTest:: |
|
ViewsTest:: |
protected | function | Indexes all (unindexed) items on the specified index. | |
ViewsTest:: |
public | function | ||
ViewsTest:: |
protected | function | ||
ViewsTest:: |
public | function | ||
ViewsTest:: |
public | function | Tests the Views admin UI and field handlers. |