Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ItemTest Class Reference

Inheritance diagram for ItemTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testNewModelCreatedAndModifiedByUserIsNull ()
 testCreationAndModificationTimes ()
 testExtraItemsCreatedOnModelInstantiation ()
 testItemReadOnlyFieldsCreatedTime ()
 testItemReadOnlyFieldsCreatedUser ()
 testItemReadOnlyFieldsModifiedTime ()
 testItemReadOnlyFieldsModifiedUser ()
 testItemReadOnlyChangeScenarioSoCanPopulate ()
 testCreatedByAndModifiedByUsersPopulateCorrectly ()
 testWorkflowsToProcessAfterSave ()
 testReadOnlyFieldsOnSearchScenario ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Definition at line 37 of file ItemTest.php.


Member Function Documentation

testNewModelCreatedAndModifiedByUserIsNull (  ) 

This test serves to confirm createdBy/ModifiedBy user is setting/getting properly. This test was added after the import work as part of a refactor to allow for readOnly attributes to be set externally.

Definition at line 55 of file ItemTest.php.

testExtraItemsCreatedOnModelInstantiation (  ) 

testCreationAndModificationTimes

Definition at line 132 of file ItemTest.php.

testItemReadOnlyFieldsCreatedTime (  ) 

testCreationAndModificationTimes NotSupportedException

Definition at line 144 of file ItemTest.php.

testItemReadOnlyFieldsCreatedUser (  ) 

testCreationAndModificationTimes NotSupportedException

Definition at line 156 of file ItemTest.php.

testItemReadOnlyFieldsModifiedTime (  ) 

testCreationAndModificationTimes NotSupportedException

Definition at line 168 of file ItemTest.php.

testItemReadOnlyFieldsModifiedUser (  ) 

testCreationAndModificationTimes NotSupportedException

Definition at line 180 of file ItemTest.php.

testItemReadOnlyChangeScenarioSoCanPopulate (  ) 

testItemReadOnlyFieldsModifiedUser

Definition at line 190 of file ItemTest.php.

testCreatedByAndModifiedByUsersPopulateCorrectly (  ) 

testItemReadOnlyChangeScenarioSoCanPopulate

Definition at line 229 of file ItemTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:54 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8