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:
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 ()

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 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:
 All Data Structures Functions Variables
Generated on Wed Jun 26 07:10:57 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