private void VerifyRopSaveChangesMessageSuccessResponse(RopSaveChangesMessageResponse ropSaveChangesMessageResponse, byte inputHandleIndex, byte responseHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1806");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1806
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropSaveChangesMessageResponse.RopId.GetType(),
1806,
@"[In RopSaveChangesMessage ROP Success Response Buffer]RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1808");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1808
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopSaveChangesMessage,
ropSaveChangesMessageResponse.RopId,
1808,
@"[In RopSaveChangesMessage ROP Success Response Buffer,RopId (1 byte)]For this[RopSaveChangesMessage] operation, this field is set to 0x0C.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1809");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1809
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropSaveChangesMessageResponse.ResponseHandleIndex.GetType(),
1809,
@"[In RopSaveChangesMessage ROP Success Response Buffer]ResponseHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1810");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1810
Site.CaptureRequirementIfAreEqual<byte>(
responseHandleIndex,
ropSaveChangesMessageResponse.ResponseHandleIndex,
1810,
@"[In RopSaveChangesMessage ROP Success Response Buffer,ResponseHandleIndex (1 byte)]This index MUST be set to the value specified in the ResponseHandleIndex field in the request.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1812");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1812
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropSaveChangesMessageResponse.ReturnValue.GetType(),
1812,
@"[In RopSaveChangesMessage ROP Success Response Buffer]ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1814");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1814
Site.CaptureRequirementIfAreEqual<uint>(
SuccessReturnValue,
ropSaveChangesMessageResponse.ReturnValue,
1814,
@"[In RopSaveChangesMessage ROP Success Response Buffer,ReturnValue (4 bytes)]For this response[Success Response], this field is set to 0x00000000.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1815");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1815
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropSaveChangesMessageResponse.InputHandleIndex.GetType(),
1815,
@"[In RopSaveChangesMessage ROP Success Response Buffer]InputHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1816");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1816
Site.CaptureRequirementIfAreEqual<byte>(
inputHandleIndex,
ropSaveChangesMessageResponse.InputHandleIndex,
1816,
@"[In RopSaveChangesMessage ROP Success 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_R1818");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1818
Site.CaptureRequirementIfAreEqual<int>(
8,
Marshal.SizeOf(ropSaveChangesMessageResponse.MessageId),
1818,
@"[In RopSaveChangesMessage ROP Success Response Buffer]MessageId (8 bytes): An identifier.");
}