C# Класс Microsoft.Protocols.TestSuites.MS_OXWSATT.MS_OXWSATTAdapter

The class provides methods to verify data/operation format in MS-OXWSATT.
Наследование: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSATTAdapter
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

ConfigureSOAPHeader() публичный Метод

Configure the SOAP header before calling operations.
public ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void
headerValues object>.Dictionary Specify the values for SOAP header.
Результат void

CreateAttachment() публичный Метод

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.
Результат CreateAttachmentResponseType

DeleteAttachment() публичный Метод

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.
Результат DeleteAttachmentResponseType

GetAttachment() публичный Метод

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.
Результат GetAttachmentResponseType

Initialize() публичный Метод

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
Результат void