Method | Description | |
---|---|---|
AddCreatedItemToCollection ( UserInformation userInformation, string parentFolder, string itemSubject ) : void |
Add the item created in test case to the item collections needed to clean up.
|
|
CheckPreconditions ( ) : void |
Checks if ActiveSync Protocol Version is "14.1" and Transport Type is "HTTPS".
|
|
GetTemplateID ( string templateName ) : string |
Call Settings command to get the expected template ID for template name
|
|
SendMailAndFolderSync ( string templateID, bool saveInSentItems, UserInformation copyToUserInformation ) : string |
User1 sends mail to User2 and does FolderSync in User2's mailbox
|
|
SwitchUser ( UserInformation userInformation, bool syncFolderHierarchy ) : void |
Change user to call FolderSync command to synchronize the collection hierarchy.
|
|
SyncChanges ( string syncKey, string collectionId, bool rightsManagementSupport ) : |
Sync changes between client and server
|
|
SyncEmail ( string subject, string collectionId, bool rightsManagementSupport, bool isRetryNeeded ) : |
Find an email with specific subject and folder.
|
|
TestCleanup ( ) : void |
Override the base TestCleanup function
|
|
TestInitialize ( ) : void |
Override the base TestInitialize function
|
Method | Description | |
---|---|---|
DeleteCreatedItems ( Collection |
Delete the specified item.
|
protected static AddCreatedItemToCollection ( UserInformation userInformation, string parentFolder, string itemSubject ) : void | ||
userInformation | UserInformation | The identity of the user who has the item. |
parentFolder | string | The CollectionId of the folder in which the item is placed. |
itemSubject | string | The subject of the item to delete. |
return | void |
protected GetTemplateID ( string templateName ) : string | ||
templateName | string | A string that specifies the name of the rights policy template. |
return | string |
protected SendMailAndFolderSync ( string templateID, bool saveInSentItems, UserInformation copyToUserInformation ) : string | ||
templateID | string | A string that identifies a particular rights policy template to be applied to the outgoing message. |
saveInSentItems | bool | A boolean that represent to save the sent item in SentItems folder or not. |
copyToUserInformation | UserInformation | The UserInformation for the Cc element. |
return | string |
protected SwitchUser ( UserInformation userInformation, bool syncFolderHierarchy ) : void | ||
userInformation | UserInformation | The information of a user. |
syncFolderHierarchy | bool | Whether sync folder hierarchy or not. |
return | void |
protected SyncChanges ( string syncKey, string collectionId, bool rightsManagementSupport ) : |
||
syncKey | string | The synchronization key returned by last request. |
collectionId | string | Identify the folder as the collection being synchronized. |
rightsManagementSupport | bool | A boolean value specifies whether the server will decompress and decrypt rights-managed email messages before sending them to the client or not |
return |
protected SyncEmail ( string subject, string collectionId, bool rightsManagementSupport, bool isRetryNeeded ) : |
||
subject | string | The subject of the email item. |
collectionId | string | Identify the folder as the collection being synchronized. |
rightsManagementSupport | bool | A boolean value specifies whether the server will decompress and decrypt rights-managed email messages before sending them to the client or not |
isRetryNeeded | bool | A boolean value specifies whether need retry. |
return |