class FacetsTest in Search API Solr 4.x
Same name in this branch
- 4.x tests/src/Functional/FacetsTest.php \Drupal\Tests\search_api_solr\Functional\FacetsTest
- 4.x modules/search_api_solr_legacy/tests/src/Functional/FacetsTest.php \Drupal\Tests\search_api_solr_legacy\Functional\FacetsTest
Tests the facets functionality using the Solr backend.
@group search_api_solr_legacy
Hierarchy
- class \Drupal\Tests\search_api_solr\Functional\FacetsTest extends \Drupal\Tests\search_api\Functional\SearchApiBrowserTestBase uses \Drupal\Tests\facets\Functional\BlockTestTrait, \Drupal\Tests\facets\Functional\ExampleContentTrait, \Drupal\Tests\facets\Functional\TestHelperTrait, SolrCommitTrait
- class \Drupal\Tests\search_api_solr_legacy\Functional\FacetsTest
Expanded class hierarchy of FacetsTest
File
- modules/
search_api_solr_legacy/ tests/ src/ Functional/ FacetsTest.php, line 13
Namespace
Drupal\Tests\search_api_solr_legacy\FunctionalView source
class FacetsTest extends SearchApiSolrFacetsTest {
/**
* {@inheritdoc}
*/
public static $modules = [
'search_api_solr_legacy',
'search_api_solr_legacy_test',
];
/**
* {@inheritdoc}
*/
public function setUp() : void {
parent::setUp();
// Swap the connector.
Solr36TestConnector::adjustBackendConfig('search_api.server.solr_search_server');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacetsTest:: |
public static | property |
Overrides FacetsTest:: |
|
FacetsTest:: |
protected | function | Provides a helper for ::clickLink() and ::clickLinkPartialName(). | |
FacetsTest:: |
protected | function | Follows a link by partial name. | |
FacetsTest:: |
protected | function | Indexes all (unindexed) items on the specified index. | |
FacetsTest:: |
public | function | ||
FacetsTest:: |
protected | function | ||
FacetsTest:: |
public | function | Tests basic facets integration. | |
SolrCommitTrait:: |
protected | function | Explicitly sends a commit command to a Solr server. |