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

A static class contains all helper methods used in test cases.
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Private Methods

Method Description
CheckSyncChangeCommands ( SyncStore result, string subject, ITestSite site ) : bool

This method is used to check the Sync Change commands.

CombineChangeAndAddNoteElements ( object>.Dictionary addElements, object>.Dictionary changeElements ) : object>.Dictionary

Combines the to-be-changed elements with the added elements to form a dictionary of changed elements for the note

CreateInitialSyncRequest ( string collectionId ) : SyncRequest

Builds a initial Sync request by using the specified collection Id.

CreateItemOperationsFetchRequest ( string collectionId, List serverIds, List longIds, Request bodyPreference, Request schema ) : ItemOperationsRequest

Builds a ItemOperations request to fetch the whole content of the notes

CreateSyncRequest ( string syncKey, string collectionId, List data ) : SyncRequest

Builds a Sync change request by using the specified sync key, folder collection ID and change application data.

CreateSyncRequest ( string syncKey, string collectionId, Request bodyPreference ) : SyncRequest

Builds a generic Sync request without command references by using the specified sync key, folder collection ID and body preference option.

IsHTML ( string content ) : bool

Whether the content is in HTML format