You are here

function domain_simpletest in Domain Access 6.2

Same name and namespace in other branches
  1. 5 domain.module \domain_simpletest()
  2. 7.3 domain.module \domain_simpletest()
  3. 7.2 domain.module \domain_simpletest()

Implement hook_simpletest()

File

./domain.module, line 2812
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);
}