public static function FileStorageTest::getInfo

Same name in this branch
  1. 8.x drupal/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php \Drupal\Tests\Component\PhpStorage\FileStorageTest::getInfo()
  2. 8.x drupal/core/modules/config/lib/Drupal/config/Tests/Storage/FileStorageTest.php \Drupal\config\Tests\Storage\FileStorageTest::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/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php, line 15
Definition of Drupal\Tests\Component\PhpStorage\FileStorageTest.

Class

FileStorageTest
Tests the simple file storage.

Namespace

Drupal\Tests\Component\PhpStorage

Code

public static function getInfo() {
  return array(
    'name' => 'Simple file storage',
    'description' => 'Tests the FileStorage implementation.',
    'group' => 'PHP Storage',
  );
}