You are here

function content_profile_simpletest in Content Profile 6

Implementation of hook_simpletest().

File

./content_profile.module, line 660

Code

function content_profile_simpletest() {

  // Scan through content_profile/tests directory for any .test files to tell SimpleTest module.
  $tests = file_scan_directory(drupal_get_path('module', 'content_profile') . '/tests', '\\.test');
  return array_keys($tests);
}