C# Class Microsoft.Protocols.TestSuites.MS_ASPROV.TestSuiteBase

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Mostra file Open project: OfficeDev/Interop-TestSuites

Protected Methods

Method Description
AcknowledgeSecurityPolicySettings ( ) : void

Acknowledge the current device policy setting.

CallProvisionCommand ( string policyKey, string policyType, string status ) : ProvisionResponse

Call Provision command.

GetInitialSyncKey ( string collectionId ) : string

Get the initial syncKey of the specified folder.

SwitchUser ( UserInformation userInformation, bool isFolderSyncNeeded ) : void

Change user to call active sync operations and resynchronize the collection hierarchy.

SyncCaseRelativeItems ( string collectionId, string emailSubject, bool isRetryNeeded ) : Collection

Loop to get the recorded emails.

TestCleanup ( ) : void

Clean up the environment.

TestInitialize ( ) : void

Initialize the Test suite.

Private Methods

Method Description
CreateSyncRequest ( string syncKey, string collectionId ) : SyncRequest

Build a generic Sync request without command references by using the specified sync key, folder collection ID.

DeleteCreatedItems ( Collection itemsToDelete ) : void

Delete the specified item.

Method Details

AcknowledgeSecurityPolicySettings() protected method

Acknowledge the current device policy setting.
protected AcknowledgeSecurityPolicySettings ( ) : void
return void

CallProvisionCommand() protected method

Call Provision command.
protected CallProvisionCommand ( string policyKey, string policyType, string status ) : ProvisionResponse
policyKey string The policy key.
policyType string The format in which the policy settings are to be provided to the client device.
status string The status of the initial Provision command.
return ProvisionResponse

GetInitialSyncKey() protected method

Get the initial syncKey of the specified folder.
protected GetInitialSyncKey ( string collectionId ) : string
collectionId string The collection id of the specified folder.
return string

SwitchUser() protected method

Change user to call active sync operations and resynchronize the collection hierarchy.
protected SwitchUser ( UserInformation userInformation, bool isFolderSyncNeeded ) : void
userInformation UserInformation The information of the user.
isFolderSyncNeeded bool A boolean value that indicates whether needs to synchronize the folder hierarchy.
return void

SyncCaseRelativeItems() protected method

Loop to get the recorded emails.
protected SyncCaseRelativeItems ( string collectionId, string emailSubject, bool isRetryNeeded ) : Collection
collectionId string The collection id of the specified folder.
emailSubject string The email subject.
isRetryNeeded bool A boolean indicating whether need retry.
return Collection

TestCleanup() protected method

Clean up the environment.
protected TestCleanup ( ) : void
return void

TestInitialize() protected method

Initialize the Test suite.
protected TestInitialize ( ) : void
return void