You are here

class SolrLegacyExtractionTest in Search API Solr 4.x

Test tika extension based PDF extraction.

@group search_api_solr_legacy

Hierarchy

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\Kernel
View 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

Namesort descending Modifiers Type Description Overrides
SearchApiSolrExtractionTest::testBackend public function Test tika extension based PDF extraction.
SolrBackendTestBase::$indexId protected property A Search API index ID. 1
SolrBackendTestBase::$logger protected property The in-memory logger.
SolrBackendTestBase::$serverId protected property A Search API server ID. 1
SolrBackendTestBase::assertLogMessage protected function Tests the last logged level and message.
SolrBackendTestBase::checkIndexWithoutFields protected function
SolrBackendTestBase::checkModuleUninstall protected function 1
SolrBackendTestBase::checkSecondServer protected function
SolrBackendTestBase::checkServerBackend protected function
SolrBackendTestBase::clearIndex protected function
SolrBackendTestBase::commonSolrBackendSetUp protected function Required parts of the setUp() function that are the same for all backends. 2
SolrBackendTestBase::executeQueryWithoutPostProcessing protected function Executes a query and skips search_api post processing of results.
SolrBackendTestBase::getSolrVersion protected function Gets the Solr version.
SolrBackendTestBase::indexItems protected function
SolrBackendTestBase::setUp public function
SolrBackendTestBase::tearDown public function Clear the index after every test.
SolrBackendTestBase::updateIndex protected function
SolrCommitTrait::ensureCommit protected function Explicitly sends a commit command to a Solr server.
SolrLegacyExtractionTest::$modules public static property Modules to enable for this test. Overrides SolrBackendTestBase::$modules
SolrLegacyExtractionTest::installConfigs protected function Called by setUp() to install required configs. Overrides SolrBackendTestBase::installConfigs