### Eclipse Workspace Patch 1.0
#P backup_migrate
Index: backup_migrate.test
===================================================================
RCS file: backup_migrate.test
diff -N backup_migrate.test
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ backup_migrate.test	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,46 @@
+<?php
+// $Id $
+
+class BackupMigrateSQLTestCase extends DrupalWebTestCase {
+
+/**
+* Unit tests for Backup and Migrate module's sql dump functionality.
+*
+* */
+
+
+protected static $tableName="simpletest_backupmigrate";
+protected static $filePrefix = "simpletest_backup_migrate_";
+
+/**
+ * Implementation of getInfo().
+ */
+function getInfo() {
+    return array(
+      'name' => t('BackupMigrate SQL functionality'),
+      'description' => t('Test BackupMigrate\'s SQL dump related functions.'),
+      'group' => t('BackupMigrate')
+    );
+}
+
+/**
+ * Implementation of setUp().
+ */
+function setUp() {
+    parent::setUp();
+}
+
+
+function testNullFilenameHandling(){
+    $this->assertFalse( _backup_migrate_get_dump_sql( null, array(), array()), "fails gracefully on null filename");
+}
+
+
+function testGetTableNames(){
+    $allTables = _backup_migrate_get_table_names();
+    $this->assertTrue(is_array($allTables),t('function returns an array'));
+    $this->assertTrue(count($allTables) > 1,t('a lazy way to assert it returned data='));
+}
+
+
+}
