C# Class Microsoft.Protocols.TestSuites.MS_OXWSBTRF.MS_OXWSBTRFAdapter

The class provides methods to verify data/operation format in MS-OXWSBTRF.
显示文件 Open project: OfficeDev/Interop-TestSuites

Public Methods

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

Configure the SOAP header before calling operations.

ExportItems ( ExportItemsType exportItemsRequest ) : ExportItemsResponseType

Exports items from a specified folder.

Initialize ( TestTools testSite ) : void

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

UploadItems ( UploadItemsType uploadItemsRequest ) : UploadItemsResponseType

Uploads the items into a specified folder.

Private Methods

Method Description
VerifyBaseResponseMessageType ( bool isSchemaValidated ) : void

The method is used to verify the related base BaseResponseMessageType requirements.

VerifyExportItemsResponseMessageType ( ExportItemsResponseMessageType exportItemsMessage, bool isSchemaValidated ) : void

This method is used to verify the ExportItemsResponseMessageType related requirements.

VerifyExportItemsResponseType ( ExportItemsResponseType exportItems, bool isSchemaValidated ) : void

Verify the ExportItems operation responses related requirements.

VerifyResponseClassType ( bool isSchemaValidated ) : void

This method is used to verify the ResponseClassType related requirements.

VerifyResponseCodeType ( bool isSchemaValidated ) : void

This method is used to verify the ResponseCodeType related requirements.

VerifyResponseMessageType ( ResponseMessageType resMessage, bool isSchemaValidated ) : void

This method is used to verify the base type ResponseMessageType related requirements.

VerifyServerVersion ( bool isSchemaValidated ) : void

This method is used to verify the ServerVersion related requirements.

VerifySoapVersion ( ) : void

Verify the SOAP version

VerifyTransportType ( ) : void

Verify the transport related requirements.

VerifyUploadItemsResponseMessageType ( UploadItemsResponseMessageType uploadItemsMessage, bool isSchemaValidated ) : void

This method is used to verify the UploadItemsResponseMessageType related requirements.

VerifyUploadItemsResponseType ( UploadItemsResponseType uploadItems, bool isSchemaValidated ) : void

This method is used to verify the UploadItems operation response 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

ExportItems() public method

Exports items from a specified folder.
public ExportItems ( ExportItemsType exportItemsRequest ) : ExportItemsResponseType
exportItemsRequest Microsoft.Protocols.TestSuites.Common.ExportItemsType Specify the request for ExportItems operation.
return ExportItemsResponseType

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

UploadItems() public method

Uploads the items into a specified folder.
public UploadItems ( UploadItemsType uploadItemsRequest ) : UploadItemsResponseType
uploadItemsRequest Microsoft.Protocols.TestSuites.Common.UploadItemsType Specify the request for UploadItems operation.
return UploadItemsResponseType