You are here

function messaging_simpletest in Messaging 5

Implementation of hook_simpletest().

File

./messaging.module, line 973

Code

function messaging_simpletest() {
  $dir = drupal_get_path('module', 'messaging') . DIRECTORY_SEPARATOR . 'tests';
  require_once $dir . DIRECTORY_SEPARATOR . 'messaging_testcase.inc';
  $tests = file_scan_directory($dir, '\\.test');
  return array_keys($tests);
}