class SolrLegacyExtractionTest in Search API Solr 4.x
Test tika extension based PDF extraction.
@group search_api_solr_legacy
Hierarchy
- class \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase extends \Drupal\Tests\search_api\Kernel\BackendTestBase uses SolrCommitTrait
- class \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrExtractionTest
- class \Drupal\Tests\search_api_solr_legacy\Kernel\SolrLegacyExtractionTest
- class \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrExtractionTest
Expanded class hierarchy of SolrLegacyExtractionTest
File
- modules/
search_api_solr_legacy/ tests/ src/ Kernel/ SolrLegacyExtractionTest.php, line 13
Namespace
Drupal\Tests\search_api_solr_legacy\KernelView source
class SolrLegacyExtractionTest extends SearchApiSolrExtractionTest {
/**
* {@inheritdoc}
*/
public static $modules = [
'search_api_solr_legacy',
'search_api_solr_legacy_test',
];
/**
* {@inheritdoc}
*/
protected function installConfigs() {
parent::installConfigs();
$this
->installConfig([
'search_api_solr_legacy',
'search_api_solr_legacy_test',
]);
// Swap the connector.
Solr36TestConnector::adjustBackendConfig('search_api.server.solr_search_server');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SearchApiSolrExtractionTest:: |
public | function | Test tika extension based PDF extraction. | |
SolrBackendTestBase:: |
protected | property | A Search API index ID. | 1 |
SolrBackendTestBase:: |
protected | property | The in-memory logger. | |
SolrBackendTestBase:: |
protected | property | A Search API server ID. | 1 |
SolrBackendTestBase:: |
protected | function | Tests the last logged level and message. | |
SolrBackendTestBase:: |
protected | function | ||
SolrBackendTestBase:: |
protected | function | 1 | |
SolrBackendTestBase:: |
protected | function | ||
SolrBackendTestBase:: |
protected | function | ||
SolrBackendTestBase:: |
protected | function | ||
SolrBackendTestBase:: |
protected | function | Required parts of the setUp() function that are the same for all backends. | 2 |
SolrBackendTestBase:: |
protected | function | Executes a query and skips search_api post processing of results. | |
SolrBackendTestBase:: |
protected | function | Gets the Solr version. | |
SolrBackendTestBase:: |
protected | function | ||
SolrBackendTestBase:: |
public | function | ||
SolrBackendTestBase:: |
public | function | Clear the index after every test. | |
SolrBackendTestBase:: |
protected | function | ||
SolrCommitTrait:: |
protected | function | Explicitly sends a commit command to a Solr server. | |
SolrLegacyExtractionTest:: |
public static | property |
Modules to enable for this test. Overrides SolrBackendTestBase:: |
|
SolrLegacyExtractionTest:: |
protected | function |
Called by setUp() to install required configs. Overrides SolrBackendTestBase:: |