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

Public Member Functions

 setUp ()
 
 testUpdateDescriptionWhenAccountIsCreatedAndOwnerIsJim ()
 
 testCreateARelatedContactOnAnOpportunityWhenOpportunityBecomesClosedWon ()
 
 testAWorkflowProcess ()
 
 testUpdateRelatedCatalogItemOnAProductBySellPriceCriteria ()
 
 testProcessBeforeSaveOnCreatedByUserEquals ()
 
 testProcessBeforeSaveOnModifiedByUserEquals ()
 
 testSubscribeToListAction ()
 
 testProcessWorkflowForTaskWhenProjectAsARequiredCustomPicklist ()
 
- Public Member Functions inherited from WorkflowBaseTest
 setUp ()
 
- 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 WorkflowBaseTest
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)
 

Static Protected Attributes

static $jimmy
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

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)
 

Detailed Description

Definition at line 37 of file WorkflowDocumentationTest.php.

Member Function Documentation

testUpdateDescriptionWhenAccountIsCreatedAndOwnerIsJim ( )

A simple workflow that is only triggered on a new account being created. If the owner is jimmy it means that the description will be updated with some text.

Definition at line 64 of file WorkflowDocumentationTest.php.

testProcessBeforeSaveOnCreatedByUserEquals ( )

Tests that a bug involving createdByUser is resolved. The issue was that createdByUser is not set until after the workflow observer is called beforeSave. This behavior was changed and now this test passes

Definition at line 240 of file WorkflowDocumentationTest.php.

testProcessBeforeSaveOnModifiedByUserEquals ( )

A test to show that the modifiedByUser works ok as a trigger with 'equals' on a newly created model.

See Also
testProcessBeforeSaveOnCreatedByUserEquals

Definition at line 284 of file WorkflowDocumentationTest.php.

testSubscribeToListAction ( )

Tests subscribing a contact to a marketing list

Definition at line 327 of file WorkflowDocumentationTest.php.

testProcessWorkflowForTaskWhenProjectAsARequiredCustomPicklist ( )

Tests that a bug involving creating a required custom picklist on projects causes the workflow to break when creating a task

Definition at line 371 of file WorkflowDocumentationTest.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 21 2020 07:10:50