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

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

Private Properties

Свойство Type Description

Méthodes protégées

Méthode Description
CreateItem ( DistinguishedFolderIdNameType parentFolderType, string parentFolderId, string itemSubject ) : ItemIdType

Create an item in the specified folder.

CreateSubFolder ( DistinguishedFolderIdNameType parentFolderType, string subFolderName ) : string

Create a sub folder in the specified parent folder.

ExchangeServiceBinding_ResponseEvent ( BaseRequestType request, BaseResponseMessageType response, bool isSchemaValidated ) : void

Handle the server response.

ExportItems ( bool configureSOAPHeader ) : Microsoft.Protocols.TestSuites.Common.ExportItemsResponseMessageType[]

Get the ExportItemsResponseMessageType response of ExportItems operation.

GetItems ( BaseItemIdType itemIds ) : Microsoft.Protocols.TestSuites.Common.ItemType[]

Get the items information.

TestCleanup ( ) : void

Clean up the environment.

TestInitialize ( ) : void

Initialize the Test suite.

UploadInvalidItems ( Collection parentFolderId, CreateActionType createAction ) : Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]

Get the UploadItemsResponseMessageType response of UploadItems operation when this operation executes unsuccessfully.

UploadItems ( ExportItemsResponseMessageType exportedItems, Collection parentFolderId, CreateActionType createAction, bool isAssociatedSpecified, bool isAssociated, bool configureSOAPHeader ) : Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]

Get the UploadItemsResponseMessageType response of UploadItems operation when this operation executes successfully.

VerifyExportItemsErrorResponse ( BaseResponseMessageType exportItemsResponse ) : void

Verify the ExportItemsResponseType related requirements when ExportItems operation executes unsuccessfully.

VerifyExportItemsSuccessResponse ( BaseResponseMessageType exportItemsResponse ) : void

Verify the ExportItemsResponseType related requirements when the ExportItems operation executes successfully.

VerifyItemsUploadedToMailbox ( ItemType getItems ) : void

Verify the array of items uploaded to a mailbox

VerifyManagementRolePart ( ) : void

Verify the ManagementRole part of ExportItems operation

VerifyUploadItemsErrorResponse ( BaseResponseMessageType uploadItemsResponse ) : void

Verify the UploadItemsResponseType related requirements when UploadItems executes unsuccessfully.

VerifyUploadItemsSuccessResponse ( BaseResponseMessageType uploadItemsResponse ) : void

Verify the UploadItemsResponseType related requirements when UploadItems operation executes successfully.

Method Details

CreateItem() protected méthode

Create an item in the specified folder.
protected CreateItem ( DistinguishedFolderIdNameType parentFolderType, string parentFolderId, string itemSubject ) : ItemIdType
parentFolderType DistinguishedFolderIdNameType Type of the parent folder.
parentFolderId string ID of the parent folder.
itemSubject string Subject of the item which should be created.
Résultat Microsoft.Protocols.TestSuites.Common.ItemIdType

CreateSubFolder() protected méthode

Create a sub folder in the specified parent folder.
protected CreateSubFolder ( DistinguishedFolderIdNameType parentFolderType, string subFolderName ) : string
parentFolderType DistinguishedFolderIdNameType Type of the parent folder.
subFolderName string Name of the folder which should be created.
Résultat string

ExchangeServiceBinding_ResponseEvent() protected méthode

Handle the server response.
protected ExchangeServiceBinding_ResponseEvent ( BaseRequestType request, BaseResponseMessageType response, bool isSchemaValidated ) : void
request BaseRequestType The request messages.
response Microsoft.Protocols.TestSuites.Common.BaseResponseMessageType The response messages.
isSchemaValidated bool Whether the schema is validated.
Résultat void

ExportItems() protected méthode

Get the ExportItemsResponseMessageType response of ExportItems operation.
protected ExportItems ( bool configureSOAPHeader ) : Microsoft.Protocols.TestSuites.Common.ExportItemsResponseMessageType[]
configureSOAPHeader bool A Boolean value specifies whether configuring the SOAP header before calling operations.
Résultat Microsoft.Protocols.TestSuites.Common.ExportItemsResponseMessageType[]

GetItems() protected méthode

Get the items information.
protected GetItems ( BaseItemIdType itemIds ) : Microsoft.Protocols.TestSuites.Common.ItemType[]
itemIds BaseItemIdType The array of item ids.
Résultat Microsoft.Protocols.TestSuites.Common.ItemType[]

TestCleanup() protected méthode

Clean up the environment.
protected TestCleanup ( ) : void
Résultat void

TestInitialize() protected méthode

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

UploadInvalidItems() protected méthode

Get the UploadItemsResponseMessageType response of UploadItems operation when this operation executes unsuccessfully.
protected UploadInvalidItems ( Collection parentFolderId, CreateActionType createAction ) : Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]
parentFolderId Collection Specifies the target folder in which to place the upload item.
createAction CreateActionType Specifies the action for uploading items to the folder.
Résultat Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]

UploadItems() protected méthode

Get the UploadItemsResponseMessageType response of UploadItems operation when this operation executes successfully.
protected UploadItems ( ExportItemsResponseMessageType exportedItems, Collection parentFolderId, CreateActionType createAction, bool isAssociatedSpecified, bool isAssociated, bool configureSOAPHeader ) : Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]
exportedItems Microsoft.Protocols.TestSuites.Common.ExportItemsResponseMessageType The items exported from server.
parentFolderId Collection Specifies the target folder in which to place the upload item.
createAction CreateActionType Specifies the action for uploading items to the folder.
isAssociatedSpecified bool A Boolean value specifies whether IsAssociated attribute is specified.
isAssociated bool Specifies the value of the IsAssociated attribute.
configureSOAPHeader bool A Boolean value specifies whether configuring the SOAP header before calling operations.
Résultat Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]

VerifyExportItemsErrorResponse() protected méthode

Verify the ExportItemsResponseType related requirements when ExportItems operation executes unsuccessfully.
protected VerifyExportItemsErrorResponse ( BaseResponseMessageType exportItemsResponse ) : void
exportItemsResponse Microsoft.Protocols.TestSuites.Common.BaseResponseMessageType The ExportItemsResponseType instance returned from the server.
Résultat void

VerifyExportItemsSuccessResponse() protected méthode

Verify the ExportItemsResponseType related requirements when the ExportItems operation executes successfully.
protected VerifyExportItemsSuccessResponse ( BaseResponseMessageType exportItemsResponse ) : void
exportItemsResponse Microsoft.Protocols.TestSuites.Common.BaseResponseMessageType The ExportItemsResponseType instance returned from the server.
Résultat void

VerifyItemsUploadedToMailbox() protected méthode

Verify the array of items uploaded to a mailbox
protected VerifyItemsUploadedToMailbox ( ItemType getItems ) : void
getItems Microsoft.Protocols.TestSuites.Common.ItemType The items information.
Résultat void

VerifyManagementRolePart() protected méthode

Verify the ManagementRole part of ExportItems operation
protected VerifyManagementRolePart ( ) : void
Résultat void

VerifyUploadItemsErrorResponse() protected méthode

Verify the UploadItemsResponseType related requirements when UploadItems executes unsuccessfully.
protected VerifyUploadItemsErrorResponse ( BaseResponseMessageType uploadItemsResponse ) : void
uploadItemsResponse Microsoft.Protocols.TestSuites.Common.BaseResponseMessageType The UploadItemsResponseType instance returned from the server.
Résultat void

VerifyUploadItemsSuccessResponse() protected méthode

Verify the UploadItemsResponseType related requirements when UploadItems operation executes successfully.
protected VerifyUploadItemsSuccessResponse ( BaseResponseMessageType uploadItemsResponse ) : void
uploadItemsResponse Microsoft.Protocols.TestSuites.Common.BaseResponseMessageType The UploadItemsResponseType instance returned from the server.
Résultat void