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

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

Protected Methods

Method Description
CreateNoteElements ( ) : object>.Dictionary

Create the elements of a note

SyncAdd ( object>.Dictionary addElements, int count ) : SyncStore

Call Sync command to add a note

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

Call Sync command to change a note

SyncChanges ( byte bodyType ) : SyncStore

Call Sync command to fetch all notes

SyncChanges ( string syncKey, byte bodyType ) : SyncStore

Call Sync command to fetch the change of the notes from previous syncKey

TestCleanup ( ) : void

Clean up the environment.

TestInitialize ( ) : void

Initialize the Test suite.

Private Methods

Method Description
SyncDelete ( string syncKey, string serverId ) : SyncStore

Call Sync command to delete a note

Method Details

CreateNoteElements() protected method

Create the elements of a note
protected CreateNoteElements ( ) : object>.Dictionary
return object>.Dictionary

SyncAdd() protected method

Call Sync command to add a note
protected SyncAdd ( object>.Dictionary addElements, int count ) : SyncStore
addElements object>.Dictionary The elements of a note item to be added
count int The number of the note
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncChange() protected method

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

SyncChanges() protected method

Call Sync command to fetch all notes
protected SyncChanges ( byte bodyType ) : SyncStore
bodyType byte The type of the body
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncChanges() protected method

Call Sync command to fetch the change of the notes from previous syncKey
protected SyncChanges ( string syncKey, byte bodyType ) : SyncStore
syncKey string The sync key
bodyType byte The type of the body
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