1 simpletest.module | simpletest_test_get_by_class($class) |
Get information about a test by its class name.
File
- core/
modules/ simpletest/ simpletest.module, line 463 - Provides testing functionality.
Code
function simpletest_test_get_by_class($class) {
$groups = simpletest_test_get_all();
foreach ($groups as $classes) {
if (array_key_exists($class, $classes)) {
return $classes[$class];
}
}
return FALSE;
}