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

Public Member Functions

 testResolveShouldAddFromTableWithAttributeCastedUpSeveralLevels ()
 
 testResolveShouldAddFromTableWithUserModelAndPersonAttribute ()
 
 testResolveShouldAddFromTableWithAttributeOnModelSameTable ()
 
 testResolveShouldAddFromTableWithOwnedCustomFieldAttribute ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

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

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- 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

Test out Zurmo specific things on the ModelDataProviderUtilTest like using Accounts or Contacts and how they cast up to Item.

Definition at line 41 of file ZurmoModelDataProviderUtilTest.php.

Member Function Documentation

testResolveShouldAddFromTableWithUserModelAndPersonAttribute ( )

testResolveShouldAddFromTableWithAttributeCastedUpSeveralLevels

Definition at line 66 of file ZurmoModelDataProviderUtilTest.php.

testResolveShouldAddFromTableWithAttributeOnModelSameTable ( )

testResolveShouldAddFromTableWithUserModelAndPersonAttribute

Definition at line 79 of file ZurmoModelDataProviderUtilTest.php.

testResolveShouldAddFromTableWithOwnedCustomFieldAttribute ( )

After work on reporting branch, this test was breaking. So we switched the test to show left joins as 0. This might be ok, just depends how you are using the adapter. Normally you would add more filters in which case a join would be added if you are filtering on something specific with industry testResolveShouldAddFromTableWithAttributeOnModelSameTable

Definition at line 95 of file ZurmoModelDataProviderUtilTest.php.


The documentation for this class was generated from the following file:
Generated on Sun May 31 2020 07:11:10