You are here

function shoutbox_simpletest in Shoutbox 5

Same name and namespace in other branches
  1. 6 shoutbox.module \shoutbox_simpletest()

Implementation of hook_simpletest().

File

./shoutbox.module, line 168
shoutbox module displays a block for users to create short messages for thw whole site. Uses AHAH to update the database and display content.

Code

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