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 (  ) 


Definition at line 73 of file AutoBuildDatabaseTest.php.

testAutoBuildUpgrade (  ) 


Definition at line 137 of file AutoBuildDatabaseTest.php.

getDatabaseTypesByType ( type  )  [protected]

Based on type validator from models, get database column type

string $type

Definition at line 275 of file AutoBuildDatabaseTest.php.

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