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

The base class of scenario class.
Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
GetChangeItem ( string collectionId, string taskSubject ) : Sync

Get the specified task item from the sync change response.

SyncChanges ( string collectionId ) : SyncStore

Synchronize changes between client and server.

Protected Methods

Method Description
ExtractSyncStore ( SendStringResponse sendStringResponse ) : SyncStore

Extract Add elements from a Sync string response.

SyncAddTask ( object>.Dictionary addElements ) : SyncStore

Call Sync command to add a task.

SyncChangeTask ( string syncKey, string serverId, object>.Dictionary changedElements ) : SyncStore

Call Sync command to change a task.

SyncDeleteTask ( string syncKey, string serverId ) : SyncStore

Call Sync command to delete a task.

TestCleanup ( ) : void

Clean up the environment.

TestInitialize ( ) : void

Initialize the Test Suite.

Method Details

ExtractSyncStore() protected method

Extract Add elements from a Sync string response.
protected ExtractSyncStore ( SendStringResponse sendStringResponse ) : SyncStore
sendStringResponse SendStringResponse The returned SendStringResponse object.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

GetChangeItem() public method

Get the specified task item from the sync change response.
public GetChangeItem ( string collectionId, string taskSubject ) : Sync
collectionId string The task folder server id.
taskSubject string The subject value of task.
return Microsoft.Protocols.TestSuites.Common.DataStructures.Sync

SyncAddTask() protected method

Call Sync command to add a task.
protected SyncAddTask ( object>.Dictionary addElements ) : SyncStore
addElements object>.Dictionary The elements of a task item to be added.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncChangeTask() protected method

Call Sync command to change a task.
protected SyncChangeTask ( string syncKey, string serverId, object>.Dictionary changedElements ) : SyncStore
syncKey string The sync key.
serverId string The server Id of the task.
changedElements object>.Dictionary The changed elements of the task.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncChanges() public method

Synchronize changes between client and server.
public SyncChanges ( string collectionId ) : SyncStore
collectionId string Specify the folder collection Id which needs to be synchronized.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncDeleteTask() protected method

Call Sync command to delete a task.
protected SyncDeleteTask ( string syncKey, string serverId ) : SyncStore
syncKey string The sync key.
serverId string The server id of the task, which is returned by server.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

TestCleanup() protected method

Clean up the environment.
protected TestCleanup ( ) : void
return void

TestInitialize() protected method

Initialize the Test Suite.
protected TestInitialize ( ) : void
return void