Microsoft.Protocols.TestSuites.MS_OXCROPS.MS_OXCROPSAdapter.VerifyRopFastTransferDestinationConfigureResponse C# (CSharp) Method

VerifyRopFastTransferDestinationConfigureResponse() private method

Verify RopFastTransferDestinationConfigure Response
private VerifyRopFastTransferDestinationConfigureResponse ( RopFastTransferDestinationConfigureResponse ropFastTransferDestinationConfigureResponse, byte outputHandleIndex ) : void
ropFastTransferDestinationConfigureResponse Microsoft.Protocols.TestSuites.Common.RopFastTransferDestinationConfigureResponse The response of RopFastTransferDestinationConfigure request
outputHandleIndex byte The field of OutputHandleIndex in RopFastTransferDestinationConfigure request
return void
        private void VerifyRopFastTransferDestinationConfigureResponse(RopFastTransferDestinationConfigureResponse ropFastTransferDestinationConfigureResponse, byte outputHandleIndex)
        {
            // Add the debug information
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3667");

            // Verify MS-OXCROPS requirement: MS-OXCROPS_R3667
            Site.CaptureRequirementIfAreEqual<Type>(
                typeof(byte),
                ropFastTransferDestinationConfigureResponse.RopId.GetType(),
                3667,
                @"[In RopFastTransferDestinationConfigure ROP Response Buffer] RopId (1 byte): An unsigned integer.");

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

            // Verify MS-OXCROPS requirement: MS-OXCROPS_R3669
            Site.CaptureRequirementIfAreEqual<byte>(
                (byte)RopId.RopFastTransferDestinationConfigure,
                ropFastTransferDestinationConfigureResponse.RopId,
                3669,
                @"[In RopFastTransferDestinationConfigure ROP Response Buffer, RopId (1 byte):] For this operation [RopFastTransferDestinationConfigure] this field is set to 0x53.");

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

            // Verify MS-OXCROPS requirement: MS-OXCROPS_R3670
            Site.CaptureRequirementIfAreEqual<Type>(
                typeof(byte),
                ropFastTransferDestinationConfigureResponse.OutputHandleIndex.GetType(),
                3670,
                @"[In RopFastTransferDestinationConfigure ROP Response Buffer]OutputHandleIndex (1 byte): An unsigned integer.");

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

            // Verify MS-OXCROPS requirement: MS-OXCROPS_R3671
            Site.CaptureRequirementIfAreEqual<byte>(
                outputHandleIndex,
                ropFastTransferDestinationConfigureResponse.OutputHandleIndex,
                3671,
                @"[In RopFastTransferDestinationConfigure ROP Response Buffer, OutputHandleIndex (1 byte):] This index MUST be set to the value specified in the OutputHandleIndex field in the request.");

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

            // Verify MS-OXCROPS requirement: MS-OXCROPS_R3673
            Site.CaptureRequirementIfAreEqual<Type>(
                typeof(uint),
                ropFastTransferDestinationConfigureResponse.ReturnValue.GetType(),
                3673,
                @"[In RopFastTransferDestinationConfigure ROP Response Buffer] ReturnValue (4 bytes): An unsigned integer.");
        }
        #endregion
MS_OXCROPSAdapter