private void VerifyAddressBookPropertyValueStructure(AddressBookPropertyValue addressBookPropertyValue)
{
// Since Test Suite parsed AddressBookPropertyValue structure according to Specification, if the program run to here, R2000 can be verified directly.
this.Site.CaptureRequirement(
2000,
@"[In AddressBookPropertyValue Structure] The AddressBookPropertyValue structure includes a property value.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R2004");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R2005");
bool isVerifyR2005 = addressBookPropertyValue.HasValue == 0xFF || addressBookPropertyValue.HasValue == 0x00;
if (addressBookPropertyValue.HasValue != null)
{
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R2005
this.Site.CaptureRequirementIfIsTrue(
isVerifyR2005,
2005,
@"[In AddressBookPropertyValue Structure] [HasValue] This field MUST contain either TRUE (0xFF) or FALSE (0x00). ");
}
}
#endregion