function ContentCrudTestCase::_assertTableNotExists in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 6.3 tests/content.crud.test \ContentCrudTestCase::_assertTableNotExists()
- 6.2 tests/content.crud.test \ContentCrudTestCase::_assertTableNotExists()
Helper function for assertSchemaMatchesTables Checks that the given database table does NOT exist
Parameters
$table Name of the table to check:
1 call to ContentCrudTestCase::_assertTableNotExists()
- ContentCrudTestCase::assertSchemaMatchesTables in tests/content.crud.test 
- Checks that the database itself and the reported database schema match the expected columns for the given tables.
File
- tests/content.crud.test, line 78 
Class
- ContentCrudTestCase
- Base class for CCK CRUD tests. Defines many helper functions useful for writing CCK CRUD tests.
Code
function _assertTableNotExists($table) {
  $this
    ->assertFalse(db_table_exists($table), t('Table !table is absent', array(
    '!table' => $table,
  )));
}