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

Public Member Functions

 setUp ()
 
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml ()
 
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText ()
 
 testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable ()
 
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags ()
 
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail ()
 
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail ()
 
 testProcessDueCampaignItemWithCustomFromAddressAndFromName ()
 
 testProcessDueCampaignItemWithValidMergeTags ()
 
 testProcessDueCampaignItemWithAttachments ()
 
 testGenerateCampaignItemsForDueCampaigns ()
 
 testProcessDueCampaignItemWithOptout ()
 
 testProcessDueCampaignItemWithReturnPathHeaders ()
 
 testProcessDueCampaignItemWithoutHtmlContent ()
 
 testProcessDueCampaignItemWithoutTextContent ()
 
 testProcessDueCampaignItemWithoutRichTextSupport ()
 
 testProcessDueCampaignItemWithModelUrlMergeTag ()
 
 testProcessDueCampaignItemSenderIsSetFromCampaign ()
 
 testProcessDueCampaignItemWithUnsubscribeUrlMergeTag ()
 
 testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag ()
 
 testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags ()
 
 testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags ()
 
 testProcessDueCampaignItemContactUnsubscribed ()
 
- 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)
 

Protected Attributes

 $user
 

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 CampaignItemsUtilTest.php.

Member Function Documentation

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml ( )

Do not throw exception. That means it passes

Definition at line 59 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText ( )

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml Do not throw exception. That means it passes

Definition at line 87 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable ( )

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText NotFoundException

Definition at line 114 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags ( )

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable NotSupportedException Provided content contains few invalid merge tags

Definition at line 125 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail ( )

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags

Definition at line 150 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail ( )

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 203 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithCustomFromAddressAndFromName ( )

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 258 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithValidMergeTags ( )

testProcessDueCampaignItemWithCustomFromAddressAndFromName

Definition at line 315 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithAttachments ( )

@//depends testProcessDueCampaignItemWithValidMergeTags

Definition at line 374 of file CampaignItemsUtilTest.php.

testGenerateCampaignItemsForDueCampaigns ( )

testProcessDueCampaignItemWithAttachments

Definition at line 455 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithOptout ( )

testGenerateCampaignItemsForDueCampaigns

Definition at line 503 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithReturnPathHeaders ( )

testProcessDueCampaignItemWithOptout

Definition at line 542 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutHtmlContent ( )

testProcessDueCampaignItemWithReturnPathHeaders

Definition at line 603 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutTextContent ( )

testProcessDueCampaignItemWithoutHtmlContent

Definition at line 637 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutRichTextSupport ( )

testProcessDueCampaignItemWithoutTextContent

Definition at line 671 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithModelUrlMergeTag ( )

testProcessDueCampaignItemWithoutRichTextSupport

Definition at line 705 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemSenderIsSetFromCampaign ( )

testProcessDueCampaignItemWithModelUrlMergeTag

Definition at line 741 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag ( )

testProcessDueCampaignItemSenderIsSetFromCampaign

Definition at line 775 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag ( )

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag

Definition at line 817 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags ( )

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag

Definition at line 859 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags ( )

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags

Definition at line 908 of file CampaignItemsUtilTest.php.


The documentation for this class was generated from the following file:
Generated on Mon Apr 6 2020 07:10:51