You are here

function session_api_simpletest in Session API 6

Same name and namespace in other branches
  1. 5 session_api.module \session_api_simpletest()

Implementation of hook_simpletest().

File

./session_api.module, line 124
The Session API module provides a quick interface for storing information in the session.

Code

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