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

Public Member Functions

 setUp ()
 
 testGetModuleClassName ()
 
 testCreateAndGetCampaignItemById ()
 
 testRequiredAttributes ()
 
 testGetByProcessed ()
 
 testGetByProcessedAndSendOnDateTime ()
 
 testGetByProcessedAndStatusAndSendOnDateTime ()
 
 testGetByProcessedAndCampaignId ()
 
 testGetLabel ()
 
 testDeleteCampaignItem ()
 
 testIsQueued ()
 
 testIsSkipped ()
 
 testIsSent ()
 
 testHasFailedToSend ()
 
 testHasAtLeastOneOpenActivity ()
 
 testHasAtLeastOneClickActivity ()
 
 testHasAtLeastOneUnsubscribeActivity ()
 
 testHasAtLeastOneBounceActivity ()
 
 testGetNotViewedContactIds ()
 
 testGetCountOfNotViewedContactIds ()
 
 testGetNotClickedOrUnsubscribedOrSpamContactIds ()
 
 testGetCountOfNotClickedOrUnsubscribedOrSpamContactIds ()
 
 testGetContactIdsFromCampaignItemsByActivityTypeAndCampaign ()
 
 testGetCountOfCampaignItemsByActivityTypeAndCampaign ()
 
- 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 AutoresponderOrCampaignBaseTest
 processDueItem (OwnedModel &$item)
 
 getClassName ()
 
 getItemClassName ()
 
 getItemUtil ()
 
 resolveEmailMessage ($subject= 'Subject', $textContent= 'My First Message', $htmlContent= 'Some fake HTML content', $fromAddress= 'zurmo @zurmo.org', $fromName= 'Zurmo', $toAddress= 'bob.message @zurmotest.com', $toName=null, $contact=null)
 
- 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 36 of file CampaignItemTest.php.

Member Function Documentation

testRequiredAttributes ( )

testCreateAndGetCampaignItemById

Definition at line 70 of file CampaignItemTest.php.

testGetByProcessed ( )

testCreateAndGetCampaignItemById

Definition at line 83 of file CampaignItemTest.php.

testGetByProcessedAndSendOnDateTime ( )

testGetByProcessed

Definition at line 108 of file CampaignItemTest.php.

testGetByProcessedAndStatusAndSendOnDateTime ( )

testGetByProcessed

Definition at line 186 of file CampaignItemTest.php.

testGetByProcessedAndCampaignId ( )

testGetByProcessed

Definition at line 313 of file CampaignItemTest.php.

testGetLabel ( )

testGetByProcessedAndCampaignId

Definition at line 389 of file CampaignItemTest.php.

testDeleteCampaignItem ( )

testCreateAndGetCampaignItemById

Definition at line 400 of file CampaignItemTest.php.

testIsQueued ( )

testDeleteCampaignItem

Definition at line 441 of file CampaignItemTest.php.

testIsSkipped ( )

testIsQueued

Definition at line 473 of file CampaignItemTest.php.

testIsSent ( )

testIsSkipped

Definition at line 505 of file CampaignItemTest.php.

testHasFailedToSend ( )

testIsSent

Definition at line 541 of file CampaignItemTest.php.

testHasAtLeastOneOpenActivity ( )

testHasFailedToSend

Definition at line 577 of file CampaignItemTest.php.

testHasAtLeastOneClickActivity ( )

testHasAtLeastOneOpenActivity

Definition at line 611 of file CampaignItemTest.php.

testHasAtLeastOneUnsubscribeActivity ( )

testHasAtLeastOneClickActivity

Definition at line 645 of file CampaignItemTest.php.

testHasAtLeastOneBounceActivity ( )

testHasAtLeastOneUnsubscribeActivity

Definition at line 679 of file CampaignItemTest.php.

testGetCountOfNotViewedContactIds ( )

testGetNotViewedContactIds

Definition at line 793 of file CampaignItemTest.php.

testGetCountOfNotClickedOrUnsubscribedOrSpamContactIds ( )

testGetNotClickedOrUnsubscribedOrSpamContactIds

Definition at line 909 of file CampaignItemTest.php.

testGetCountOfCampaignItemsByActivityTypeAndCampaign ( )

testGetContactIdsFromCampaignItemsByActivityTypeAndCampaign

Definition at line 1042 of file CampaignItemTest.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:41