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 ()
 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.

testDummyHtmlContentThrowsValidationErrorWhenTextContentIsEmpty (  ) 

testCreateAndGetEmailTemplateById

Definition at line 452 of file EmailTemplateTest.php.

testHtmlContentGetsSavedCorrectly (  ) 

testCreateAndGetEmailTemplateById

Definition at line 488 of file EmailTemplateTest.php.

testGetEmailTemplateByName (  ) 

testCreateAndGetEmailTemplateById

Definition at line 511 of file EmailTemplateTest.php.

testGetLabel (  ) 

testCreateAndGetEmailTemplateById

Definition at line 521 of file EmailTemplateTest.php.

testToString (  ) 

testCreateAndGetEmailTemplateById

Definition at line 532 of file EmailTemplateTest.php.

testDeleteEmailTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 552 of file EmailTemplateTest.php.

testGetByType (  ) 

testCreateAndGetEmailTemplateById

Definition at line 564 of file EmailTemplateTest.php.

testGetPredefinedBuilderTemplates (  ) 

testGetByType

Definition at line 609 of file EmailTemplateTest.php.

testGetPreviouslyCreatedBuilderTemplates (  ) 

testCreateAndGetEmailTemplateById

Definition at line 628 of file EmailTemplateTest.php.

testSetInitializingHtmlContentForBuilderTemplates (  ) 

testCreateAndGetEmailTemplateById

Definition at line 700 of file EmailTemplateTest.php.

testIsContactTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 716 of file EmailTemplateTest.php.

testIsWorkflowTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 730 of file EmailTemplateTest.php.

testIsPlainTextTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 745 of file EmailTemplateTest.php.

testIsPastedHtmlTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 760 of file EmailTemplateTest.php.

testIsBuilderTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 775 of file EmailTemplateTest.php.

testIsPredefinedBuilderTemplate (  ) 

testCreateAndGetEmailTemplateById

Definition at line 790 of file EmailTemplateTest.php.

testGetDataAndLabelsByType (  ) 

testCreateAndGetEmailTemplateById

Definition at line 805 of file EmailTemplateTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Apr 25 07:10:26 2017