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

EmailMessageActivityUtilTest Class Reference

Inheritance diagram for EmailMessageActivityUtilTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForNonHexadecimalHash ()
 testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForIndecipherableHexadecimalHash ()
 testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForDecipherableHexadecimalHashWithMissingParameters ()
 testResolveQueryStringFromUrlAndCreateNewActivityDoesNotThrowsExceptionForMissingUrlParameter ()
 testReturnTrueWithNoTracking ()
 testTextContentDoesNotChangeWhenNoLinksArePresent ()
 testReturnsFalseWithFewTrackingUrlsInPlaceAlready ()
 testTextContentLinksAreConvertedToTracked ()
 testTextContentLinkConversionIgnoresHref ()
 testHtmlContentWithoutAnyLinksAndNoDOMStructureStillGetsEmailOpenTracking ()
 testHtmlContentWithMultipleClosingBodyTagsGetOnlyOneEmailOpenTracking ()
 testHtmlContentWithoutAnyLinksAndSomeDOMStructureStillGetsEmailOpenTracking ()
 testHtmlContentWithPlainLinkGetsTracking ()
 testHtmlContentWithValidHrefAndPlainLinkGetsTracking ()
 testResolveQueryStringArrayForHashWithAndWithoutUrlInQueryString ()
 testTextContentGetsCustomFooterAppended ()
 testHtmlContentGetsCustomFooterAppended ()

Static Public Member Functions

static setUpBeforeClass ()

Static Protected Member Functions

static resolveContent (&$content, $tracking=true, $isHtmlContent=true)
static resolveContentForMergeTags (&$content)

Detailed Description

Definition at line 37 of file EmailMessageActivityUtilTest.php.


Member Function Documentation

testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForNonHexadecimalHash (  ) 
testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForIndecipherableHexadecimalHash (  ) 

testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForNonHexadecimalHash NotSupportedException

Definition at line 65 of file EmailMessageActivityUtilTest.php.

testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForIndecipherableHexadecimalHash NotSupportedException

Definition at line 75 of file EmailMessageActivityUtilTest.php.

testResolveQueryStringFromUrlAndCreateNewActivityDoesNotThrowsExceptionForMissingUrlParameter (  ) 

testResolveQueryStringFromUrlAndCreateNewActivityThrowsExceptionForDecipherableHexadecimalHashWithMissingParameters

Definition at line 89 of file EmailMessageActivityUtilTest.php.

testTextContentDoesNotChangeWhenNoLinksArePresent (  ) 

testReturnTrueWithNoTracking

Definition at line 126 of file EmailMessageActivityUtilTest.php.

testReturnsFalseWithFewTrackingUrlsInPlaceAlready (  ) 

testTextContentDoesNotChangeWhenNoLinksArePresent

Definition at line 139 of file EmailMessageActivityUtilTest.php.

testTextContentLinksAreConvertedToTracked (  ) 

testReturnsFalseWithFewTrackingUrlsInPlaceAlready

Definition at line 149 of file EmailMessageActivityUtilTest.php.

testTextContentLinkConversionIgnoresHref (  ) 

testTextContentLinksAreConvertedToTracked

Definition at line 170 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithoutAnyLinksAndNoDOMStructureStillGetsEmailOpenTracking (  ) 

testTextContentLinkConversionIgnoresHref

Definition at line 186 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithMultipleClosingBodyTagsGetOnlyOneEmailOpenTracking (  ) 

testHtmlContentWithoutAnyLinksAndNoDOMStructureStillGetsEmailOpenTracking

Definition at line 203 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithoutAnyLinksAndSomeDOMStructureStillGetsEmailOpenTracking (  ) 

testHtmlContentWithMultipleClosingBodyTagsGetOnlyOneEmailOpenTracking

Definition at line 222 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithPlainLinkGetsTracking (  ) 

testHtmlContentWithoutAnyLinksAndSomeDOMStructureStillGetsEmailOpenTracking

Definition at line 240 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithValidHrefAndPlainLinkGetsTracking (  ) 

testHtmlContentWithPlainLinkGetsTracking

Definition at line 271 of file EmailMessageActivityUtilTest.php.

testHtmlContentGetsCustomFooterAppended (  ) 

testTextContentGetsCustomFooterAppended

Definition at line 462 of file EmailMessageActivityUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:51 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