C# Класс Microsoft.Protocols.TestSuites.MS_ASPROV.TestSuiteBase

Наследование: Microsoft.Protocols.TestTools.TestClassBase
Показать файл Открыть проект

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

AcknowledgeSecurityPolicySettings() защищенный Метод

Acknowledge the current device policy setting.
protected AcknowledgeSecurityPolicySettings ( ) : void
Результат void

CallProvisionCommand() защищенный Метод

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.
Результат ProvisionResponse

GetInitialSyncKey() защищенный Метод

Get the initial syncKey of the specified folder.
protected GetInitialSyncKey ( string collectionId ) : string
collectionId string The collection id of the specified folder.
Результат string

SwitchUser() защищенный Метод

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.
Результат void

SyncCaseRelativeItems() защищенный Метод

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.
Результат Collection

TestCleanup() защищенный Метод

Clean up the environment.
protected TestCleanup ( ) : void
Результат void

TestInitialize() защищенный Метод

Initialize the Test suite.
protected TestInitialize ( ) : void
Результат void