C# Class Microsoft.Protocols.TestSuites.MS_ASTASK.MS_ASTASKAdapter

Adapter class of MS-ASTASK.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASTASKAdapter
ファイルを表示 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
FolderSync ( ) : FolderSyncResponse

Synchronize the collection hierarchy.

Initialize ( ITestSite testSite ) : void

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

ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore

Fetch all the data about tasks.

Search ( SearchRequest searchRequest ) : SearchStore

Search data using the given keyword text.

SendStringRequest ( string stringRequest, CommandName commandName ) : SendStringResponse

Send a string request and get a response from server.

Sync ( SyncRequest syncRequest ) : SyncStore

Sync data from the server.

Private Methods

Method Description
VerifyContainerDataType ( ) : void

This method is used to verify the container data type related requirements.

VerifyDateTimeDataType ( ) : void

This method is used to verify the dateTime data type related requirements.

VerifyItemOperationsResponse ( ItemOperationsStore itemOperationsResponse ) : void

This method is used to verify the ItemOperations response related requirement.

VerifyMessageSyntax ( ) : void

This method is used to verify the message syntax related requirement.

VerifySearchCommandResponse ( SearchStore searchResponse ) : void

This method is used to verify the Search response related requirement.

VerifyStringDataType ( ) : void

This method is used to verify the string data type related requirements.

VerifySyncCommandResponse ( SyncStore syncResponse ) : void

This method is used to verify the Sync response related requirements.

VerifyTransport ( ) : void

This method is used to verify transport related requirement.

VerifyUnsignedByteDataType ( byte byteValue ) : void

This method is used to verify the unsignedByte data type related requirements.

VerifyWBXMLRequirements ( ) : void

This method is used to verify MS-ASWBXML related requirements.

Method Details

FolderSync() public method

Synchronize the collection hierarchy.
public FolderSync ( ) : FolderSyncResponse
return FolderSyncResponse

Initialize() public method

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

ItemOperations() public method

Fetch all the data about tasks.
public ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore
itemOperationsRequest ItemOperationsRequest An ItemOperations command request.
return Microsoft.Protocols.TestSuites.Common.DataStructures.ItemOperationsStore

Search() public method

Search data using the given keyword text.
public Search ( SearchRequest searchRequest ) : SearchStore
searchRequest SearchRequest A Search command request.
return SearchStore

SendStringRequest() public method

Send a string request and get a response from server.
public SendStringRequest ( string stringRequest, CommandName commandName ) : SendStringResponse
stringRequest string A string request for a certain command.
commandName CommandName Commands choices.
return SendStringResponse

Sync() public method

Sync data from the server.
public Sync ( SyncRequest syncRequest ) : SyncStore
syncRequest SyncRequest A Sync command request.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore