All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
AutoBuildDatabaseTest Class Reference
Inheritance diagram for AutoBuildDatabaseTest:
ZurmoBaseTest BaseTest

Public Member Functions

 testAutoBuildDatabase ()
 
 testColumnType ()
 
 testAutoBuildUpgrade ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

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

Protected Member Functions

 getDatabaseTypesByType ($type)
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

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 137 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 275 of file AutoBuildDatabaseTest.php.


The documentation for this class was generated from the following file:
Generated on Sat Jun 6 2020 07:10:40