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

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

Protected Methods

Method Description
CallCreateAttachmentOperation ( string parentItemId ) : CreateAttachmentResponseType

Creates an item or file attachment on an item.

CallDeleteAttachmentOperation ( ) : DeleteAttachmentResponseType

Deletes an attachment from an item.

CallGetAttachmentOperation ( BodyTypeResponseType bodyType, bool includeMimeContent ) : GetAttachmentResponseType

Gets an attachment from an item.

CreateMessage ( ) : ItemIdType

Create a message in inbox .

DeleteMessage ( string messageId ) : bool

Delete a specific message.

TestCleanup ( ) : void

Clean up the environment.

TestInitialize ( ) : void

Initialize the Test suite.

Method Details

CallCreateAttachmentOperation() protected method

Creates an item or file attachment on an item.
protected CallCreateAttachmentOperation ( string parentItemId ) : CreateAttachmentResponseType
parentItemId string Identifies the parent item in the server store that contains the attachment.
return CreateAttachmentResponseType

CallDeleteAttachmentOperation() protected method

Deletes an attachment from an item.
protected CallDeleteAttachmentOperation ( ) : DeleteAttachmentResponseType
return DeleteAttachmentResponseType

CallGetAttachmentOperation() protected method

Gets an attachment from an item.
protected CallGetAttachmentOperation ( BodyTypeResponseType bodyType, bool includeMimeContent ) : GetAttachmentResponseType
bodyType BodyTypeResponseType Represents the format of the body text in a response.
includeMimeContent bool Indicates whether the MIME content of an item or attachment is returned in a response.
return GetAttachmentResponseType

CreateMessage() protected method

Create a message in inbox .
protected CreateMessage ( ) : ItemIdType
return Microsoft.Protocols.TestSuites.Common.ItemIdType

DeleteMessage() protected method

Delete a specific message.
protected DeleteMessage ( string messageId ) : bool
messageId string The Id of the message to be deleted.
return bool

TestCleanup() protected method

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

TestInitialize() protected method

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