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

Public Member Functions

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

Static Protected Attributes

static $account
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

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
 

Detailed Description

AccountAccountAffiliations 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 AccountAccountAffiliationsRegularUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
Generated on Sun Apr 5 2020 07:10:47