C# Class Microsoft.Protocols.TestSuites.MS_OXCFOLD.S05_InsufficientRightsOnFolder

Inheritance: TestSuiteBase
Show file Open project: OfficeDev/Interop-TestSuites

Protected Methods

Method Description
TestCleanup ( ) : void

Overrides TestClassBase's TestCleanup()

TestInitialize ( ) : void

Test initialize. Overrides the method TestInitialize defined in base class.

Private Methods

Method Description
AddPermission ( string commonUserEssdn, uint memberRights, uint folderHandle ) : void

Add a permission for a user to the permission list of the specified folder.

ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
CreateEntryIdProperty ( string userEssdn ) : TaggedPropertyValue

Generate the EntryId for modify the permissions.

CreateModifyPermissionsRequestBuffer ( PermissionData permissionsDataArray, ModifyFlags modifyFlags ) : RopModifyPermissionsRequest

Create buffer to get ModifyPermissions

CreateRightsProperty ( uint rights ) : TaggedPropertyValue

Create an instance of the property PidTagMemberRights.

GetEntryId ( string userEssdn ) : byte[]

Get EntryId by user name.

GetPermissionDataArrayForAdd ( string userEssdn, uint rights ) : PermissionData[]

Set the permission data array for the specified user.

MSOXCFOLD_S05_TC01_CreateFolderNoCreateSubfolderPermission ( ) : void
MSOXCFOLD_S05_TC02_MessageDeletePartialCompleteValidation ( ) : void
MSOXCFOLD_S05_TC03_RopEmptyFolderPartialCompleteValidation ( ) : void
MSOXCFOLD_S05_TC04_RopMoveFolderPartialCompleteValidation ( ) : void
MSOXCFOLD_S05_TC05_RopDeleteFolderPermissionValidation ( ) : void

Method Details

TestCleanup() protected method

Overrides TestClassBase's TestCleanup()
protected TestCleanup ( ) : void
return void

TestInitialize() protected method

Test initialize. Overrides the method TestInitialize defined in base class.
protected TestInitialize ( ) : void
return void