public static function PhpUnitAutoloaderTest::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/PhpUnitAutoloaderTest.php, line 17
Contains \Drupal\simpletest\Tests\PhpUnitAutoloaderTest.

Class

PhpUnitAutoloaderTest
Test PHPUnit autoloader works correctly.

Namespace

Drupal\simpletest\Tests

Code

public static function getInfo() {
  return array(
    'name' => 'PHPUnit autoloader',
    'description' => 'Test that classes are correctly loaded during PHPUnit initialization.',
    'group' => 'Simpletest',
  );
}