All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
ContactsRegularUserWalkthroughTest Class Reference
Inheritance diagram for ContactsRegularUserWalkthroughTest:
ZurmoRegularUserWalkthroughBaseTest ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testRegularUserAllControllerActionsNoElevation ()
 
 testRegularUserControllerActionsWithElevationToAccessAndCreate ()
 
 testRegularUserControllerActionsWithElevationToModels ()
 
 testRegularMassDeleteActionsForSelectedIds ()
 
 testRegularMassDeletePagesProperlyAndRemovesAllSelected ()
 
 testInlineCreateCommentFromAjax ()
 
 testAddAndRemoveSubscriberViaAjaxWithNormalUser ()
 
- Public Member Functions inherited from ZurmoRegularUserWalkthroughBaseTest
 setUp ()
 
 teardown ()
 
- Public Member Functions inherited from ZurmoWalkthroughBaseTest
 setUp ()
 
- 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 ZurmoRegularUserWalkthroughBaseTest
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 ZurmoWalkthroughBaseTest
 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 inherited from ZurmoWalkthroughBaseTest
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)
 
- Protected Attributes inherited from ZurmoRegularUserWalkthroughBaseTest
 $processReadMungeAsWriteMungeValue
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

Detailed Description

Contacts Module Walkthrough.

Walkthrough for a peon user. The peon user at first will have no granted rights or permissions. Most attempted actions will result in an ExitException and a access failure view. After this, we elevate the user with added tab rights so that some of the actions will result in success and no exceptions being thrown. There will still be some actions they cannot get too though because of the lack of elevated permissions. Then we will elevate permissions to allow the user to access other owner's records.

Definition at line 48 of file ContactsRegularUserWalkthroughTest.php.

Member Function Documentation

testRegularUserControllerActionsWithElevationToAccessAndCreate ( )

testRegularUserAllControllerActionsNoElevation

Definition at line 113 of file ContactsRegularUserWalkthroughTest.php.

testRegularUserControllerActionsWithElevationToModels ( )

testRegularUserControllerActionsWithElevationToAccessAndCreate

Definition at line 164 of file ContactsRegularUserWalkthroughTest.php.

testRegularMassDeleteActionsForSelectedIds ( )

selected contacts.

Definition at line 550 of file ContactsRegularUserWalkthroughTest.php.

testRegularMassDeletePagesProperlyAndRemovesAllSelected ( )

Test Bug with mass delete and multiple pages when using select all

Definition at line 611 of file ContactsRegularUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
Generated on Fri Jan 24 2020 07:10:29