You are here

function backup_migrate_simpletest in Backup and Migrate 7.2

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.3 backup_migrate.module \backup_migrate_simpletest()

Implementation of hook_simpletest().

File

./backup_migrate.module, line 214
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

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