ContactMergeTagsUtilTest Class Reference

Inheritance diagram for ContactMergeTagsUtilTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testCanInstantiateContactMergeTags ()
 testMergeFieldsArePopulatedCorrectlyWithCustomLanguage ()
 testMergeFieldsArePopulatedCorrectlyWithNoLanguage ()
 testMergeFieldsArePopulatedCorrectlyWithDefaultLanguage ()
 testSucceedsWhenDataHasNoMergeTags ()
 testFailsOnInvalidMergeTags ()
 testFailsOnFirstInvalidMergeTag ()
 testReturnsFalseButDoesNotFailOnFirstInvalidMergeTag ()
 testReturnsTrueResolvingAsManyAsPossibleWhileReplacingInvalidWithEmpty ()
 testReturnsTrueResolvingAsManyAsPossibleWhileKeepingInvalidMergeTags ()
 testStringMergeTag ()
 testFirstNameMergeTag ()
 testLastNameMergeTag ()
 testPhoneMergeTag ()
 testBooleanMergeTag ()
 testDateMergeTag ()
 testDateTimeMergeTag ()
 testTextAreaMergeTag ()
 testUrlMergeTag ()
 testIntegerMergeTag ()
 testFloatMergeTag ()
 testCurrencyValueMergeTag ()
 testDropDownMergeTag ()
 testRadioDropDownMergeTag ()
 testMultiDropDownMergeTag ()
 testTagCloudMergeTag ()
 testPrimaryEmailMergeTag ()
 testOwnerEmailMergeTag ()
 testSecondaryEmailMergeTag ()
 testAddressMergeTag ()
 testRelationAttributeAndRelationOwnedAddressMergeTag ()
 testLikeContactStateMergeTag ()
 testUserMergeTag ()
 testModelUrlMergeTag ()
 testModelUrlMergeTagContactAndLead ()
 testModelCustomAttribute ()
 testApplicationNameMergeTag ()
 testCurrentYearMergeTag ()
 testLastYearMergeTag ()
 testBaseUrlMergeTag ()
 testOwnersAvatarSmallMergeTag ()
 testOwnersAvatarMediumMergeTag ()
 testOwnersAvatarLargeMergeTag ()
 testOwnersEmailSignatureMergeTag ()

Static Public Member Functions

static setUpBeforeClass ()
static getDependentTestModelClassNames ()

Protected Attributes

 $invalidTags
 $mergeTagsUtil

Static Protected Attributes

static $emailTemplate
static $super
static $compareContent
static $content
static $account
static $contact
static $lead
static $hash

Detailed Description

Definition at line 36 of file ContactMergeTagsUtilTest.php.


Member Function Documentation

testMergeFieldsArePopulatedCorrectlyWithCustomLanguage (  ) 

testCanInstantiateContactMergeTags

Definition at line 231 of file ContactMergeTagsUtilTest.php.

testMergeFieldsArePopulatedCorrectlyWithNoLanguage (  ) 

testCanInstantiateContactMergeTags

Definition at line 243 of file ContactMergeTagsUtilTest.php.

testMergeFieldsArePopulatedCorrectlyWithDefaultLanguage (  ) 

testCanInstantiateContactMergeTags

Definition at line 255 of file ContactMergeTagsUtilTest.php.

testSucceedsWhenDataHasNoMergeTags (  ) 

testMergeFieldsArePopulatedCorrectlyWithDefaultLanguage

Definition at line 267 of file ContactMergeTagsUtilTest.php.

testFailsOnInvalidMergeTags (  ) 

testSucceedsWhenDataHasNoMergeTags

Definition at line 282 of file ContactMergeTagsUtilTest.php.

testFailsOnFirstInvalidMergeTag (  ) 

testFailsOnInvalidMergeTags

Definition at line 301 of file ContactMergeTagsUtilTest.php.

testReturnsFalseButDoesNotFailOnFirstInvalidMergeTag (  ) 

testFailsOnFirstInvalidMergeTag

Definition at line 317 of file ContactMergeTagsUtilTest.php.

testReturnsTrueResolvingAsManyAsPossibleWhileReplacingInvalidWithEmpty (  ) 

testReturnsFalseButDoesNotFailOnFirstInvalidMergeTag

Definition at line 333 of file ContactMergeTagsUtilTest.php.

testReturnsTrueResolvingAsManyAsPossibleWhileKeepingInvalidMergeTags (  ) 

testReturnsTrueResolvingAsManyAsPossibleWhileReplacingInvalidWithEmpty

Definition at line 352 of file ContactMergeTagsUtilTest.php.

testStringMergeTag (  ) 

testReturnsTrueResolvingAsManyAsPossibleWhileKeepingInvalidMergeTags

Definition at line 373 of file ContactMergeTagsUtilTest.php.

testFirstNameMergeTag (  ) 

testStringMergeTag

Definition at line 390 of file ContactMergeTagsUtilTest.php.

testLastNameMergeTag (  ) 

testFirstNameMergeTag

Definition at line 407 of file ContactMergeTagsUtilTest.php.

testPhoneMergeTag (  ) 

testLastNameMergeTag

Definition at line 424 of file ContactMergeTagsUtilTest.php.

testBooleanMergeTag (  ) 

testPhoneMergeTag

Definition at line 441 of file ContactMergeTagsUtilTest.php.

testDateMergeTag (  ) 

testBooleanMergeTag

Definition at line 458 of file ContactMergeTagsUtilTest.php.

testDateTimeMergeTag (  ) 

testDateMergeTag

Definition at line 475 of file ContactMergeTagsUtilTest.php.

testTextAreaMergeTag (  ) 

testDateTimeMergeTag

Definition at line 492 of file ContactMergeTagsUtilTest.php.

testUrlMergeTag (  ) 

testTextAreaMergeTag

Definition at line 509 of file ContactMergeTagsUtilTest.php.

testIntegerMergeTag (  ) 

testUrlMergeTag

Definition at line 526 of file ContactMergeTagsUtilTest.php.

testFloatMergeTag (  ) 

testIntegerMergeTag

Definition at line 543 of file ContactMergeTagsUtilTest.php.

testCurrencyValueMergeTag (  ) 

testFloatMergeTag

Definition at line 560 of file ContactMergeTagsUtilTest.php.

testDropDownMergeTag (  ) 

testCurrencyValueMergeTag

Definition at line 578 of file ContactMergeTagsUtilTest.php.

testRadioDropDownMergeTag (  ) 

testDropDownMergeTag

Definition at line 595 of file ContactMergeTagsUtilTest.php.

testMultiDropDownMergeTag (  ) 

testRadioDropDownMergeTag

Definition at line 612 of file ContactMergeTagsUtilTest.php.

testTagCloudMergeTag (  ) 

testMultiDropDownMergeTag

Definition at line 629 of file ContactMergeTagsUtilTest.php.

testPrimaryEmailMergeTag (  ) 

testTagCloudMergeTag

Definition at line 646 of file ContactMergeTagsUtilTest.php.

testOwnerEmailMergeTag (  ) 

testPrimaryEmailMergeTag

Definition at line 664 of file ContactMergeTagsUtilTest.php.

testSecondaryEmailMergeTag (  ) 

testOwnerEmailMergeTag

Definition at line 681 of file ContactMergeTagsUtilTest.php.

testAddressMergeTag (  ) 

testSecondaryEmailMergeTag

Definition at line 699 of file ContactMergeTagsUtilTest.php.

testRelationAttributeAndRelationOwnedAddressMergeTag (  ) 

testAddressMergeTag

Definition at line 720 of file ContactMergeTagsUtilTest.php.

testLikeContactStateMergeTag (  ) 

testRelationAttributeAndRelationOwnedAddressMergeTag

Definition at line 737 of file ContactMergeTagsUtilTest.php.

testUserMergeTag (  ) 

testLikeContactStateMergeTag

Definition at line 755 of file ContactMergeTagsUtilTest.php.

testModelUrlMergeTag (  ) 

testUserMergeTag

Definition at line 773 of file ContactMergeTagsUtilTest.php.

testModelUrlMergeTagContactAndLead (  ) 

testModelUrlMergeTag

Definition at line 790 of file ContactMergeTagsUtilTest.php.

testModelCustomAttribute (  ) 

testModelUrlMergeTagContactAndLead

Definition at line 818 of file ContactMergeTagsUtilTest.php.

testApplicationNameMergeTag (  ) 

testModelCustomAttribute

Definition at line 846 of file ContactMergeTagsUtilTest.php.

testCurrentYearMergeTag (  ) 

testApplicationNameMergeTag

Definition at line 864 of file ContactMergeTagsUtilTest.php.

testLastYearMergeTag (  ) 

testCurrentYearMergeTag

Definition at line 881 of file ContactMergeTagsUtilTest.php.

testBaseUrlMergeTag (  ) 

testLastYearMergeTag

Definition at line 898 of file ContactMergeTagsUtilTest.php.

testOwnersAvatarSmallMergeTag (  ) 

testBaseUrlMergeTag

Definition at line 914 of file ContactMergeTagsUtilTest.php.

testOwnersAvatarMediumMergeTag (  ) 

testOwnersAvatarSmallMergeTag

Definition at line 931 of file ContactMergeTagsUtilTest.php.

testOwnersAvatarLargeMergeTag (  ) 

testOwnersAvatarMediumMergeTag

Definition at line 948 of file ContactMergeTagsUtilTest.php.

testOwnersEmailSignatureMergeTag (  ) 

testOwnersAvatarLargeMergeTag

Definition at line 965 of file ContactMergeTagsUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 18 07:10:53 2019