You are here

function activity_simpletest in Activity 6

Same name and namespace in other branches
  1. 5.4 activity.module \activity_simpletest()
  2. 5.3 activity.module \activity_simpletest()

Implementation of hook_simpletest().

File

./activity.module, line 1169
activity.module

Code

function activity_simpletest() {
  $module_name = 'activity';
  $dir = drupal_get_path('module', $module_name) . '/tests';
  $tests = file_scan_directory($dir, '\\.test$');
  return array_keys($tests);
}