private void VerifyRopGetValidAttachmentsFailureResponse(RopGetValidAttachmentsResponse ropGetValidAttachmentsResponse, byte inputHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2339");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R2339
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropGetValidAttachmentsResponse.RopId.GetType(),
2339,
@"[In RopGetValidAttachments ROP Failure Response Buffer]RopId(1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2347");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R2347
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopGetValidAttachments,
ropGetValidAttachmentsResponse.RopId,
2347,
@"[In RopGetValidAttachments ROP Failure Response Buffer,RopId(1 byte)]: For this operation[RopGetValidAttachments], this field is set to 0x52.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2341");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R2341
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropGetValidAttachmentsResponse.InputHandleIndex.GetType(),
2341,
@"[In RopGetValidAttachments ROP Failure Response Buffer]InputHandleIndex(1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2342");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R2342
Site.CaptureRequirementIfAreEqual<byte>(
inputHandleIndex,
ropGetValidAttachmentsResponse.InputHandleIndex,
2342,
@"[In RopGetValidAttachments ROP Failure Response Buffer,InputHandleIndex(1 byte)].This index MUST be set to the value specified in the InputHandleIndex field in the request.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2344");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R2344
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropGetValidAttachmentsResponse.ReturnValue.GetType(),
2344,
@"[In RopGetValidAttachments ROP Failure Response Buffer]ReturnValue(4 bytes):An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2346");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R2346
Site.CaptureRequirementIfAreNotEqual<uint>(
SuccessReturnValue,
ropGetValidAttachmentsResponse.ReturnValue,
2346,
@"[In RopGetValidAttachments ROP Failure Response Buffer,ReturnValue(4 bytes)]For this response, this field is set to a value other than 0x00000000.");
}
#endregion