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 Wed Sep 18 07:10:52 2019