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

Public Member Functions

 setUp ()
 
 testNewModelCreatedAndModifiedByUserIsNull ()
 
 testCreationAndModificationTimes ()
 
 testExtraItemsCreatedOnModelInstantiation ()
 
 testItemReadOnlyFieldsCreatedTime ()
 
 testItemReadOnlyFieldsCreatedUser ()
 
 testItemReadOnlyFieldsModifiedTime ()
 
 testItemReadOnlyFieldsModifiedUser ()
 
 testItemReadOnlyChangeScenarioSoCanPopulate ()
 
 testCreatedByAndModifiedByUsersPopulateCorrectly ()
 
 testWorkflowsToProcessAfterSave ()
 
 testReadOnlyFieldsOnSearchScenario ()
 
- 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

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:
Generated on Fri Jun 5 2020 07:10:51