private void VerifyAddressBookTaggedPropertyValueStructure(AddressBookTaggedPropertyValue addressBookTaggedPropertyValue)
{
// Since Test Suite parsed AddressBookTaggedPropertyValue structure according to Specification, if the program run to here, R2011 can be verified directly.
this.Site.CaptureRequirement(
2011,
@"[In AddressBookTaggedPropertyValue Structure] The AddressBookTaggedPropertyValue structure includes property type, property identifier and property value.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R2012");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R2012
this.Site.CaptureRequirementIfIsInstanceOfType(
addressBookTaggedPropertyValue.PropertyType,
typeof(ushort),
2012,
@"[In AddressBookTaggedPropertyValue Structure] PropertyType (2 bytes): An unsigned integer that identifies the data type of the property value ([MS-OXCDATA] section 2.11.1).");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R2013");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R2013
this.Site.CaptureRequirementIfIsInstanceOfType(
addressBookTaggedPropertyValue.PropertyId,
typeof(ushort),
2013,
@"[In AddressBookTaggedPropertyValue Structure] PropertyId (2 bytes): An unsigned integer that identifies the property.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R2014");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R2014
this.Site.CaptureRequirementIfIsInstanceOfType(
addressBookTaggedPropertyValue,
typeof(AddressBookPropertyValue),
2014,
@"[In AddressBookTaggedPropertyValue Structure] PropertyValue (variable): An AddressBookPropertyValue structure, see section 2.2.1.1.");
}
#endregion