function domain_simpletest in Domain Access 7.3
Same name and namespace in other branches
- 5 domain.module \domain_simpletest()
- 6.2 domain.module \domain_simpletest()
- 7.2 domain.module \domain_simpletest()
Implements hook_simpletest()
File
- ./
domain.module, line 3445 - Core module functions for the Domain Access suite.
Code
function domain_simpletest() {
$module_name = 'domain';
$dir = drupal_get_path('module', $module_name) . '/tests';
$tests = file_scan_directory($dir, '/\\.test$/');
return array_keys($tests);
}