protected static function AutoloadTestBase::info in Autoload 7.2
Returns an information about the test.
Parameters
string $description: Test description.
Return value
array An information about the test.
5 calls to AutoloadTestBase::info()
- CacheTest::getInfo in src/
Tests/ Unit/ CacheTest.php - CustomTest::getInfo in src/
Tests/ Unit/ CustomTest.php - DrupalTest::getInfo in src/
Tests/ Unit/ DrupalTest.php - EntityTest::getInfo in src/
Tests/ Unit/ EntityTest.php - ExtensionsTest::getInfo in src/
Tests/ Unit/ ExtensionsTest.php
File
- src/
Tests/ Unit/ AutoloadTestBase.php, line 36
Class
- AutoloadTestBase
- Class UnitTest.
Namespace
Drupal\autoload\Tests\UnitCode
protected static function info($description) {
$parts = explode('\\', get_called_class());
return array(
// Use class name as name of the test.
'name' => end($parts),
// The "1" will always contain the name of module.
'group' => $parts[1],
'description' => $description,
);
}