table_list.test in DB Maintenance 5.2
Same filename and directory in other branches
File
tests/table_list.testView 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
Name | Description |
---|---|
DBMaintenanceTableTest |