Microsoft.Protocols.TestSuites.MS_OXCFOLD.MS_OXCFOLDAdapter.VerifyPtypBoolean C# (CSharp) Method

VerifyPtypBoolean() private method

Verify the type of PtypBoolean
private VerifyPtypBoolean ( byte ptypBoolean ) : void
ptypBoolean byte The PtypBoolean instance in bytes.
return void
        private void VerifyPtypBoolean(byte[] ptypBoolean)
        {
            // Add debug information
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCDATA_R2698.");

            // Verify MS-OXCDATA requirement: MS-OXCDATA_R2698
            Site.CaptureRequirementIfAreEqual<int>(
                1,
                ptypBoolean.Length,
                Constants.MSOXCDATA,
                2698,
                @"[In Property Data Types] PtypBoolean (PT_BOOLEAN. bool) is that 1 byte, restricted to 1 or 0 [MS-DTYP]: BOOLEAN with Property Type Value 0x000B, %x0B.00.");
        }