C# Класс Microsoft.Protocols.TestSuites.MS_ASTASK.TestSuiteBase

The base class of scenario class.
Наследование: Microsoft.Protocols.TestTools.TestClassBase
Показать файл Открыть проект

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

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

ExtractSyncStore() защищенный Метод

Extract Add elements from a Sync string response.
protected ExtractSyncStore ( SendStringResponse sendStringResponse ) : SyncStore
sendStringResponse SendStringResponse The returned SendStringResponse object.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

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

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.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.Sync

SyncAddTask() защищенный Метод

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.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncChangeTask() защищенный Метод

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.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

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

Synchronize changes between client and server.
public SyncChanges ( string collectionId ) : SyncStore
collectionId string Specify the folder collection Id which needs to be synchronized.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncDeleteTask() защищенный Метод

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.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

TestCleanup() защищенный Метод

Clean up the environment.
protected TestCleanup ( ) : void
Результат void

TestInitialize() защищенный Метод

Initialize the Test Suite.
protected TestInitialize ( ) : void
Результат void