You are here

function domain_simpletest in Domain Access 7.2

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

Implements hook_simpletest()

File

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