You are here

function backup_migrate_simpletest in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \backup_migrate_simpletest()
  2. 8.3 backup_migrate.module \backup_migrate_simpletest()
  3. 5.2 backup_migrate.module \backup_migrate_simpletest()
  4. 5 backup_migrate.module \backup_migrate_simpletest()
  5. 6.3 backup_migrate.module \backup_migrate_simpletest()
  6. 6.2 backup_migrate.module \backup_migrate_simpletest()
  7. 7.2 backup_migrate.module \backup_migrate_simpletest()

Implements hook_simpletest().

File

./backup_migrate.module, line 405
Backup and restore databases for Drupal.

Code

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