AutoBuildDatabaseTest Class Reference

Inheritance diagram for AutoBuildDatabaseTest:
ZurmoBaseTest BaseTest

Public Member Functions

 testAutoBuildDatabase ()
 testColumnType ()
 testAutoBuildUpgrade ()

Static Public Member Functions

static setUpBeforeClass ()
static tearDownAfterClass ()

Protected Member Functions

 getDatabaseTypesByType ($type)

Detailed Description

Special class to isolate the autoBuildDatabase method and test that the rows are the correct count before and after running this method. AutoBuildDatabase is used both on installation but also during an upgrade or manually to update the database schema based on any detected changes.

Definition at line 43 of file AutoBuildDatabaseTest.php.


Member Function Documentation

testColumnType (  ) 

testAutoBuildDatabase

Definition at line 73 of file AutoBuildDatabaseTest.php.

testAutoBuildUpgrade (  ) 

testAutoBuildDatabase

Definition at line 138 of file AutoBuildDatabaseTest.php.

getDatabaseTypesByType ( type  )  [protected]

Based on type validator from models, get database column type

Parameters:
string $type
Returns:
array

Definition at line 276 of file AutoBuildDatabaseTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jun 24 07:10:22 2017