C# Класс Microsoft.Protocols.TestSuites.MS_OXWSSYNC.MS_OXWSSYNCAdapter

The class provides methods to verify data/operation format in MS-OXWSSYNC.
Показать файл Открыть проект

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

Метод Описание
ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void

Configure the SOAP header before calling operations.

Initialize ( TestTools testSite ) : void

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

SyncFolderHierarchy ( SyncFolderHierarchyType request ) : SyncFolderHierarchyResponseType

Gets synchronization information that enables folders to be synchronized between a client and a server.

SyncFolderItems ( SyncFolderItemsType request ) : SyncFolderItemsResponseType

Gets synchronization information that enables items to be synchronized between a client and a server.

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

Метод Описание
VerifyRequirementOfOXWSCDATA ( ResponseMessageType responseMessage, bool isSchemaValidated ) : void

The capture code of requirements in MS-OXWSCDATA.

VerifySoapVersion ( ) : void

Verify the SOAP version.

VerifySyncFolderHierarchyResponse ( SyncFolderHierarchyResponseType syncFoldHierarchyResponse, bool isSchemaValidated ) : void

The capture code of requirements in SyncFolderHierarchy operation.

VerifySyncFolderItemsResponse ( SyncFolderItemsResponseType syncFolderItemsResponse, bool isSchemaValidated ) : void

The capture code of requirements in SyncFolderItems operation.

VerifyTransportType ( ) : void

Verify the transport 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

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

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

Gets synchronization information that enables folders to be synchronized between a client and a server.
public SyncFolderHierarchy ( SyncFolderHierarchyType request ) : SyncFolderHierarchyResponseType
request Microsoft.Protocols.TestSuites.Common.SyncFolderHierarchyType A request to the SyncFolderHierarchy operation.
Результат SyncFolderHierarchyResponseType

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

Gets synchronization information that enables items to be synchronized between a client and a server.
public SyncFolderItems ( SyncFolderItemsType request ) : SyncFolderItemsResponseType
request Microsoft.Protocols.TestSuites.Common.SyncFolderItemsType A request to the SyncFolderItems operation.
Результат SyncFolderItemsResponseType