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

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes protégées

Méthode 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

Méthode 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 méthode

Acknowledge the current device policy setting.
protected AcknowledgeSecurityPolicySettings ( ) : void
Résultat void

CallProvisionCommand() protected méthode

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.
Résultat ProvisionResponse

GetInitialSyncKey() protected méthode

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

SwitchUser() protected méthode

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.
Résultat void

SyncCaseRelativeItems() protected méthode

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.
Résultat Collection

TestCleanup() protected méthode

Clean up the environment.
protected TestCleanup ( ) : void
Résultat void

TestInitialize() protected méthode

Initialize the Test suite.
protected TestInitialize ( ) : void
Résultat void