class HtmlFilterTest in Search API Solr 4.x
Same name in this branch
- 4.x tests/src/Kernel/Processor/HtmlFilterTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\HtmlFilterTest
- 4.x modules/search_api_solr_legacy/tests/src/Kernel/Processor/HtmlFilterTest.php \Drupal\Tests\search_api_solr_legacy\Kernel\Processor\HtmlFilterTest
Tests usages of Solr payloads.
@group search_api_solr_legacy
Hierarchy
- class \Drupal\Tests\search_api_solr\Kernel\Processor\HtmlFilterTest extends \Drupal\Tests\search_api\Kernel\Processor\ProcessorTestBase uses NodeCreationTrait, SolrBackendTrait
- class \Drupal\Tests\search_api_solr_legacy\Kernel\Processor\HtmlFilterTest
Expanded class hierarchy of HtmlFilterTest
See also
\Drupal\search_api\Plugin\search_api\processor\HtmlFilter
File
- modules/
search_api_solr_legacy/ tests/ src/ Kernel/ Processor/ HtmlFilterTest.php, line 15
Namespace
Drupal\Tests\search_api_solr_legacy\Kernel\ProcessorView source
class HtmlFilterTest extends SearchApiSolrHtmlFilterTest {
/**
* {@inheritdoc}
*/
public static $modules = [
'search_api_solr_legacy',
'search_api_solr_legacy_test',
];
/**
* {@inheritdoc}
*/
protected function enableSolrServer() {
parent::enableSolrServer();
// Swap the connector.
Solr36TestConnector::adjustBackendConfig('search_api.server.solr_search_server');
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HtmlFilterTest:: |
public static | property |
Overrides HtmlFilterTest:: |
|
HtmlFilterTest:: |
protected | property | The nodes created for testing. | |
HtmlFilterTest:: |
protected | function |
Swap the DB backend for a Solr backend. Overrides SolrBackendTrait:: |
|
HtmlFilterTest:: |
public | function | ||
HtmlFilterTest:: |
public | function | Tests term boosts. | |
NodeCreationTrait:: |
protected | function | Creates a node based on default settings. | |
NodeCreationTrait:: |
public | function | Get a node from the database based on its title. | |
SolrBackendTrait:: |
protected | function | ||
SolrBackendTrait:: |
protected | function | ||
SolrCommitTrait:: |
protected | function | Explicitly sends a commit command to a Solr server. |