Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest Class Reference

Inheritance diagram for CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest:
BaseTest

Public Member Functions

 testGenerateOrUpdateTableBySchemaDefinitionWithEmptySchemaDefinition ()
 testGenerateOrUpdateTableBySchemaDefinitionWithNoTableName ()
 testGenerateOrUpdateTableBySchemaDefinitionWithTwoValuesInSchema ()
 testGenerateOrUpdateTableBySchemaDefinitionWithNoColumnsKey ()
 testGenerateOrUpdateTableBySchemaDefinitionWithNoColumns ()
 testGenerateOrUpdateTableBySchemaDefinitionWithNoIndexesKey ()
 testGenerateOrUpdateTableBySchemaDefinitionWithNoIndexes ()
 testGenerateOrUpdateTableBySchemaDefinitionWithColumnsMissingKeys ()
 testGenerateOrUpdateTableBySchemaDefinitionWithColumnsHavingExtraKeys ()
 testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingIntegerKeys ()
 testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingMoreThanTwoItems ()
 testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingNoColumnsKey ()
 testGenerateOrUpdateTableBySchemaDefinitionWithUIndexesHavingNoUniqueKey ()
 testGenerateOrUpdateTableBySchemaDefinitionWithIndexColumnKeyNotBeingArray ()
 testGenerateOrUpdateTableBySchemaDefinitionWithIndexColumnNotFound ()
 testGenerateOrUpdateTableBySchemaDefinitionWithValidSchema ()
 testGenerateOrUpdateTableBySchemaDefinitionWithValidButChangedSchemaForExistingTableWithIsFreshInstall ()
 testGenerateOrUpdateTableBySchemaDefinitionWithValidButChangedSchemaForExistingTableWithNoIsFreshInstall ()
 testGenerateOrUpdateTableBySchemaDefinitionChangingColumnLength ()

Static Public Member Functions

static setUpBeforeClass ()

Static Protected Attributes

static $messageLogger

Detailed Description

Definition at line 37 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.


Member Function Documentation

testGenerateOrUpdateTableBySchemaDefinitionWithEmptySchemaDefinition (  ) 

CException Invalid Schema definition received for . More than one table definitions defined in schema

Definition at line 55 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithNoTableName (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithEmptySchemaDefinition CException Invalid Schema definition received for 0. Table name: 0 is not string

Definition at line 67 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithTwoValuesInSchema (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithNoTableName CException Invalid Schema definition received for tableName. More than one table definitions defined in schema

Definition at line 92 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithNoColumnsKey (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithTwoValuesInSchema CException Invalid Schema definition received for tableName. Table schema should always contain 2 sub-definitions

Definition at line 131 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithNoColumns (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithNoColumnsKey

Definition at line 144 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithNoIndexesKey (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithNoColumns CException Invalid Schema definition received for tableName. Table schema should always contain 2 sub-definitions

Definition at line 164 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithNoIndexes (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithNoIndexesKey

Definition at line 186 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithColumnsMissingKeys (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithNoIndexes CException Invalid Schema definition received for tableName2. Column: hash definition should always have 6 clauses

Definition at line 216 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithColumnsHavingExtraKeys (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithColumnsMissingKeys CException Invalid Schema definition received for tableName2. Column: hash missing notNull clause

Definition at line 239 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingIntegerKeys (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithColumnsHavingExtraKeys CException Invalid Schema definition received for tableName2. Index Name: 0 is not a string

Definition at line 264 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingMoreThanTwoItems (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingIntegerKeys CException Invalid Schema definition received for tableName2. Index: indexName does not have 2 clauses

Definition at line 294 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingNoColumnsKey (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingMoreThanTwoItems CException Invalid Schema definition received for tableName2. Index: indexName does not have indexed column names

Definition at line 325 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithUIndexesHavingNoUniqueKey (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithIndexesHavingNoColumnsKey CException Invalid Schema definition received for tableName2. Index: indexName does not have index uniqueness clause defined

Definition at line 355 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithIndexColumnKeyNotBeingArray (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithUIndexesHavingNoUniqueKey CException Invalid Schema definition received for tableName2. Index: indexName column definition is not an array

Definition at line 385 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithIndexColumnNotFound (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithIndexColumnKeyNotBeingArray CException Invalid Schema definition received for tableName2. Index: indexName column: hasha does not exist in current schema definition provided

Definition at line 415 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithValidSchema (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithIndexColumnNotFound

Definition at line 443 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithValidButChangedSchemaForExistingTableWithIsFreshInstall (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithValidSchema

Definition at line 577 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionWithValidButChangedSchemaForExistingTableWithNoIsFreshInstall (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithValidButChangedSchemaForExistingTableWithIsFreshInstall

Definition at line 689 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.

testGenerateOrUpdateTableBySchemaDefinitionChangingColumnLength (  ) 

testGenerateOrUpdateTableBySchemaDefinitionWithValidButChangedSchemaForExistingTableWithNoIsFreshInstall

Definition at line 805 of file CreateOrUpdateExistingTableFromSchemaDefinitionArrayUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jan 15 07:10:23 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8