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
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CreateAttachment() public méthode

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.
Résultat CreateAttachmentResponseType

DeleteAttachment() public méthode

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.
Résultat DeleteAttachmentResponseType

GetAttachment() public méthode

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.
Résultat GetAttachmentResponseType

Initialize() public méthode

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
Résultat void