Method | Description | |
---|---|---|
CreateDefaultCalendar ( string subject, string organizerEmailAddress, string attendeeEmailAddress, string calendarUID, System.DateTime timestamp, System.DateTime startTime, System.DateTime endTime ) : Calendar |
Create a default calendar object in the current login user calendar folder
|
|
CreateSyncPermanentDeleteRequest ( string syncKey, string collectionId, string serverId ) : SyncRequest |
Create a Sync delete operation request which would be used to delete items permanently.
|
|
GetSyncResult ( string emailSubject, string folderCollectionId, |
Get the specified email item.
|
|
InitializeSync ( string collectionId ) : |
Initialize the sync with server
|
|
RecordCaseRelativeItems ( string userName, string folderCollectionId ) : void |
Record the user name, folder collectionId and subjects the current test case impacts.
|
|
SendMeetingRequest ( string subject, Calendar calendar ) : void |
Send a meeting request email.
|
|
SendMeetingResponse ( Calendar calendar ) : void |
Send a meeting response email
|
|
SendPlaintextEmail ( string subject, string cc, string bcc ) : void |
Send a plain text email.
|
|
SendPlaintextEmail ( string subject, string cc, string bcc, string to, string sender, string replyTo, string from ) : void |
Send a plain text email.
|
|
SwitchUser ( UserInformation userInformation, bool isFolderSyncNeeded ) : void |
Change user to call ActiveSync operations and resynchronize the collection hierarchy.
|
|
SyncAddMeeting ( string calendarCollectionId, object>.Dictionary |
Add a meeting to the server.
|
|
SyncChanges ( string syncKey, string collectionId, |
Sync changes between client and server
|
|
TestCleanup ( ) : void |
Override the base TestCleanup function
|
|
TestInitialize ( ) : void |
Override the base TestInitialize function
|
|
UpdateEmail ( string collectionId, string syncKey, bool read, string serverId, |
Update email
|
|
UpdateEmailWithMoreData ( string collectionId, string syncKey, bool read, string serverId, |
Update email with more data
|
Method | Description | |
---|---|---|
DeleteItemsInFolder ( UserInformation userInformation ) : void |
Delete all the items in a folder.
|
protected CreateDefaultCalendar ( string subject, string organizerEmailAddress, string attendeeEmailAddress, string calendarUID, System.DateTime timestamp, System.DateTime startTime, System.DateTime endTime ) : Calendar | ||
subject | string | The calendar subject |
organizerEmailAddress | string | The organizer email address |
attendeeEmailAddress | string | The attendee email address |
calendarUID | string | The uid of calendar |
timestamp | System.DateTime | The DtStamp of calendar |
startTime | System.DateTime | The StartTime of calendar |
endTime | System.DateTime | The EndTime of calendar |
return | Calendar |
protected static CreateSyncPermanentDeleteRequest ( string syncKey, string collectionId, string serverId ) : SyncRequest | ||
syncKey | string | The synchronization state of a collection. |
collectionId | string | The server ID of the folder. |
serverId | string | The server ID of the item which will be deleted. |
return | SyncRequest |
protected GetSyncResult ( string emailSubject, string folderCollectionId, |
||
emailSubject | string | The subject of the email item. |
folderCollectionId | string | The serverId of the default folder. |
bodyPreference | The preference information related to the type and size of information that is returned from fetching. | |
return |
protected InitializeSync ( string collectionId ) : |
||
collectionId | string | Specify the folder collection Id which needs to be synced. |
return |
protected RecordCaseRelativeItems ( string userName, string folderCollectionId ) : void | ||
userName | string | The user that current test case used. |
folderCollectionId | string | The collectionId of folders that the current test case impact. |
return | void |
protected SendMeetingRequest ( string subject, Calendar calendar ) : void | ||
subject | string | The subject of email |
calendar | Calendar | The meeting calendar |
return | void |
protected SendMeetingResponse ( Calendar calendar ) : void | ||
calendar | Calendar | The meeting calendar |
return | void |
protected SendPlaintextEmail ( string subject, string cc, string bcc ) : void | ||
subject | string | The subject of email |
cc | string | The cc address of the mail |
bcc | string | The bcc address of the mail |
return | void |
protected SendPlaintextEmail ( string subject, string cc, string bcc, string to, string sender, string replyTo, string from ) : void | ||
subject | string | The subject of email |
cc | string | The cc address of the mail |
bcc | string | The bcc address of the mail |
to | string | The to address of the mail |
sender | string | The sender address of the mail |
replyTo | string | The replyTo address of the mail |
from | string | The from address of the mail |
return | void |
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 |
protected SyncAddMeeting ( string calendarCollectionId, object>.Dictionary |
||
calendarCollectionId | string | The collectionId of the folder which the item should be added. |
elementsToValueMap | object>.Dictionary | The key and value pairs of common meeting properties. |
return | void |
protected SyncChanges ( string syncKey, string collectionId, |
||
syncKey | string | The synchronization key returned by last request. |
collectionId | string | Identify the folder as the collection being synchronized. |
bodyPreference | Sets preference information related to the type and size of information for body | |
return |
protected UpdateEmail ( string collectionId, string syncKey, bool read, string serverId, |
||
collectionId | string | The collectionId of the folder which contains the item to be updated. |
syncKey | string | The syncKey which is returned from server |
read | bool | The value is TRUE indicates the email has been read; a value of FALSE indicates the email has not been read |
serverId | string | The server id of the email |
flag | The flag instance | |
categories | Collection |
The array of categories |
return |
protected UpdateEmailWithMoreData ( string collectionId, string syncKey, bool read, string serverId, |
||
collectionId | string | The collectionId of the folder which contains the item to be updated. |
syncKey | string | The syncKey which is returned from server |
read | bool | The value is TRUE indicates the email has been read; a value of FALSE indicates the email has not been read |
serverId | string | The server id of the email |
flag | The flag instance | |
categories | Collection | The list of categories |
additionalElement | string | Additional flag element |
insertTag | string | Additional element will insert before this tag |
return | SendStringResponse |