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 | Protected Member Functions | Static Protected Member Functions
ZurmoWalkthroughBaseTest Class Reference
Inheritance diagram for ZurmoWalkthroughBaseTest:
ZurmoBaseTest BaseTest AccountAccountAffiliationsDesignerSuperUserWalkthroughTest AccountAccountAffiliationsSuperUserWalkthroughTest AccountContactAffiliationsDesignerSuperUserWalkthroughTest AccountContactAffiliationsSuperUserWalkthroughTest AccountDetailsAndRelationsPortletViewTest AccountLatestActivitiesSuperUserWalkthroughTest AccountPermissionsSuperUserWalkthroughTest AccountsDesignerSuperUserWalkthroughTest AccountsRegularUserUnlinkWalkthroughTest AccountsSuperUserCustomDateNullValueBugWalkthroughTest AccountsSuperUserExportWalkthroughTest AccountsSuperUserKanbanBoardWalkthroughTest AccountsSuperUserMixedAttributeCreationWalkthroughTest AccountsSuperUserUnlinkWalkthroughTest AccountsSuperUserWalkthroughTest ArchivedEmailMatchingUserWalkthroughTest AutoresponderDefaultControllerRegularUserWalkthroughTest AutoresponderDefaultControllerSuperUserWalkthroughTest CalendarsSuperUserWalkthroughTest CampaignDefaultControllerRegularUserWalkthroughTest CampaignDefaultControllerSuperUserWalkthroughTest CommentsSuperUserWalkthroughTest ConfigurationSuperUserWalkthroughTest ContactDetailsAndRelationsPortletViewTest ContactsDesignerSuperUserWalkthroughTest ContactsSuperUserExportWalkthroughTest ContactsSuperUserKanbanBoardWalkthroughTest ContactsSuperUserWalkthroughTest ContactsSuperUserZeroModelsWalkthroughTest ContactWebFormEntrySuperUserWalkthroughTest ContactWebFormsSuperUserWalkthroughTest ConversationsMashableInboxRulesTest ConversationsUserWalkthroughTest CurrencySuperUserWalkthroughTest DesignerSuperUserWalkthroughTest DevelopmentSuperUserWalkthroughTest EmailConfigurationSuperUserWalkthroughTest EmailMessagesSuperUserWalkthroughTest EmailTemplatesNobodyUserWalkthroughTest EmailTemplatesSuperUserWalkthroughTest EnsureUnsubscribeStateIsRegardedWalkthroughTest GameRewardsSuperUserWalkthroughTest GamificationSuperUserWalkthroughTest HomeSuperUserWalkthroughTest ImageModelSuperUserWalkthroughtTest ImportWalkthroughBaseTest InstallWalkthroughTest JobLogViewWalkthroughTest JobsManagerSuperUserWalkthroughTest LanguageSuperUserWalkthroughTest LdapConfigurationSuperUserWalkthroughTest LeadDetailsAndRelationsPortletViewTest LeadsDesignerSuperUserWalkthroughTest LeadsSuperUserExportWalkthroughTest LeadsSuperUserKanbanBoardWalkthroughTest LeadsSuperUserWalkthroughTest MapsConfigurationSuperUserWalkthroughTest MapsPortletSuperUserWalkthroughTest MapsSuperUserWalkthroughTest MarketingConfigurationFormAdapterSuperUserWalkthroughTest MarketingListDefaultControllerRegularUserWalkthroughTest MarketingListDefaultControllerSuperUserWalkthroughTest MarketingListDefaultPortletControllerRegularUserWalkthroughTest MarketingListDefaultPortletControllerSuperUserWalkthroughTest MarketingListMemberControllerRegularUserWalkthroughTest MarketingListMemberControllerSuperUserWalkthroughTest MarketingListsExternalControllerWalkthroughTest MarketingSuperUserWalkthroughTest MashableInboxUserWalkthroughTest MeetingsDesignerSuperUserWalkthroughTest MeetingsSuperUserWalkthroughTest MiscSuperUserWalkthroughTest MissionGamificationRulesTest MissionsMashableInboxRulesTest MissionsUserWalkthroughTest NotesDesignerSuperUserWalkthroughTest NotesSuperUserWalkthroughTest NotificationsMashableInboxRulesTest NotificationsWalkthroughTest OpportunitiesChartWalkthroughTest OpportunitiesDesignerSuperUserWalkthroughTest OpportunitiesSuperUserExportWalkthroughTest OpportunitiesSuperUserKanbanBoardWalkthroughTest OpportunitiesSuperUserWalkthroughTest ProductCategorySuperUserWalkthroughTest ProductsDesignerSuperUserWalkthroughTest ProductsSuperUserExportWalkthroughTest ProductsSuperUserSaveWalkthroughTest ProductsSuperUserWalkthroughTest ProductTemplatesDesignerSuperUserWalkthroughTest ProductTemplatesSuperUserExportWalkthroughTest ProductTemplatesSuperUserMiscWalkthroughTest ProductTemplateSuperUserWalkthroughTest ProjectsDesignerSuperUserWalkthroughTest ProjectsSuperUserExportWalkthroughTest ProjectsSuperUserWalkthroughTest ReportsSuperUserWalkthroughTest RequiredAttributesViewValidityWalkthroughTest SendGridConfigurationSuperUserWalkthroughTest ShortUrlSuperUserWalkthroughTest SocialItemsUserWalkthroughTest TaskAjaxSuperUserWalkthroughTest TaskCheckItemsAjaxSuperUserWalkthroughTest TaskCheckItemsSuperUserWalkthroughTest TasksDesignerSuperUserWalkthroughTest TasksSuperUserKanbanBoardWalkthroughTest TasksSuperUserWalkthroughTest TrackingDefaultControllerWalkthroughTest UserDefaultPermissionWalkthroughTest UsersByModelWalkthroughTest UsersSuperUserExportWalkthroughTest UsersSuperUserWalkthroughTest WorkflowInQueuesSuperUserWalkthroughTest WorkflowsSuperUserWalkthroughTest ZurmoConfigurationFormAdapterSuperUserWalkthroughTest ZurmoDynamicSearchSuperUserWalkthroughTest ZurmoMixedModelsSearchSuperUserWalkthroughTest ZurmoNestedGroupPermissionsFlushWalkThroughTest ZurmoNestedRolePermissionsFlushWalkThroughTest ZurmoRecordSharingPerformanceBenchmarkTest ZurmoRegularUserWalkthroughBaseTest ZurmoSavedDynamicSearchSuperUserWalkthroughTest ZurmoSuperUserWalkthroughTest ZurmoSystemConfigurationFormAdapterSuperUserWalkthroughTest ZurmoUserInterfaceConfigurationFormAdapterSuperUserWalkthroughTest

Public Member Functions

 setUp ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Protected Member Functions

 logoutCurrentUserLoginNewUserAndGetByUsername ($username)
 
 runControllerWithNoExceptionsAndGetContent ($route, $empty=false)
 
 runControllerWithExitExceptionAndGetContent ($route)
 
 runControllerWithRedirectExceptionAndGetUrl ($route)
 
 runControllerWithRedirectExceptionAndGetContent ($route, $compareUrl=null, $compareUrlContains=false)
 
 runControllerWithAccessDeniedSecurityExceptionAndGetContent ($route)
 
 runControllerWithNotSupportedExceptionAndGetContent ($route)
 
 runControllerWithNotFoundExceptionAndGetContent ($route)
 
 runControllerShouldResultInAccessFailureAndGetContent ($route)
 
 runControllerShouldResultInAjaxAccessFailureAndGetContent ($route)
 
 resetGetArray ()
 
 setGetArray ($data)
 
 resetPostArray ()
 
 setPostArray ($data)
 
 doApplicationScriptPathsAllExist ()
 
 createCheckBoxCustomFieldByModule ($moduleClassName, $name)
 
 createCurrencyValueCustomFieldByModule ($moduleClassName, $name)
 
 createDateCustomFieldByModule ($moduleClassName, $name)
 
 createDateNotRequiredCustomFieldByModule ($moduleClassName, $name)
 
 createDateTimeCustomFieldByModule ($moduleClassName, $name)
 
 createDecimalCustomFieldByModule ($moduleClassName, $name)
 
 createIntegerCustomFieldByModule ($moduleClassName, $name)
 
 createPhoneCustomFieldByModule ($moduleClassName, $name)
 
 createTextCustomFieldByModule ($moduleClassName, $name)
 
 createTextAreaCustomFieldByModule ($moduleClassName, $name)
 
 createUrlCustomFieldByModule ($moduleClassName, $name)
 
 createDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createDependentDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createRadioDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createMultiSelectDropDownCustomFieldByModule ($moduleClassName, $name)
 
 createTagCloudCustomFieldByModule ($moduleClassName, $name)
 
 createCalculatedNumberCustomFieldByModule ($moduleClassName, $name)
 
 createDropDownDependencyCustomFieldByModule ($moduleClassName, $name)
 
 createModuleEditBadValidationPostData ()
 
 createModuleEditGoodValidationPostData ($singularName)
 
 createAttributeLabelBadValidationPostData ()
 
 createAttributeLabelGoodValidationPostData ($name)
 
 createCustomAttributeWalkthroughSequence ($moduleClassName, $name, $attributeTypeName, $extraPostData, $attributeName=null, $isCustomField=false)
 
 checkCopyActionResponseAttributeValuesFromPostArray ($model, $postArray, $linkClass=null, $controllerId=null)
 
 checkCopyActionResponseAttributeValues ($model, $testAttributes, $linkClass=null, $controllerId=null)
 
 updateModelValuesFromPostArray ($model, $postArray)
 
 assertModelHasValuesFromPostArray ($model, $postArray)
 
- 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

static getModelIdByModelNameAndName ($modelName, $name)
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 

Additional Inherited Members

- 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)
 
- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

Detailed Description

Parent class for walkthrough documentation tests

Definition at line 40 of file ZurmoWalkthroughBaseTest.php.

Member Function Documentation

logoutCurrentUserLoginNewUserAndGetByUsername (   $username)
protected

Use this method to clear the current user and login a new user for a walkthrough.

Definition at line 58 of file ZurmoWalkthroughBaseTest.php.

runControllerWithNoExceptionsAndGetContent (   $route,
  $empty = false 
)
protected

Helper method to run a controller action that is expected not to produce an exception.

Definition at line 83 of file ZurmoWalkthroughBaseTest.php.

runControllerWithExitExceptionAndGetContent (   $route)
protected

Helper method to run a controller action that is expected produce an exit exception

Definition at line 112 of file ZurmoWalkthroughBaseTest.php.

runControllerWithRedirectExceptionAndGetUrl (   $route)
protected

Helper method to run a controller action that is expected produce a redirect exception.

Definition at line 133 of file ZurmoWalkthroughBaseTest.php.

runControllerWithRedirectExceptionAndGetContent (   $route,
  $compareUrl = null,
  $compareUrlContains = false 
)
protected

Helper method to run a controller action that is expected produce a redirect exception.

Definition at line 155 of file ZurmoWalkthroughBaseTest.php.

runControllerWithAccessDeniedSecurityExceptionAndGetContent (   $route)
protected

Helper method to run a controller action that is expected produce a AccessDeniedSecurityException exception.

Definition at line 197 of file ZurmoWalkthroughBaseTest.php.

runControllerWithNotSupportedExceptionAndGetContent (   $route)
protected

Helper method to run a controller action that is expected produce a NotSupported exception.

Definition at line 218 of file ZurmoWalkthroughBaseTest.php.

runControllerWithNotFoundExceptionAndGetContent (   $route)
protected

Helper method to run a controller action that is expected produce a NotFound exception.

Definition at line 239 of file ZurmoWalkthroughBaseTest.php.

checkCopyActionResponseAttributeValuesFromPostArray (   $model,
  $postArray,
  $linkClass = null,
  $controllerId = null 
)
protected

Uses postArray to check response field values.

Parameters
$model
$postArray
null$linkClass
Returns
bool

Definition at line 652 of file ZurmoWalkthroughBaseTest.php.

checkCopyActionResponseAttributeValues (   $model,
  $testAttributes,
  $linkClass = null,
  $controllerId = null 
)
protected

Test if form fields have values from record. It supports selects, plain text fields and textareas.

Parameters
$model
$testAttributes
null$linkClass
null$controllerId
Returns
bool

Definition at line 672 of file ZurmoWalkthroughBaseTest.php.

updateModelValuesFromPostArray (   $model,
  $postArray 
)
protected

Updates the model with values from post array.

Parameters
OwnedSecurableItem$modelUpdated model
array$postArrayArray of post values

Definition at line 723 of file ZurmoWalkthroughBaseTest.php.

assertModelHasValuesFromPostArray (   $model,
  $postArray 
)
protected

Checks if the model has values from post array.

Parameters
OwnedSecurableItem$modelUpdated model
array$postArrayArray of post values

Definition at line 738 of file ZurmoWalkthroughBaseTest.php.


The documentation for this class was generated from the following file:
Generated on Tue Sep 29 2020 07:11:09
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.