You are here

table_list.test in DB Maintenance 5.2

Same filename and directory in other branches
  1. 5 tests/table_list.test

File

tests/table_list.test
View source
<?php

class DBMaintenanceTableTest extends DrupalTestCase {
  function get_info() {
    return array(
      'name' => 'Table list',
      'desc' => 'Make sure table names are returned for populating forms.',
      'group' => 'DB Maintenance',
    );
  }
  function testTableList() {
    $result = _db_maintenance_list_mysql_tables();
    $this
      ->assertNotNull($result);
    $this
      ->assertIsA($result, 'array');
    $this
      ->assertNotIdentical(sizeof($result), 0);
  }

}

Classes