public function BasicTrackerTest::exceptionHandlingDataProvider in Search API 8
Provides test data for testExceptionHandling().
Return value
array[] An array of argument arrays for testExceptionHandling().
See also
\Drupal\Tests\search_api\Kernel\BasicTrackerTest::testExceptionHandling()
File
- tests/
src/ Kernel/ BasicTrackerTest.php, line 340
Class
- BasicTrackerTest
- Tests the "default" tracker plugin.
Namespace
Drupal\Tests\search_api\KernelCode
public function exceptionHandlingDataProvider() {
return [
'trackItemsInserted()' => [
'trackItemsInserted',
[
[
'',
],
],
],
'trackItemsUpdated()' => [
'trackItemsUpdated',
[
[
'',
],
],
],
'trackAllItemsUpdated()' => [
'trackAllItemsUpdated',
],
'trackItemsIndexed()' => [
'trackItemsIndexed',
[
[
'',
],
],
],
'trackItemsDeleted()' => [
'trackItemsDeleted',
],
'trackAllItemsDeleted()' => [
'trackAllItemsDeleted',
],
'getRemainingItems()' => [
'getRemainingItems',
],
'getTotalItemsCount()' => [
'getTotalItemsCount',
],
'getIndexedItemsCount()' => [
'getIndexedItemsCount',
],
'getRemainingItemsCount()' => [
'getRemainingItemsCount',
],
];
}