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

The bass class of scenario class.
Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes protégées

Méthode Description
CopyTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]

Copy tasks on the server according to items' id.

CreateTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]

Creates tasks on the server and extracts the items id from response.

DeleteTasks ( ) : void

Delete tasks on the server according to items' id.

DeleteTasks ( AffectedTaskOccurrencesType affectedTaskOccurrences ) : void

Delete tasks with the condition whether affect task occurrences.

GetTasks ( ) : Microsoft.Protocols.TestSuites.Common.TaskType[]

Get tasks on the server according to items' id.

InitializeCollections ( ) : void

Initialize the collections of ResponseClass and ResponseCode.

MoveTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]

Move tasks on the server according to items' id.

TestInitialize ( ) : void

Initial the Test suite.

UpdateTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]

Update tasks on the server according to items' id.

Private Methods

Méthode Description
VerifyResponseMessage ( BaseResponseMessageType baseResponseMessage ) : void

Verify whether the response is a valid response message and extract the ResponseClass and ResponseCode.

Method Details

CopyTasks() protected méthode

Copy tasks on the server according to items' id.
protected CopyTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]
Résultat Microsoft.Protocols.TestSuites.Common.ItemIdType[]

CreateTasks() protected méthode

Creates tasks on the server and extracts the items id from response.
protected CreateTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]
Résultat Microsoft.Protocols.TestSuites.Common.ItemIdType[]

DeleteTasks() protected méthode

Delete tasks on the server according to items' id.
protected DeleteTasks ( ) : void
Résultat void

DeleteTasks() protected méthode

Delete tasks with the condition whether affect task occurrences.
protected DeleteTasks ( AffectedTaskOccurrencesType affectedTaskOccurrences ) : void
affectedTaskOccurrences AffectedTaskOccurrencesType The value indicate whether affect task occurrences.
Résultat void

GetTasks() protected méthode

Get tasks on the server according to items' id.
protected GetTasks ( ) : Microsoft.Protocols.TestSuites.Common.TaskType[]
Résultat Microsoft.Protocols.TestSuites.Common.TaskType[]

InitializeCollections() protected méthode

Initialize the collections of ResponseClass and ResponseCode.
protected InitializeCollections ( ) : void
Résultat void

MoveTasks() protected méthode

Move tasks on the server according to items' id.
protected MoveTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]
Résultat Microsoft.Protocols.TestSuites.Common.ItemIdType[]

TestInitialize() protected méthode

Initial the Test suite.
protected TestInitialize ( ) : void
Résultat void

UpdateTasks() protected méthode

Update tasks on the server according to items' id.
protected UpdateTasks ( ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]
Résultat Microsoft.Protocols.TestSuites.Common.ItemIdType[]