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

Public Member Functions

 testRegularUserAllControllerActionsNoElevation ()
 
 testRegularUserControllerActionsWithElevationToAccessAndCreate ()
 
 testRegularUserControllerActionsWithElevationToModels ()
 
 testRegularUserSwitchingOwnershipLosesAccessToAccount ()
 
 testRegularUserBullkWriteWhereSomeItemsTheyDontHavePrivledgesToDoIt ()
 
 testMassDeleteActionsForSelectedIds ()
 
 testMassDeletePagesProperlyAndRemovesAllSelected ()
 
 testCloningWithAnotherUser ()
 
 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

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 46 of file AccountsRegularUserWalkthroughTest.php.

Member Function Documentation

testRegularUserControllerActionsWithElevationToAccessAndCreate ( )

testRegularUserAllControllerActionsNoElevation

Definition at line 106 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserControllerActionsWithElevationToModels ( )

testRegularUserControllerActionsWithElevationToAccessAndCreate

Definition at line 152 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserSwitchingOwnershipLosesAccessToAccount ( )

testRegularUserControllerActionsWithElevationToModels

Confirm flash message is set.

Definition at line 539 of file AccountsRegularUserWalkthroughTest.php.

testRegularUserBullkWriteWhereSomeItemsTheyDontHavePrivledgesToDoIt ( )

testRegularUserSwitchingOwnershipLosesAccessToAccount

Definition at line 574 of file AccountsRegularUserWalkthroughTest.php.

testMassDeleteActionsForSelectedIds ( )

selected accounts.

Definition at line 654 of file AccountsRegularUserWalkthroughTest.php.

testMassDeletePagesProperlyAndRemovesAllSelected ( )

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

Definition at line 714 of file AccountsRegularUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
Generated on Mon Apr 6 2020 07:10:48