Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
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 ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
- Static Public Member Functions inherited from ZurmoBaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

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:
Generated on Sun Jul 5 2020 07:10:47
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.