public static function MachineNameControllerTest::getInfo

This method exists to support the simpletest UI runner.

It should eventually be replaced with something native to phpunit.

Also, this method is empty because you can't have an abstract static method. Sub-classes should always override it.

Return value

array An array describing the test like so: array( 'name' => 'Something Test', 'description' => 'Tests Something', 'group' => 'Something', )

Overrides UnitTestCase::getInfo

File

drupal/core/modules/system/tests/Drupal/system/Tests/Transliteration/MachineNameControllerTest.php, line 30
Contains \Drupal\system\Tests\Transliteration\MachineNameControllerTest.

Class

MachineNameControllerTest
Tests machine name controller's transliteration functionality.

Namespace

Drupal\system\Tests\Transliteration

Code

public static function getInfo() {
  return array(
    'name' => 'Machine name controller tests',
    'description' => 'Tests that the machine name controller can transliterate strings as expected.',
    'group' => 'Transliteration',
  );
}