All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Attributes
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 ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Static Protected Attributes

static $messageLogger
 

Additional Inherited Members

- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 

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:
Generated on Fri Jun 5 2020 07:10:44