You are here

function nodehierarchy_simpletest in Node Hierarchy 6

Same name and namespace in other branches
  1. 6.3 nodehierarchy.module \nodehierarchy_simpletest()
  2. 6.2 nodehierarchy.module \nodehierarchy_simpletest()
  3. 7.2 nodehierarchy.module \nodehierarchy_simpletest()

Implementation of hook_simpletest().

File

./nodehierarchy.module, line 29

Code

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