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

CampaignItemsUtilTest Class Reference

Inheritance diagram for CampaignItemsUtilTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText ()
 testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags ()
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail ()
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail ()
 testProcessDueCampaignItemWithCustomFromAddressAndFromName ()
 testProcessDueCampaignItemWithValidMergeTags ()
 testProcessDueCampaignItemWithAttachments ()
 testGenerateCampaignItemsForDueCampaigns ()
 testGenerateCampaignItemsForDueCampaignsWithCustomBatchSize ()
 testProcessDueCampaignItemWithOptout ()
 testProcessDueCampaignItemWithReturnPathHeaders ()
 testProcessDueCampaignItemWithoutHtmlContent ()
 testProcessDueCampaignItemWithoutTextContent ()
 testProcessDueCampaignItemWithoutRichTextSupport ()
 testProcessDueCampaignItemWithModelUrlMergeTag ()
 testProcessDueCampaignItemSenderIsSetFromCampaign ()
 testProcessDueCampaignItemWithUnsubscribeUrlMergeTag ()
 testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag ()
 testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags ()
 testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags ()
 testProcessDueCampaignItemContactUnsubscribed ()

Static Public Member Functions

static setUpBeforeClass ()

Protected Attributes

 $user

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 86 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText NotFoundException

Definition at line 113 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags (  ) 

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable NotSupportedException Provided content contains few invalid merge tags

Definition at line 124 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags

Definition at line 148 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail (  ) 

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 200 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithCustomFromAddressAndFromName (  ) 

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 254 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithValidMergeTags (  ) 

testProcessDueCampaignItemWithCustomFromAddressAndFromName

Definition at line 310 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithAttachments (  ) 

testProcessDueCampaignItemWithValidMergeTags

Definition at line 368 of file CampaignItemsUtilTest.php.

testGenerateCampaignItemsForDueCampaigns (  ) 

testProcessDueCampaignItemWithAttachments

Definition at line 448 of file CampaignItemsUtilTest.php.

testGenerateCampaignItemsForDueCampaignsWithCustomBatchSize (  ) 

testGenerateCampaignItemsForDueCampaigns

Definition at line 500 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithOptout (  ) 

testGenerateCampaignItemsForDueCampaignsWithCustomBatchSize

Definition at line 618 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithReturnPathHeaders (  ) 

testProcessDueCampaignItemWithOptout

Definition at line 657 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutHtmlContent (  ) 

testProcessDueCampaignItemWithReturnPathHeaders

Definition at line 717 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutTextContent (  ) 

testProcessDueCampaignItemWithoutHtmlContent

Definition at line 750 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutRichTextSupport (  ) 

testProcessDueCampaignItemWithoutTextContent

Definition at line 783 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithModelUrlMergeTag (  ) 

testProcessDueCampaignItemWithoutRichTextSupport

Definition at line 816 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemSenderIsSetFromCampaign (  ) 

testProcessDueCampaignItemWithModelUrlMergeTag

Definition at line 853 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag (  ) 

testProcessDueCampaignItemSenderIsSetFromCampaign

Definition at line 886 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag (  ) 

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag

Definition at line 929 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags (  ) 

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag

Definition at line 972 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags (  ) 

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags

Definition at line 1024 of file CampaignItemsUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:22 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