C# Class Microsoft.Protocols.TestSuites.MS_MEETS.MS_MEETSAdapter

MEETSAdapter implementation
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_MEETSAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
AddMeeting ( string organizerEmail, string uid, uint sequence, System.DateTime utcDateStamp, string title, string location, System.DateTime utcDateStart, System.DateTime utcDateEnd, bool nonGregorian ) : SoapResult

Adds a meeting to an existing workspace.

AddMeetingFromICal ( string organizerEmail, string icalText ) : SoapResult

Adds a meeting to an existing workspace based on a calendar object.

CreateWorkspace ( string title, string templateName, uint lcid, TimeZoneInf timeZoneInformation ) : SoapResult

Creates a new meeting workspace subsite.

DeleteWorkspace ( ) : SoapResult

Deletes a workspace.

GetMeetingWorkspaces ( bool recurring ) : SoapResult

Gets a list of created meeting workspace subsites from a parent web.

GetMeetingsInformation ( MeetingInfoTypes requestFlags, uint lcid ) : SoapResult

Queries information from a Web site about meeting workspaces on it or information about a meeting workspace itself.

Initialize ( ITestSite testSite ) : void

Overrides IAdapter's Initialize().

RemoveMeeting ( uint recurrenceId, string uid, uint sequence, System.DateTime utcDateStamp, bool cancelMeeting ) : SoapResult

Deletes a meeting from an existing workspace.

RestoreMeeting ( string uid ) : SoapResult

Restores a previously deleted meeting to a workspace.

SetAttendeeResponse ( string attendeeEmail, uint recurrenceId, string uid, uint sequence, System.DateTime utcDateTimeOrganizerCriticalChange, System.DateTime utcDateTimeAttendeeCriticalChange, AttendeeResponse response ) : SoapResult

Specifies attendee response to a meeting request in a workspace.

SetWorkspaceTitle ( string title ) : SoapResult

Specifies a user friendly name for a workspace.

UpdateMeeting ( string uid, uint sequence, System.DateTime utcDateStamp, string title, string location, System.DateTime utcDateStart, System.DateTime utcDateEnd, bool nonGregorian ) : SoapResult

Updates content of a meeting in a workspace.

UpdateMeetingFromICal ( string icalText, bool ignoreAttendees ) : SoapResult

Updates content of a meeting in a workspace base on a calendar object.

Private Methods

Method Description
CaptureTransportRelatedRequirements ( ) : void

Capture underlying transport protocol related requirements.

ElementExists ( XmlElement xmlElement, string elementName ) : bool

Verifies XML element exists

LoadCommonConfiguration ( ) : void

A method used to load Common Configuration

LoadCurrentSutSHOULDMAYConfiguration ( ) : void

A method used to load SHOULDMAY Configuration according to the current SUT version

ResponseExists ( XmlElement xmlElement, string responseName ) : bool

The method is used to validate whether there is an element Named as responseName in xmlElement.

SetSoapVersion ( MeetingsSoap meetingProxy ) : void

Set the SOAP version according to the SoapVersion property.

ValidateAndCaptureCommonMessageSyntax ( ) : void

Validate common message syntax to schema and capture related requirements.

ValidateAndCaptureSoapFaultRequirements ( System.Web.Services.Protocols.SoapException exception ) : void

Validate SOAP Fault message according to schema and capture related requirements.

VerifyAddMeetingComplexType ( bool isResponseValid ) : void

Verifies AddMeeting complex type.

VerifyAddMeetingFromICalResponse ( AddMeetingFromICalResponseAddMeetingFromICalResult result ) : void

Verifies the response of AddMeetingFromICal.

VerifyAddMeetingResponse ( AddMeetingResponseAddMeetingResult result ) : void

Verifies the AddMeeting Response.

VerifyAttendeeUpdateStatusComplexType ( bool isResponseValid ) : void

Verifies AttendeeUpdateStatus complex type.

VerifyCreateWorkspaceResponse ( CreateWorkspaceResponseCreateWorkspaceResult result ) : void

Verifies the response of CreateWorkspace.

VerifyDeleteWorkspaceResponse ( ) : void

The method is used to verify the response of DeleteWorkspace.

VerifyGetMeetingWorkspacesResponse ( GetMeetingWorkspacesResponseGetMeetingWorkspacesResult result ) : void

Verifies the response of GetMeetingWorkspaces.

VerifyGetMeetingsInformationResponse ( GetMeetingsInformationResponseGetMeetingsInformationResult result, MeetingInfoTypes requestFlags ) : void

Verifies the response of GetMeetingsInformation.

VerifyRemoveMeetingResponse ( ) : void

Verifies the response of RemoveMeeting.

VerifyRestoreMeetingResponse ( ) : void

Verifies the response of RestoreMeeting.

VerifySetAttendeeResponseResponse ( ) : void

Verifies the response of SetAttendeeResponse.

VerifySetWorkspaceTitleResponse ( ) : void

Verifies the response of SetWorkSpaceTitle.

VerifyUpdateMeetingFromICalResponse ( UpdateMeetingFromICalResponseUpdateMeetingFromICalResult result ) : void

Verifies the response of UpdateMeetingFromICal.

VerifyUpdateMeetingResponse ( ) : void

Verifies the response of UpdateMeeting.

Method Details

AddMeeting() public method

Adds a meeting to an existing workspace.
public AddMeeting ( string organizerEmail, string uid, uint sequence, System.DateTime utcDateStamp, string title, string location, System.DateTime utcDateStart, System.DateTime utcDateEnd, bool nonGregorian ) : SoapResult
organizerEmail string The e-mail address of the meeting organizer.
uid string A unique identifier represents this meeting
sequence uint The sequence or revision number of this meeting instance. Null if not specified.
utcDateStamp System.DateTime The time that this meeting instance was created.
title string The subject of this meeting.
location string The physical or virtual location in which this meeting is to take place.
utcDateStart System.DateTime The time that this meeting begins.
utcDateEnd System.DateTime The time that this meeting ends.
nonGregorian bool Whether the meeting organizer is using the Gregorian calendar. Null if not specified.
return SoapResult

AddMeetingFromICal() public method

Adds a meeting to an existing workspace based on a calendar object.
public AddMeetingFromICal ( string organizerEmail, string icalText ) : SoapResult
organizerEmail string The e-mail address of the meeting organizer.
icalText string Information about the meeting instance to add.
return SoapResult

CreateWorkspace() public method

Creates a new meeting workspace subsite.
public CreateWorkspace ( string title, string templateName, uint lcid, TimeZoneInf timeZoneInformation ) : SoapResult
title string The title of the new meeting workspace.
templateName string The name of the template to use for the new meeting workspace.
lcid uint The locale ID for the new workspace. Null if not specified.
timeZoneInformation TimeZoneInf The time zone on the system of the meeting organizer.
return SoapResult

DeleteWorkspace() public method

Deletes a workspace.
public DeleteWorkspace ( ) : SoapResult
return SoapResult

GetMeetingWorkspaces() public method

Gets a list of created meeting workspace subsites from a parent web.
public GetMeetingWorkspaces ( bool recurring ) : SoapResult
recurring bool Whether the meeting workspaces returned are limited to those that can be associated with a recurring meeting. Null if not specified.
return SoapResult

GetMeetingsInformation() public method

Queries information from a Web site about meeting workspaces on it or information about a meeting workspace itself.
public GetMeetingsInformation ( MeetingInfoTypes requestFlags, uint lcid ) : SoapResult
requestFlags MeetingInfoTypes Bit flags that specify what information to request from the Web site. Null if not specified.
lcid uint The locale ID of the meeting workspace templates to return. Null if not specified.
return SoapResult

Initialize() public method

Overrides IAdapter's Initialize().
public Initialize ( ITestSite testSite ) : void
testSite ITestSite A parameter represents an ITestSite instance.
return void

RemoveMeeting() public method

Deletes a meeting from an existing workspace.
public RemoveMeeting ( uint recurrenceId, string uid, uint sequence, System.DateTime utcDateStamp, bool cancelMeeting ) : SoapResult
recurrenceId uint The particular instance of a recurring meeting to delete. Null if not specified.
uid string A unique identifier represents the meeting to delete.
sequence uint The sequence number of a meeting instance to delete. Null if not specified.
utcDateStamp System.DateTime The time stamp for when this meeting instance was deleted. Null if not specified.
cancelMeeting bool Whether the meeting is being cancelled in addition to being deleted from the workspace. Null if not specified.
return SoapResult

RestoreMeeting() public method

Restores a previously deleted meeting to a workspace.
public RestoreMeeting ( string uid ) : SoapResult
uid string A unique identifier represents the meeting to restore.
return SoapResult

SetAttendeeResponse() public method

Specifies attendee response to a meeting request in a workspace.
public SetAttendeeResponse ( string attendeeEmail, uint recurrenceId, string uid, uint sequence, System.DateTime utcDateTimeOrganizerCriticalChange, System.DateTime utcDateTimeAttendeeCriticalChange, AttendeeResponse response ) : SoapResult
attendeeEmail string The e-mail address of the attendee responding.
recurrenceId uint The particular instance of a recurring meeting associated with the response. Null if not specified.
uid string A unique identifier represents the meeting associated with the response.
sequence uint The sequence number of a meeting instance associated with the response. Null if not specified.
utcDateTimeOrganizerCriticalChange System.DateTime The time stamp at which the attendee responded to the meeting, translated to the time zone of the meeting organizer. Null if not specified.
utcDateTimeAttendeeCriticalChange System.DateTime The time stamp that contains the time at which the attendee responded to the meeting, translated to the time zone of the attendee. Null if not specified.
response AttendeeResponse Attendee acceptance or rejection of the meeting invitation. Null if not specified.
return SoapResult

SetWorkspaceTitle() public method

Specifies a user friendly name for a workspace.
public SetWorkspaceTitle ( string title ) : SoapResult
title string The new title of the meeting workspace.
return SoapResult

UpdateMeeting() public method

Updates content of a meeting in a workspace.
public UpdateMeeting ( string uid, uint sequence, System.DateTime utcDateStamp, string title, string location, System.DateTime utcDateStart, System.DateTime utcDateEnd, bool nonGregorian ) : SoapResult
uid string A unique identifier represents the meeting to update.
sequence uint The updated sequence number of this meeting. Null if not specified.
utcDateStamp System.DateTime The time at which the meeting is being updated. Null if not specified.
title string The updated subject of this meeting.
location string The updated physical or virtual location in which this meeting is to take place.
utcDateStart System.DateTime The updated beginning time of this meeting.
utcDateEnd System.DateTime The updated end time of this meeting.
nonGregorian bool Whether the updated meeting is not in the Gregorian calendar. Null if not specified.
return SoapResult

UpdateMeetingFromICal() public method

Updates content of a meeting in a workspace base on a calendar object.
public UpdateMeetingFromICal ( string icalText, bool ignoreAttendees ) : SoapResult
icalText string Updated information about the meeting instance.
ignoreAttendees bool Whether this is a scheduling-only update, or an update that affects attendees. Null if not specified.
return SoapResult