public static function MTimeProtectedFileStorageTest::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

1 method overrides MTimeProtectedFileStorageTest::getInfo()
MTimeProtectedFastFileStorageTest::getInfo in drupal/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php
This method exists to support the simpletest UI runner.

File

drupal/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php, line 27
Definition of Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageTest.

Class

MTimeProtectedFileStorageTest
Tests the directory mtime based PHP loader implementation.

Namespace

Drupal\Tests\Component\PhpStorage

Code

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