You are here

public function IgnoreCharacterTest::ignoreCharacterSetsDataProvider in Search API 8

Data provider for testValueConfiguration().

File

tests/src/Unit/Processor/IgnoreCharacterTest.php, line 52

Class

IgnoreCharacterTest
Tests the "Ignore characters" processor.

Namespace

Drupal\Tests\search_api\Unit\Processor

Code

public function ignoreCharacterSetsDataProvider() {
  return [
    [
      'word_s',
      'words',
      [
        'Pc' => 'Pc',
      ],
    ],
    [
      'word⁔s',
      'words',
      [
        'Pc' => 'Pc',
      ],
    ],
    [
      'word〜s',
      'words',
      [
        'Pd' => 'Pd',
      ],
    ],
    [
      'w–ord⸗s',
      'words',
      [
        'Pd' => 'Pd',
      ],
    ],
    [
      'word⌉s',
      'words',
      [
        'Pe' => 'Pe',
      ],
    ],
    [
      'word⦊s〕',
      'words',
      [
        'Pe' => 'Pe',
      ],
    ],
    [
      'word»s',
      'words',
      [
        'Pf' => 'Pf',
      ],
    ],
    [
      'word⸍s',
      'words',
      [
        'Pf' => 'Pf',
      ],
    ],
    [
      'word⸂s',
      'words',
      [
        'Pi' => 'Pi',
      ],
    ],
    [
      'w«ord⸉s',
      'words',
      [
        'Pi' => 'Pi',
      ],
    ],
    [
      'words%',
      'words',
      [
        'Po' => 'Po',
      ],
    ],
    [
      'wo*rd/s',
      'words',
      [
        'Po' => 'Po',
      ],
    ],
    [
      'word༺s',
      'words',
      [
        'Ps' => 'Ps',
      ],
    ],
    [
      'w❮ord⌈s',
      'words',
      [
        'Ps' => 'Ps',
      ],
    ],
    [
      'word៛s',
      'words',
      [
        'Sc' => 'Sc',
      ],
    ],
    [
      'wo₥rd₦s',
      'words',
      [
        'Sc' => 'Sc',
      ],
    ],
    [
      'w˓ords',
      'words',
      [
        'Sk' => 'Sk',
      ],
    ],
    [
      'wo˘rd˳s',
      'words',
      [
        'Sk' => 'Sk',
      ],
    ],
    [
      'word×s',
      'words',
      [
        'Sm' => 'Sm',
      ],
    ],
    [
      'wo±rd؈s',
      'words',
      [
        'Sm' => 'Sm',
      ],
    ],
    [
      'wo᧧rds',
      'words',
      [
        'So' => 'So',
      ],
    ],
    [
      'w᧶ord᧲s',
      'words',
      [
        'So' => 'So',
      ],
    ],
    [
      "wor\nds",
      'words',
      [
        'Cc' => 'Cc',
      ],
    ],
    [
      "wo\frds",
      'words',
      [
        'Cc' => 'Cc',
      ],
    ],
    [
      'word۝s',
      'words',
      [
        'Cf' => 'Cf',
      ],
    ],
    [
      'wo᠎rd؁s',
      'words',
      [
        'Cf' => 'Cf',
      ],
    ],
    [
      'words',
      'words',
      [
        'Co' => 'Co',
      ],
    ],
    [
      'wo󿿽rds',
      'words',
      [
        'Co' => 'Co',
      ],
    ],
    [
      'wordॊs',
      'words',
      [
        'Mc' => 'Mc',
      ],
    ],
    [
      'worौdংs',
      'words',
      [
        'Mc' => 'Mc',
      ],
    ],
    [
      'wo⃞rds',
      'words',
      [
        'Me' => 'Me',
      ],
    ],
    [
      'wor⃤⃟ds',
      'words',
      [
        'Me' => 'Me',
      ],
    ],
    [
      'woྰrds',
      'words',
      [
        'Mn' => 'Mn',
      ],
    ],
    [
      'worྵdྶs',
      'words',
      [
        'Mn' => 'Mn',
      ],
    ],
    [
      'woྰrds',
      'words',
      [
        'Mn' => 'Mn',
        'Pd' => 'Pd',
        'Pe' => 'Pe',
      ],
    ],
    [
      'worྵdྶs',
      'words',
      [
        'Mn' => 'Mn',
        'Pd' => 'Pd',
        'Pe' => 'Pe',
      ],
    ],
  ];
}