EmailTemplateTest Class Reference

Inheritance diagram for EmailTemplateTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testGetTypeDropDownArray ()
 testGetBuiltTypeDropDownArray ()
 testRenderNonEditableTypeStringContent ()
 testGetGamificationRulesType ()
 testCreateAndGetEmailTemplateById ()
 testRequiredValidators ()
 testTypeNumericalValidator ()
 testBuiltTypeNumericalValidator ()
 testNameLengthValidator ()
 testSubjectLengthValidator ()
 testLanguageLengthValidator ()
 testIsDraftDefaultValueForNoBuiltType ()
 testIsDraftDefaultValueForPlainTextBuiltType ()
 testIsDraftDefaultValueForPastedHtmlBuiltType ()
 testIsDraftDefaultValueForBuilderBuiltType ()
 testSerializedDataValidatorForEmpty ()
 testSerializedDataValidatorForInvalidJson ()
 testSerializedDataValidatorForInvalidScheme ()
 testDefaultLanguageGetsPopulated ()
 testAtLeastOneContentFieldIsRequired ()
 testModelClassNameExists ()
 testValidationErrorForInaccessibleModule ()
 testMergeTagsValidation ()
 testUnsubscribeAndManageSubscriptionsMergeTagsValidation ()
 testDummyHtmlContentThrowsValidationErrorWhenTextContentIsEmpty ()
 testHtmlContentGetsSavedCorrectly ()
 testGetEmailTemplateByName ()
 testGetLabel ()
 testToString ()
 testDeleteEmailTemplate ()
 testGetByType ()
 testGetPredefinedBuilderTemplates ()
 testGetPreviouslyCreatedBuilderTemplates ()
 testSetInitializingHtmlContentForBuilderTemplates ()
 testIsContactTemplate ()
 testIsWorkflowTemplate ()
 testIsPlainTextTemplate ()
 testIsPastedHtmlTemplate ()
 testIsBuilderTemplate ()
 testIsPredefinedBuilderTemplate ()
 testGetDataAndLabelsByType ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Definition at line 36 of file EmailTemplateTest.php.


Member Function Documentation

testRequiredValidators (  ) 

testCreateAndGetEmailTemplateById

Definition at line 115 of file EmailTemplateTest.php.

testTypeNumericalValidator (  ) 

testRequiredValidators

Definition at line 145 of file EmailTemplateTest.php.

testBuiltTypeNumericalValidator (  ) 

testTypeNumericalValidator

Definition at line 158 of file EmailTemplateTest.php.

testNameLengthValidator (  ) 

testBuiltTypeNumericalValidator

Definition at line 171 of file EmailTemplateTest.php.

testSubjectLengthValidator (  ) 

testNameLengthValidator

Definition at line 184 of file EmailTemplateTest.php.

testLanguageLengthValidator (  ) 

testSubjectLengthValidator

Definition at line 197 of file EmailTemplateTest.php.

testIsDraftDefaultValueForNoBuiltType (  ) 

testRequiredValidators

Definition at line 210 of file EmailTemplateTest.php.

testIsDraftDefaultValueForPlainTextBuiltType (  ) 

testIsDraftDefaultValueForNoBuiltType

Definition at line 221 of file EmailTemplateTest.php.

testIsDraftDefaultValueForPastedHtmlBuiltType (  ) 

testIsDraftDefaultValueForPlainTextBuiltType

Definition at line 233 of file EmailTemplateTest.php.

testIsDraftDefaultValueForBuilderBuiltType (  ) 

testIsDraftDefaultValueForPastedHtmlBuiltType

Definition at line 245 of file EmailTemplateTest.php.

testSerializedDataValidatorForEmpty (  ) 

testCreateAndGetEmailTemplateById

Definition at line 257 of file EmailTemplateTest.php.

testSerializedDataValidatorForInvalidJson (  ) 

testSerializedDataValidatorForEmpty

Definition at line 267 of file EmailTemplateTest.php.

testSerializedDataValidatorForInvalidScheme (  ) 

testSerializedDataValidatorForInvalidJson

Definition at line 280 of file EmailTemplateTest.php.

testDefaultLanguageGetsPopulated (  ) 

testCreateAndGetEmailTemplateById

Definition at line 293 of file EmailTemplateTest.php.

testAtLeastOneContentFieldIsRequired (  ) 

testCreateAndGetEmailTemplateById

Definition at line 322 of file EmailTemplateTest.php.

testModelClassNameExists (  ) 

testCreateAndGetEmailTemplateById

Definition at line 342 of file EmailTemplateTest.php.

testValidationErrorForInaccessibleModule (  ) 

testCreateAndGetEmailTemplateById

Definition at line 379 of file EmailTemplateTest.php.

testMergeTagsValidation (  ) 

testCreateAndGetEmailTemplateById

Definition at line 412 of file EmailTemplateTest.php.

testUnsubscribeAndManageSubscriptionsMergeTagsValidation (  ) 

testCreateAndGetEmailTemplateById

Definition at line 452 of file EmailTemplateTest.php.

testDummyHtmlContentThrowsValidationErrorWhenTextContentIsEmpty (  ) 

testCreateAndGetEmailTemplateById

Definition at line 472 of file EmailTemplateTest.php.

testHtmlContentGetsSavedCorrectly (  ) 

testCreateAndGetEmailTemplateById

Definition at line 508 of file EmailTemplateTest.php.

testGetEmailTemplateByName (  ) 

testCreateAndGetEmailTemplateById

Definition at line 531 of file EmailTemplateTest.php.

testGetLabel (  ) 

testCreateAndGetEmailTemplateById

Definition at line 541 of file EmailTemplateTest.php.

testToString (  ) 

testCreateAndGetEmailTemplateById

Definition at line 552 of file EmailTemplateTest.php.

testDeleteEmailTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 572 of file EmailTemplateTest.php.

testGetByType (  ) 

testCreateAndGetEmailTemplateById

Definition at line 584 of file EmailTemplateTest.php.

testGetPredefinedBuilderTemplates (  ) 

testGetByType

Definition at line 629 of file EmailTemplateTest.php.

testGetPreviouslyCreatedBuilderTemplates (  ) 

testCreateAndGetEmailTemplateById

Definition at line 648 of file EmailTemplateTest.php.

testSetInitializingHtmlContentForBuilderTemplates (  ) 

testCreateAndGetEmailTemplateById

Definition at line 720 of file EmailTemplateTest.php.

testIsContactTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 736 of file EmailTemplateTest.php.

testIsWorkflowTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 750 of file EmailTemplateTest.php.

testIsPlainTextTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 765 of file EmailTemplateTest.php.

testIsPastedHtmlTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 780 of file EmailTemplateTest.php.

testIsBuilderTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 795 of file EmailTemplateTest.php.

testIsPredefinedBuilderTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 810 of file EmailTemplateTest.php.

testGetDataAndLabelsByType (  ) 

testCreateAndGetEmailTemplateById

Definition at line 825 of file EmailTemplateTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Aug 25 07:10:56 2019