ZurmoModelDataProviderUtilTest Class Reference

Inheritance diagram for ZurmoModelDataProviderUtilTest:
ZurmoBaseTest BaseTest

Public Member Functions

 testResolveShouldAddFromTableWithAttributeCastedUpSeveralLevels ()
 testResolveShouldAddFromTableWithUserModelAndPersonAttribute ()
 testResolveShouldAddFromTableWithAttributeOnModelSameTable ()
 testResolveShouldAddFromTableWithOwnedCustomFieldAttribute ()

Static Public Member Functions

static setUpBeforeClass ()

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:
 All Data Structures Functions Variables
Generated on Fri Jul 21 07:10:31 2017