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

VerifyGetFolderSpecificProperties() private method

Verify the specific property.
private VerifyGetFolderSpecificProperties ( PropertyTag propertyTags ) : void
propertyTags Microsoft.Protocols.TestSuites.Common.PropertyTag PropertyTag array.
return void
        private void VerifyGetFolderSpecificProperties(PropertyTag[] propertyTags)
        {
            foreach (PropertyTag propertyTag in propertyTags)
            {
                switch (propertyTag.PropertyId)
                {
                    case (ushort)FolderPropertyId.PidTagDeletedOn:
                        #region PidTagDeletedOn

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

                        // Verify MS-OXCFOLD requirement: MS-OXCFOLD_R348.
                        Site.CaptureRequirementIfAreEqual<ushort>(
                            (ushort)PropertyType.PtypTime,
                            propertyTag.PropertyType,
                            348,
                            "[In PidTagDeletedOn Property] Type: PtypTime ([MS-OXCDATA] section 2.11.1)");

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R5979.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            5979,
                            "[In PidTagDeletedOn] Property ID: 0x668F.");

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R5980.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            5980,
                            "[In PidTagDeletedOn] Data type: PtypTime, 0x0040.");
                        #endregion
                        break;
                    case (ushort)FolderPropertyId.PidTagMessageSizeExtended:
                        #region PidTagMessageSizeExtended

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R7008.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            7008,
                            "[In PidTagMessageSizeExtended] Property ID: 0x0E08.");

                        #endregion
                        break;
                    case (ushort)FolderPropertyId.PidTagContainerClass:
                        #region PidTagContainerClass

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

                        // Verify MS-OXCFOLD requirement: MS-OXCFOLD_R1036.
                        Site.CaptureRequirementIfAreEqual<ushort>(
                            (ushort)PropertyType.PtypString,
                            propertyTag.PropertyType,
                            1036,
                            "[In PidTagContainerClass Property] Type: PtypString ([MS-OXCDATA] section 2.11.1)");

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R5792.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            5792,
                            "[In PidTagContainerClass] Property ID: 0x3613.");

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R5793.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            5793,
                            "[In PidTagContainerClass] Data type: PtypString, 0x001F.");
                        #endregion
                        break;
                    case (ushort)FolderPropertyId.PidTagParentEntryId:
                        #region PidTagParentEntryId

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

                        // Verify MS-OXCFOLD requirement: MS-OXCFOLD_R1027.
                        Site.CaptureRequirementIfAreEqual<ushort>(
                            (ushort)PropertyType.PtypBinary,
                            propertyTag.PropertyType,
                            1027,
                            "[In PidTagParentEntryId Property] Type: PtypBinary ([MS-OXCDATA] section 2.11.1)");

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R7456.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            7456,
                            "[In PidTagParentEntryId] Property ID: 0x0E09.");

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

                        // Verify MS-OXPROPS requirement: MS-OXPROPS_R7457.
                        // The property ID and property type match the description in [MS-OXPROPS] and the property type was verified, this requirement can be captured directly.
                        Site.CaptureRequirement(
                            Constants.MSOXPROPS,
                            7457,
                            "[In PidTagParentEntryId] Data type: PtypBinary, 0x0102.");
                        #endregion
                        break;
                    default:
                        break;
                }
            }
        }
        #endregion