[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/ddl/tests/ -> ddl_test.php (summary)

DDL layer tests.

Copyright: 2008 Nicolas Connault
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 2111 lines (93 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_ddl_testcase:: (38 methods):
  setUp()
  create_deftable()
  fill_deftable()
  test_table_exists()
  test_create_table()
  test_row_size_limits()
  test_drop_table()
  test_rename_table()
  test_field_exists()
  test_add_field()
  test_drop_field()
  test_change_field_type()
  test_change_field_precision()
  testChangeFieldNullability()
  testChangeFieldDefault()
  testAddUniqueIndex()
  testAddNonUniqueIndex()
  testFindIndexName()
  testDropIndex()
  testAddUniqueKey()
  testAddForeignUniqueKey()
  testDropKey()
  testAddForeignKey()
  testDropForeignKey()
  testRenameField()
  testIndexExists()
  testFindKeyName()
  testDeleteTablesFromXmldbFile()
  testInstallFromXmldbFile()
  test_temp_tables()
  test_concurrent_temp_tables()
  test_reset_sequence()
  test_reserved_words()
  test_index_hints()
  test_index_max_bytes()
  test_index_composed_max_bytes()
  test_char_size_limit()
  test_object_name()


Class: core_ddl_testcase  - X-Ref

setUp()   X-Ref
No description

create_deftable($tablename)   X-Ref
No description

fill_deftable($tablename)   X-Ref
Fill the given test table with some records, as far as
DDL behaviour must be tested both with real data and
with empty tables

param: string $tablename
return: int count of records

test_table_exists()   X-Ref
Test behaviour of table_exists()


test_create_table()   X-Ref
Test behaviour of create_table()


test_row_size_limits()   X-Ref
Test if database supports tables with many TEXT fields,
InnoDB is known to failed during data insertion instead
of table creation when text fields contain actual data.


test_drop_table()   X-Ref
Test behaviour of drop_table()


test_rename_table()   X-Ref
Test behaviour of rename_table()


test_field_exists()   X-Ref
Test behaviour of field_exists()


test_add_field()   X-Ref
Test behaviour of add_field()


test_drop_field()   X-Ref
Test behaviour of drop_field()


test_change_field_type()   X-Ref
Test behaviour of change_field_type()


test_change_field_precision()   X-Ref
Test behaviour of test_change_field_precision()


testChangeFieldNullability()   X-Ref
No description

testChangeFieldDefault()   X-Ref
No description

testAddUniqueIndex()   X-Ref
No description

testAddNonUniqueIndex()   X-Ref
No description

testFindIndexName()   X-Ref
No description

testDropIndex()   X-Ref
No description

testAddUniqueKey()   X-Ref
No description

testAddForeignUniqueKey()   X-Ref
No description

testDropKey()   X-Ref
No description

testAddForeignKey()   X-Ref
No description

testDropForeignKey()   X-Ref
No description

testRenameField()   X-Ref
No description

testIndexExists()   X-Ref
No description

testFindKeyName()   X-Ref
No description

testDeleteTablesFromXmldbFile()   X-Ref
No description

testInstallFromXmldbFile()   X-Ref
No description

test_temp_tables()   X-Ref
No description

test_concurrent_temp_tables()   X-Ref
No description

test_reset_sequence()   X-Ref
No description

test_reserved_words()   X-Ref
No description

test_index_hints()   X-Ref
No description

test_index_max_bytes()   X-Ref
No description

test_index_composed_max_bytes()   X-Ref
No description

test_char_size_limit()   X-Ref
No description

test_object_name()   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1