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

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

Protected Methods

Method Description
BuildContactItemWithEmailAddress ( EmailAddressKeyType emailAddressKeyType ) : ContactItemType

Build a contact item with enumeration value of EmailAddressKeyType.

BuildContactItemWithImAddress ( ImAddressKeyType instantMessagingAddress ) : ContactItemType

Build a contact item with enumeration value of ImAddressKeyType.

BuildContactItemWithPhysicalAddress ( PhysicalAddressKeyType physicalAddressKeyType ) : ContactItemType

Build a contact item with enumeration value of PhysicalAddressKeyType.

BuildContactItemWithRequiredProperties ( ) : ContactItemType

Build a contact item with only required elements.

CallCreateItemOperation ( ContactItemType contactItem ) : CreateItemResponseType

Call CreateItem operation.

CallGetItemOperation ( ItemIdType itemIds ) : GetItemResponseType

Call GetItem operation.

CreateFileAsMappingTypeContact ( FileAsMappingType fileAsMappingType ) : ContactItemType

Create a contact item with enumeration value of FileAsMappingType.

CreateFullPropertiesContact ( ) : ContactItemType

Create a contact item with all properties.

InitializeCollection ( ) : void

Initialize the collection of existing contact items.

TestCleanup ( ) : void

Clean up the environment.

TestInitialize ( ) : void

Initialize the Test suite.

VerifyChildElementInContactItemTypeComplexType ( ContactItemType responseContactItem, ContactItemType requestContactItem ) : void

Capture child element of ContactItemType Complex Type related requirements.

Private Methods

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

Handle the server response.

VerifyCompleteNameTypeComplexType ( ContactItemType responseContactItem, ContactItemType requestContactItem ) : void

Capture CompleteNameType Complex Type related requirements.

VerifyEmailAddressDictionaryEntryTypeComplexType ( EmailAddressDictionaryEntryType responseEmailAddressDictionaryEntryType, EmailAddressDictionaryEntryType requestEmailAddressDictionaryEntryType ) : void

Capture EmailAddressDictionaryEntryType Complex Type related requirements.

VerifyEmailAddressDictionaryTypeComplexType ( EmailAddressDictionaryEntryType responseEmailAddressDictionaryType, EmailAddressDictionaryEntryType requestEmailAddressDictionaryType ) : void

Capture EmailAddressDictionaryType Complex Type related requirements.

VerifyImAddressDictionaryEntryTypeComplexType ( ImAddressDictionaryEntryType responseInstantMessageAddressDictionaryEntry, ImAddressDictionaryEntryType requestInstantMessageAddressDictionaryEntry ) : void

Capture ImAddressDictionaryEntryType Complex Type related requirements.

VerifyImAddressDictionaryTypeComplexType ( ImAddressDictionaryEntryType responseInstantMessageAddressDictionary, ImAddressDictionaryEntryType requestInstantMessageAddressDictionary ) : void

Capture ImAddressDictionaryType Complex Type related requirements.

VerifyPhoneNumberDictionaryEntryTypeComplexType ( PhoneNumberDictionaryEntryType responsePhoneNumberDictionaryEntryType, PhoneNumberDictionaryEntryType requestPhoneNumberDictionaryEntryType ) : void

Capture PhoneNumberDictionaryEntryType Complex Type related requirements.

VerifyPhoneNumberDictionaryTypeComplexType ( PhoneNumberDictionaryEntryType responsePhoneNumberDictionaryType, PhoneNumberDictionaryEntryType requestPhoneNumberDictionaryType ) : void

Capture PhoneNumberDictionaryType Complex Type related requirements.

VerifyPhysicalAddressDictionaryEntryTypeComplexType ( PhysicalAddressDictionaryEntryType responsePhysicalAddressDictionaryEntryType, PhysicalAddressDictionaryEntryType requestPhysicalAddressDictionaryEntryType ) : void

Capture PhysicalAddressDictionaryEntryType Complex Type related requirements.

VerifylPhysicalAddressDictionaryTypeComplexType ( PhysicalAddressDictionaryEntryType responsePhysicalAddressDictionaryType, PhysicalAddressDictionaryEntryType requestPhysicalAddressDictionaryType ) : void

Capture PhysicalAddressDictionaryType Complex Type related requirements.

Method Details

BuildContactItemWithEmailAddress() protected method

Build a contact item with enumeration value of EmailAddressKeyType.
protected BuildContactItemWithEmailAddress ( EmailAddressKeyType emailAddressKeyType ) : ContactItemType
emailAddressKeyType EmailAddressKeyType The enumeration value of EmailAddressKeyType.
return Microsoft.Protocols.TestSuites.Common.ContactItemType

BuildContactItemWithImAddress() protected method

Build a contact item with enumeration value of ImAddressKeyType.
protected BuildContactItemWithImAddress ( ImAddressKeyType instantMessagingAddress ) : ContactItemType
instantMessagingAddress ImAddressKeyType The enumeration value of ImAddressKeyType.
return Microsoft.Protocols.TestSuites.Common.ContactItemType

BuildContactItemWithPhysicalAddress() protected method

Build a contact item with enumeration value of PhysicalAddressKeyType.
protected BuildContactItemWithPhysicalAddress ( PhysicalAddressKeyType physicalAddressKeyType ) : ContactItemType
physicalAddressKeyType PhysicalAddressKeyType The enumeration value of PhysicalAddressKeyType.
return Microsoft.Protocols.TestSuites.Common.ContactItemType

BuildContactItemWithRequiredProperties() protected method

Build a contact item with only required elements.
protected BuildContactItemWithRequiredProperties ( ) : ContactItemType
return Microsoft.Protocols.TestSuites.Common.ContactItemType

CallCreateItemOperation() protected method

Call CreateItem operation.
protected CallCreateItemOperation ( ContactItemType contactItem ) : CreateItemResponseType
contactItem Microsoft.Protocols.TestSuites.Common.ContactItemType The contact item to be created.
return CreateItemResponseType

CallGetItemOperation() protected method

Call GetItem operation.
protected CallGetItemOperation ( ItemIdType itemIds ) : GetItemResponseType
itemIds Microsoft.Protocols.TestSuites.Common.ItemIdType The ItemIds to be gotten.
return GetItemResponseType

CreateFileAsMappingTypeContact() protected method

Create a contact item with enumeration value of FileAsMappingType.
protected CreateFileAsMappingTypeContact ( FileAsMappingType fileAsMappingType ) : ContactItemType
fileAsMappingType FileAsMappingType The enumeration value of FileAsMappingType.
return Microsoft.Protocols.TestSuites.Common.ContactItemType

CreateFullPropertiesContact() protected method

Create a contact item with all properties.
protected CreateFullPropertiesContact ( ) : ContactItemType
return Microsoft.Protocols.TestSuites.Common.ContactItemType

InitializeCollection() protected method

Initialize the collection of existing contact items.
protected InitializeCollection ( ) : void
return void

TestCleanup() protected method

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

TestInitialize() protected method

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

VerifyChildElementInContactItemTypeComplexType() protected method

Capture child element of ContactItemType Complex Type related requirements.
protected VerifyChildElementInContactItemTypeComplexType ( ContactItemType responseContactItem, ContactItemType requestContactItem ) : void
responseContactItem Microsoft.Protocols.TestSuites.Common.ContactItemType A contact item from the response package of GetItem operation.
requestContactItem Microsoft.Protocols.TestSuites.Common.ContactItemType A contact item from the request package of CreateItem operation.
return void