private void VerifyRopHardDeleteMessagesAndSubfoldersResponse(RopHardDeleteMessagesAndSubfoldersResponse ropHardDeleteMessagesAndSubfoldersResponse, byte inputHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R917");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R917
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropHardDeleteMessagesAndSubfoldersResponse.RopId.GetType(),
917,
@"[In RopHardDeleteMessagesAndSubfolders ROP Response Buffer] RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R919");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R919
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopHardDeleteMessagesAndSubfolders,
ropHardDeleteMessagesAndSubfoldersResponse.RopId,
919,
@"[In RopHardDeleteMessagesAndSubfolders ROP Response Buffer] RopId (1 byte): For this operation[RopHardDeleteMessagesAndSubfolders], this field[RopId (1 byte)] is set to 0x92.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R920");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R920
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropHardDeleteMessagesAndSubfoldersResponse.InputHandleIndex.GetType(),
920,
@"[In RopHardDeleteMessagesAndSubfolders ROP Response Buffer] InputHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R921");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R921
Site.CaptureRequirementIfAreEqual<byte>(
inputHandleIndex,
ropHardDeleteMessagesAndSubfoldersResponse.InputHandleIndex,
921,
@"[In RopHardDeleteMessagesAndSubfolders ROP Response Buffer] InputHandleIndex (1 byte): This indexMUST 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_R922");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R922
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropHardDeleteMessagesAndSubfoldersResponse.ReturnValue.GetType(),
922,
@"[In RopHardDeleteMessagesAndSubfolders ROP Response Buffer] ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R924,PartialCompletion:{0}", ropHardDeleteMessagesAndSubfoldersResponse.PartialCompletion);
// Verify MS-OXCROPS requirement: MS-OXCROPS_R924
// If PartialCompletion is byte type and can be boolean type representation, then verify R924
bool isVerifyR924 = (typeof(byte) == ropHardDeleteMessagesAndSubfoldersResponse.PartialCompletion.GetType()) &&
((Convert.ToBoolean(ropHardDeleteMessagesAndSubfoldersResponse.PartialCompletion) == true) ||
(Convert.ToBoolean(ropHardDeleteMessagesAndSubfoldersResponse.PartialCompletion) == false));
Site.CaptureRequirementIfIsTrue(
isVerifyR924,
924,
@"[In RopHardDeleteMessagesAndSubfolders ROP Response Buffer] PartialCompletion (1 byte): A Boolean.");
}
#endregion