Method | Description | |
---|---|---|
AddCalendarWithMultipleCalendarType ( string type ) : Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |
A method that send out string command request that contains multiple CalendarType elements in Recurrence.
|
|
AddSyncCalendar ( object>.Dictionary |
Add a calendar to server, and if add is success then sync CalendarFolder.
|
|
CreateCalendarRecurrence ( byte recurrenceType, int occurrences, int interval ) : |
Create a Request.Recurrence instance with child elements.
|
|
CreateDefaultCalendar ( ) : object>.Dictionary |
Create a Calendar instance with 'Subject', 'OrganizerName', 'OrganizerEmail', 'Location' 'TimeZone', 'Body' and 'UID' elements.
|
|
CreateRecurrenceIncludingCalendarType ( |
Create a Request.Recurrence instance including specified CalendarType element value.
|
|
DeleteAllItems ( string collectionId ) : void |
Delete all items from the specified collection
|
|
DeleteItemsInFolder ( Collection |
Delete all the items in a folder.
|
|
GetChangeItem ( string collectionId, string calendarSubject ) : Microsoft.Protocols.TestSuites.Common.DataStructures.Sync |
Get the specified email item from the sync change response
|
|
InitializeSync ( string collectionId, |
Initialize the sync with server
|
|
SyncChanges ( string collectionId ) : Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |
Sync changes between client and server
|
|
UpdateCalendarProperty ( string serverId, string collectionId, string syncKey, object>.Dictionary |
Call sync command to update properties of an existing calendar item.
|
Method | Description | |
---|---|---|
MeetingResponse ( byte userResponse, string collectionId, string serverId, string instanceId ) : bool |
Call MeetingResponse command to respond the meeting request
|
|
RecordCaseRelativeItems ( string userName, string folderCollectionId ) : void |
Record the user name, folder collectionId and subjects the current test case impacts.
|
|
SendMimeMeeting ( Microsoft.Protocols.TestSuites.Common.DataStructures.Calendar calendarItem, string subjectName, string organizerEmailAddress, string attendeeEmailAddress, string method, string replyMethod ) : void |
Using mail with mime content to send a meeting request or cancel request
|
|
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
|
Method | Description | |
---|---|---|
InitializePropertiesValue ( ) : void |
Initialize properties value.
|
public AddCalendarWithMultipleCalendarType ( string type ) : Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore | ||
type | string | value of Type element in Recurrence. |
return | Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |
public AddSyncCalendar ( object>.Dictionary |
||
items | object>.Dictionary | The dictionary store calendar item's element name and element value |
return | Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |
public CreateCalendarRecurrence ( byte recurrenceType, int occurrences, int interval ) : |
||
recurrenceType | byte | The recurrence type |
occurrences | int | The value of Occurrences element. |
interval | int | The value of Interval element. |
return |
public CreateDefaultCalendar ( ) : object>.Dictionary |
||
return | object>.Dictionary |
public CreateRecurrenceIncludingCalendarType ( |
||
recurrenceInstance | The recurrence instance | |
calendarType | byte | The calendarType value |
return |
public DeleteAllItems ( string collectionId ) : void | ||
collectionId | string | The specified collection id |
return | void |
public DeleteItemsInFolder ( Collection |
||
createdItemsCollection | Collection |
The collection of items which should be deleted. |
return | void |
public GetChangeItem ( string collectionId, string calendarSubject ) : Microsoft.Protocols.TestSuites.Common.DataStructures.Sync | ||
collectionId | string | The email folder server id. |
calendarSubject | string | The subject value of calendar. |
return | Microsoft.Protocols.TestSuites.Common.DataStructures.Sync |
public InitializeSync ( string collectionId, |
||
collectionId | string | Specify the folder collection Id which needs to be synced. |
supported | Specifies which contact and calendar elements in a Sync request are managed by the client and therefore not ghosted. | |
return | Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |
protected MeetingResponse ( byte userResponse, string collectionId, string serverId, string instanceId ) : bool | ||
userResponse | byte | The value indicates whether the meeting is being accepted, tentatively accepted, or declined |
collectionId | string | Specify the server id of mailbox |
serverId | string | Specify a unique identifier that was assigned by the server for a mailItem |
instanceId | string | Specify the start time of the appointment or meeting instance to be modified. The format of the instanceId value /// is a string in dateTime ([MS-ASDTYPE] section 2.3) format with the punctuation separators, for example, 2010-04-08T18:16:00.000Z |
return | bool |
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 impacts. |
return | void |
protected SendMimeMeeting ( Microsoft.Protocols.TestSuites.Common.DataStructures.Calendar calendarItem, string subjectName, string organizerEmailAddress, string attendeeEmailAddress, string method, string replyMethod ) : void | ||
calendarItem | Microsoft.Protocols.TestSuites.Common.DataStructures.Calendar | Calendar information |
subjectName | string | The subject name of meeting request mail |
organizerEmailAddress | string | The organizer email address |
attendeeEmailAddress | string | The attendee email address |
method | string | Specify normal appointments from meeting requests, responses, and cancellations, it can be set to 'REQUEST', 'REPLY', or 'CANCEL' |
replyMethod | string | Specify REPLY method, it can be set to 'ACCEPTED', 'TENTATIVE', or 'DECLINED' |
return | void |
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 |
public SyncChanges ( string collectionId ) : Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore | ||
collectionId | string | Specify the folder collection Id which needs to be synced. |
return | Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |
public UpdateCalendarProperty ( string serverId, string collectionId, string syncKey, object>.Dictionary |
||
serverId | string | Server Id of the calendar item. |
collectionId | string | Collection Id of the folder that calendar item is contained in. |
syncKey | string | Sync key value. |
items | object>.Dictionary | The dictionary store calendar item's element name and element value, which will be changed. |
return | Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore |