public static function PhpUnitErrorTest::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/simpletest/tests/Drupal/simpletest/Tests/PhpUnitErrorTest.php, line 12

Class

PhpUnitErrorTest
Test PHPUnit errors are getting converted to Simpletest errors.

Namespace

Drupal\simpletest\Tests

Code

public static function getInfo() {
  return array(
    'name' => 'PHPUnit errors',
    'description' => 'Test PHPUnit errors getting converted to Simpletest errors.',
    'group' => 'Simpletest',
  );
}