class ContentAccessTest in Search API Solr 4.x
Same name in this branch
- 4.x tests/src/Kernel/Processor/ContentAccessTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\ContentAccessTest
- 4.x modules/search_api_solr_legacy/tests/src/Kernel/Processor/ContentAccessTest.php \Drupal\Tests\search_api_solr_legacy\Kernel\Processor\ContentAccessTest
Same name and namespace in other branches
- 8.3 tests/src/Kernel/Processor/ContentAccessTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\ContentAccessTest
- 8 tests/src/Kernel/Processor/ContentAccessTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\ContentAccessTest
- 8.2 tests/src/Kernel/Processor/ContentAccessTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\ContentAccessTest
Tests the "Content access" processor.
@group search_api_solr
Hierarchy
- class \Drupal\Tests\search_api_solr\Kernel\Processor\ContentAccessTest extends \Drupal\Tests\search_api\Kernel\Processor\ContentAccessTest uses SolrBackendTrait
Expanded class hierarchy of ContentAccessTest
See also
\Drupal\search_api\Plugin\search_api\processor\ContentAccess
1 file declares its use of ContentAccessTest
- ContentAccessTest.php in modules/
search_api_solr_legacy/ tests/ src/ Kernel/ Processor/ ContentAccessTest.php
File
- tests/
src/ Kernel/ Processor/ ContentAccessTest.php, line 14
Namespace
Drupal\Tests\search_api_solr\Kernel\ProcessorView source
class ContentAccessTest extends SearchApiContentAccessTest {
use SolrBackendTrait;
/**
* {@inheritdoc}
*/
public static $modules = [
'search_api_solr',
'search_api_solr_test',
];
/**
* {@inheritdoc}
*/
public function setUp($processor = NULL) : void {
parent::setUp();
$this
->enableSolrServer();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentAccessTest:: |
public static | property | 1 | |
ContentAccessTest:: |
public | function | ||
SolrBackendTrait:: |
protected | function | Swap the DB backend for a Solr backend. | 3 |
SolrBackendTrait:: |
protected | function | ||
SolrBackendTrait:: |
protected | function | ||
SolrCommitTrait:: |
protected | function | Explicitly sends a commit command to a Solr server. |