function password_policy_simpletest in Password Policy 5
Same name and namespace in other branches
- 6 password_policy.module \password_policy_simpletest()
Implementation of hook_simpletest() for use with the simpletest module.
File
- ./
password_policy.module, line 720
Code
function password_policy_simpletest() {
$dir = drupal_get_path('module', 'password_policy');
$tests = file_scan_directory($dir, '\\.test$');
return array_keys($tests);
}