C# 클래스 Microsoft.Protocols.TestSuites.MS_OXWSBTRF.TestSuiteBase

The bass class of scenario class.
상속: Microsoft.Protocols.TestTools.TestClassBase
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

Private Properties

프로퍼티 타입 설명

보호된 메소드들

메소드 설명
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.

메소드 상세

CreateItem() 보호된 메소드

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.
리턴 Microsoft.Protocols.TestSuites.Common.ItemIdType

CreateSubFolder() 보호된 메소드

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.
리턴 string

ExchangeServiceBinding_ResponseEvent() 보호된 메소드

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.
리턴 void

ExportItems() 보호된 메소드

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.
리턴 Microsoft.Protocols.TestSuites.Common.ExportItemsResponseMessageType[]

GetItems() 보호된 메소드

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

TestCleanup() 보호된 메소드

Clean up the environment.
protected TestCleanup ( ) : void
리턴 void

TestInitialize() 보호된 메소드

Initialize the Test suite.
protected TestInitialize ( ) : void
리턴 void

UploadInvalidItems() 보호된 메소드

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.
리턴 Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]

UploadItems() 보호된 메소드

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.
리턴 Microsoft.Protocols.TestSuites.Common.UploadItemsResponseMessageType[]

VerifyExportItemsErrorResponse() 보호된 메소드

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.
리턴 void

VerifyExportItemsSuccessResponse() 보호된 메소드

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.
리턴 void

VerifyItemsUploadedToMailbox() 보호된 메소드

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

VerifyManagementRolePart() 보호된 메소드

Verify the ManagementRole part of ExportItems operation
protected VerifyManagementRolePart ( ) : void
리턴 void

VerifyUploadItemsErrorResponse() 보호된 메소드

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.
리턴 void

VerifyUploadItemsSuccessResponse() 보호된 메소드

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.
리턴 void