Method | Description | |
---|---|---|
AddContact ( string collectionId, object>.Dictionary |
This method is used to add a contact to server.
|
|
GetInitialSyncKey ( string collectionId, |
This method is used to get the initial syncKey of the specified folder.
|
|
GetItemOperationsResult ( string collectionId, string serverId, |
This method is used to fetch item with specified serverId on the server.
|
|
GetSearchResult ( string fileAs, string collectionId, |
Search item with specified criteria on the server.
|
|
GetSyncAddResult ( string subject, string collectionId, |
This method is used to synchronize item with specified subject.
|
|
GetSyncChangeResult ( string fileAs, string collectionId, string syncKey, |
This method is used to get the changed item from server.
|
|
RecordCaseRelativeItems ( string userName, string folderCollectionId ) : void |
Record the user name, folder collectionId and subjects the current test case impacts.
|
|
SendEmail ( string subject, string body ) : void |
The method is used to send a mail
|
|
SetContactProperties ( string picture ) : object>.Dictionary |
This method is used to set value for contact properties.
|
|
SwitchUser ( UserInformation userInformation, bool isFolderSyncNeeded ) : void |
This method is used to change user to call ActiveSync commands and resynchronize the folder collection hierarchy.
|
|
TestCleanup ( ) : void |
Clean up the test case
|
|
TestInitialize ( ) : void |
Initialize the test case
|
|
UpdateContact ( string syncKey, string collectionId, |
This method is used to update the contact properties.
|
|
VerifyContactClassElements ( object>.Dictionary |
This method is used to verify the Contact class elements that returned from Sync, ItemOperations or Search command response.
|
Method | Description | |
---|---|---|
DeleteItemsInFolder ( Collection |
Delete all the items in a folder.
|
|
FolderSync ( ) : FolderSyncResponse |
This method is used to synchronize the folder collection hierarchy.
|
protected AddContact ( string collectionId, object>.Dictionary |
||
collectionId | string | The collectionId of the folder which the contact is added to. |
contactProperties | object>.Dictionary | The dictionary for contact properties and its values. |
return |
protected GetInitialSyncKey ( string collectionId, |
||
collectionId | string | The collection id of the specified folder. |
supportedElements | The elements in Supported element. | |
return | string |
protected GetItemOperationsResult ( string collectionId, string serverId, |
||
collectionId | string | The collection id. |
serverId | string | The server id of the mail. |
bodyPreference | The bodyPreference in the options element. | |
schema | The Schema of the item to be fetched. | |
return |
protected GetSearchResult ( string fileAs, string collectionId, |
||
fileAs | string | The FileAs of the item. |
collectionId | string | The collection id. |
bodyPreference | The bodyPreference in the options element. | |
return |
protected GetSyncAddResult ( string subject, string collectionId, |
||
subject | string | The subject of the item. |
collectionId | string | The collection id which to sync with. |
bodyPreference | The bodyPreference in the options element. | |
supported | The elements in Supported element. | |
return |
protected GetSyncChangeResult ( string fileAs, string collectionId, string syncKey, |
||
fileAs | string | The FileAs of the contact. |
collectionId | string | The collectionId of the folder that store the contact. |
syncKey | string | The syncKey of the last Sync response. |
bodyPreference | The bodyPreference in the options element. | |
return |
protected RecordCaseRelativeItems ( string userName, string folderCollectionId ) : void | ||
userName | string | The user that current test case used. |
folderCollectionId | string | The collectionId of folder that the current test case impact. |
return | void |
protected SendEmail ( string subject, string body ) : void | ||
subject | string | The subject of the mail. |
body | string | The body of the item. |
return | void |
protected SetContactProperties ( string picture ) : object>.Dictionary |
||
picture | string | The picture of the contact item. |
return | object>.Dictionary |
protected SwitchUser ( UserInformation userInformation, bool isFolderSyncNeeded ) : void | ||
userInformation | UserInformation | The information of the user that will switch to. |
isFolderSyncNeeded | bool | A boolean value indicates whether needs to synchronize the folder hierarchy. |
return | void |
protected UpdateContact ( string syncKey, string collectionId, |
||
syncKey | string | The SyncKey returned form last Sync response. |
collectionId | string | The collectionId of folder that the item belongs to. |
changeData | The change data. | |
return | void |
protected VerifyContactClassElements ( object>.Dictionary |
||
contactProperties | object>.Dictionary | The contact properties. |
contact | Microsoft.Protocols.TestSuites.Common.DataStructures | The contact item returned from server. |
return | void |