You are here

function shoutbox_simpletest in Shoutbox 6

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

Implementation of hook_simpletest().

File

./shoutbox.module, line 183
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() {
  $dir = drupal_get_path('module', 'shoutbox') . '/tests';
  $tests = file_scan_directory($dir, '\\.test$');
  return array_keys($tests);
}