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)

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 91 of file EmailMessageActivityUtilTest.php.

testTextContentDoesNotChangeWhenNoLinksArePresent (  ) 

testReturnTrueWithNoTracking

Definition at line 130 of file EmailMessageActivityUtilTest.php.

testReturnsFalseWithFewTrackingUrlsInPlaceAlready (  ) 

testTextContentDoesNotChangeWhenNoLinksArePresent

Definition at line 143 of file EmailMessageActivityUtilTest.php.

testTextContentLinksAreConvertedToTracked (  ) 

testReturnsFalseWithFewTrackingUrlsInPlaceAlready

Definition at line 153 of file EmailMessageActivityUtilTest.php.

testTextContentLinkConversionIgnoresHref (  ) 

testTextContentLinksAreConvertedToTracked

Definition at line 174 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithoutAnyLinksAndNoDOMStructureStillGetsEmailOpenTracking (  ) 

testTextContentLinkConversionIgnoresHref

Definition at line 190 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithMultipleClosingBodyTagsGetOnlyOneEmailOpenTracking (  ) 

testHtmlContentWithoutAnyLinksAndNoDOMStructureStillGetsEmailOpenTracking

Definition at line 207 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithoutAnyLinksAndSomeDOMStructureStillGetsEmailOpenTracking (  ) 

testHtmlContentWithMultipleClosingBodyTagsGetOnlyOneEmailOpenTracking

Definition at line 226 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithPlainLinkGetsTracking (  ) 

testHtmlContentWithoutAnyLinksAndSomeDOMStructureStillGetsEmailOpenTracking

Definition at line 244 of file EmailMessageActivityUtilTest.php.

testHtmlContentWithValidHrefAndPlainLinkGetsTracking (  ) 

testHtmlContentWithPlainLinkGetsTracking

Definition at line 275 of file EmailMessageActivityUtilTest.php.

testHtmlContentGetsCustomFooterAppended (  ) 

testTextContentGetsCustomFooterAppended

Definition at line 473 of file EmailMessageActivityUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat May 27 07:10:24 2017