C# Class Microsoft.Protocols.TestSuites.MS_OXWSATT.MS_OXWSATTAdapter

The class provides methods to verify data/operation format in MS-OXWSATT.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSATTAdapter
ファイルを表示 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void

Configure the SOAP header before calling operations.

CreateAttachment ( CreateAttachmentType createAttachmentRequest ) : CreateAttachmentResponseType

Creates an item or file attachment on an item in the server store.

DeleteAttachment ( DeleteAttachmentType deleteAttachmentRequest ) : DeleteAttachmentResponseType

Deletes an attachment from an item in the server store.

GetAttachment ( GetAttachmentType getAttachmentRequest ) : GetAttachmentResponseType

Gets an attachment from an item in the server store.

Initialize ( TestTools testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

Private Methods

Method Description
VerifyCreateAttachmentResponse ( CreateAttachmentResponseType createAttachmentResponse, bool isSchemaValidated ) : void

The capture code for requirements of CreateAttachment operation.

VerifyDeleteAttachmentResponse ( DeleteAttachmentResponseType deleteAttachmentResponse, bool isSchemaValidated ) : void

The capture code for requirements of DeleteAttachment operation.

VerifyDeleteAttachmentResponseMessageType ( DeleteAttachmentResponseMessageType deleteAttachmentResponseMessage, bool isSchemaValidated ) : void

Captures DeleteAttachmentResponseMessageType related requirements.

VerifyGetAttachmentResponse ( GetAttachmentResponseType getAttachmentResponse, bool isSchemaValidated ) : void

The capture code for requirements of GetAttachment operation.

VerifyServerVersionInfo ( bool isSchemaValidated ) : void

Verify the ServerVersionInfo structure.

VerifySoapVersion ( ) : void

Verify the SOAP version.

VerifyTransportType ( ) : void

Verify the transport related requirements.

verifyReferenceAttachmentType ( bool isSchemaValidated, ReferenceAttachmentType referenceAttachment ) : void

Verify the ReferenceAttachmentType related requirements.

Method Details

ConfigureSOAPHeader() public method

Configure the SOAP header before calling operations.
public ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void
headerValues object>.Dictionary Specify the values for SOAP header.
return void

CreateAttachment() public method

Creates an item or file attachment on an item in the server store.
public CreateAttachment ( CreateAttachmentType createAttachmentRequest ) : CreateAttachmentResponseType
createAttachmentRequest Microsoft.Protocols.TestSuites.Common.CreateAttachmentType A CreateAttachmentType complex type specifies a request message to attach an item or file to a specified item in the server database.
return CreateAttachmentResponseType

DeleteAttachment() public method

Deletes an attachment from an item in the server store.
public DeleteAttachment ( DeleteAttachmentType deleteAttachmentRequest ) : DeleteAttachmentResponseType
deleteAttachmentRequest Microsoft.Protocols.TestSuites.Common.DeleteAttachmentType A DeleteAttachmentType complex type specifies a request message to delete an attachment on an item in the server database.
return DeleteAttachmentResponseType

GetAttachment() public method

Gets an attachment from an item in the server store.
public GetAttachment ( GetAttachmentType getAttachmentRequest ) : GetAttachmentResponseType
getAttachmentRequest Microsoft.Protocols.TestSuites.Common.GetAttachmentType A GetAttachmentType complex type specifies a request message to get attached items and files on an item in the server database.
return GetAttachmentResponseType

Initialize() public method

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( TestTools testSite ) : void
testSite TestTools Pass ITestSite to adapter, make adapter can use ITestSite's function
return void