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

VerifyRopGetContentsTable() private method

Verify the response of RopGetContentsTable ROP operation.
private VerifyRopGetContentsTable ( RopGetContentsTableResponse getContentsTableResponse ) : void
getContentsTableResponse Microsoft.Protocols.TestSuites.Common.RopGetContentsTableResponse The response of RopGetContentsTable operation
return void
        private void VerifyRopGetContentsTable(RopGetContentsTableResponse getContentsTableResponse)
        {
            // Add the debug information
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCFOLD_R332");

            // Verify MS-OXCFOLD requirement: MS-OXCFOLD_R332
            Site.CaptureRequirementIfAreEqual<uint>(
                Constants.SuccessCode,
                getContentsTableResponse.ReturnValue,
                332,
                @"[In RopGetContentsTable ROP Response Buffer] ReturnValue (4 bytes): The server returns 0x00000000 to indicate success.");

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

            // Verify MS-OXCFOLD requirement: MS-OXCFOLD_R320
            Site.CaptureRequirementIfAreEqual<uint>(
                Constants.SuccessCode,
                getContentsTableResponse.ReturnValue,
                320,
                @"[In RopGetContentsTable ROP] The RopGetContentsTable ROP ([MS-OXCROPS] section 2.2.4.14) is used to retrieve the contents table for a folder.");

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

            // Verify MS-OXCFOLD requirement: MS-OXCFOLD_R321
            Site.CaptureRequirementIfAreEqual<uint>(
                Constants.SuccessCode,
                getContentsTableResponse.ReturnValue,
                321,
                @"[In RopGetContentsTable ROP] This ROP [RopGetContentsTable] returns a Table object on which table operations can be performed.");
        }
        #endregion