/// <summary> /// Verify RopSynchronizationOpenCollector Response /// </summary> /// <param name="ropSynchronizationOpenCollectorResponse">The response of RopSynchronizationOpenCollector request</param> /// <param name="outputHandleIndex">The field of OutputHandleIndex in RopSynchronizationOpenCollector request</param> private void VerifyRopSynchronizationOpenCollectorResponse(RopSynchronizationOpenCollectorResponse ropSynchronizationOpenCollectorResponse, byte outputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4160"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4160 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationOpenCollectorResponse.RopId.GetType(), 4160, @"[In RopSynchronizationOpenCollector ROP Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4162"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4162 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopSynchronizationOpenCollector, ropSynchronizationOpenCollectorResponse.RopId, 4162, @"[In RopSynchronizationOpenCollector ROP Response Buffer, RopId (1 byte):] For this operation[RopSynchronizationOpenCollector] this field is set to 0x7E."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4163"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4163 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationOpenCollectorResponse.OutputHandleIndex.GetType(), 4163, @"[In RopSynchronizationOpenCollector ROP Response Buffer]OutputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4164"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4164 Site.CaptureRequirementIfAreEqual<byte>( outputHandleIndex, ropSynchronizationOpenCollectorResponse.OutputHandleIndex, 4164, @"[In RopSynchronizationOpenCollector 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_R4166"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4166 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropSynchronizationOpenCollectorResponse.ReturnValue.GetType(), 4166, @"[In RopSynchronizationOpenCollector ROP Response Buffer] ReturnValue (4 bytes): An unsigned integer."); }