You are here

public function UnicodeTest::providerStrtoupper in Drupal 8

Data provider for testStrtoupper().

Return value

array An array containing a string and its uppercase version.

See also

testStrtoupper()

File

core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php, line 139

Class

UnicodeTest
Test unicode handling features implemented in Unicode component.

Namespace

Drupal\Tests\Component\Utility

Code

public function providerStrtoupper() {
  return [
    [
      'tHe QUIcK bRoWn',
      'THE QUICK BROWN',
    ],
    [
      'FrançAIS is ÜBER-åwesome',
      'FRANÇAIS IS ÜBER-ÅWESOME',
    ],
    [
      'αβγδεζηθικλμνξοσὠ',
      'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
    ],
  ];
}