Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.MS_OXCMAPIHTTPAdapter.VerifyAddressBookPropertyRowStructure C# (CSharp) Method

VerifyAddressBookPropertyRowStructure() private method

Verify the AddressBookPropertyRow structure related requirements.
private VerifyAddressBookPropertyRowStructure ( AddressBookPropertyRow addressBookPropertyRow ) : void
addressBookPropertyRow AddressBookPropertyRow The AddressBookPropertyRow value to be verified.
return void
        private void VerifyAddressBookPropertyRowStructure(AddressBookPropertyRow addressBookPropertyRow)
        {
            // Since Test Suite parsed AddressBookPropertyRow structure according to Specification, if the program run to here, R15 can be verified directly.
            this.Site.CaptureRequirement(
                15,
                @"[In AddressBookPropertyRow Structure] The AddressBookPropertyRow structure a list of property values without including the property tags that correspond to the property values.");
            
            // Add the debug information
            this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R17");
        
            // Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R17
            this.Site.CaptureRequirementIfIsInstanceOfType(
                addressBookPropertyRow.Flag,
                typeof(byte),
                17,
                @"[In AddressBookPropertyRow Structure] Flags (1 byte): An unsigned integer that indicates whether all property values are present and without error in the ValueArray field.");

            // Add the debug information
            this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R2035");

            // Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R2035
            this.Site.CaptureRequirementIfIsInstanceOfType(
                addressBookPropertyRow.ValueArray,
                typeof(AddressBookPropertyValue[]),
                2035,
                @"[In AddressBookPropertyRow Structure] ValueArray (variable): An array of variable-sized structures.");
        }
        #endregion
MS_OXCMAPIHTTPAdapter