/// <summary> /// Verify RopSynchronizationImportMessageChange Failure Response /// </summary> /// <param name="ropSynchronizationImportMessageChangeResponse">The failure response of RopSynchronizationImportMessageChange request</param> /// <param name="outputHandleIndex">The field of OutputHandleIndex in RopSynchronizationImportMessageChange request</param> private void VerifyRopSynchronizationImportMessageChangeFailureResponse( RopSynchronizationImportMessageChangeResponse ropSynchronizationImportMessageChangeResponse, byte outputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3980"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3980 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportMessageChangeResponse.RopId.GetType(), 3980, @"[In RopSynchronizationImportMessageChange ROP Failure Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3982"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3982 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopSynchronizationImportMessageChange, ropSynchronizationImportMessageChangeResponse.RopId, 3982, @"[In RopSynchronizationImportMessageChange ROP Failure Response Buffer, RopId (1 byte):] For this operation[RopSynchronizationImportMessageChange] this field is set to 0x72."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3983"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3983 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportMessageChangeResponse.OutputHandleIndex.GetType(), 3983, @"[In RopSynchronizationImportMessageChange ROP Failure Response Buffer] OutputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3984"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3984 Site.CaptureRequirementIfAreEqual<byte>( outputHandleIndex, ropSynchronizationImportMessageChangeResponse.OutputHandleIndex, 3984, @"[In RopSynchronizationImportMessageChange ROP Failure 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_R3986"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3986 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropSynchronizationImportMessageChangeResponse.ReturnValue.GetType(), 3986, @"[In RopSynchronizationImportMessageChange ROP Failure Response Buffer] ReturnValue (4 bytes): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3988"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3988 Site.CaptureRequirementIfAreNotEqual<uint>( SuccessReturnValue, ropSynchronizationImportMessageChangeResponse.ReturnValue, 3988, @"[In RopSynchronizationImportMessageChange ROP Failure Response Buffer, ReturnValue (4 bytes):] For this response[Failure Response], this field is set to a value other than 0x00000000."); }
/// <summary> /// Verify RopSynchronizationImportMessageChange Success Response /// </summary> /// <param name="ropSynchronizationImportMessageChangeResponse">The success response of RopSynchronizationImportMessageChange request</param> /// <param name="outputHandleIndex">The field of OutputHandleIndex in RopSynchronizationImportMessageChange request</param> private void VerifyRopSynchronizationImportMessageChangeSuccessResponse( RopSynchronizationImportMessageChangeResponse ropSynchronizationImportMessageChangeResponse, byte outputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3969"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3969 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportMessageChangeResponse.RopId.GetType(), 3969, @"[In RopSynchronizationImportMessageChange ROP Success Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3971"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3971 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopSynchronizationImportMessageChange, ropSynchronizationImportMessageChangeResponse.RopId, 3971, @"[In RopSynchronizationImportMessageChange ROP Success Response Buffer, RopId (1 byte):] For this operation[RopSynchronizationImportMessageChange] this field is set to 0x72."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3972"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3972 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportMessageChangeResponse.OutputHandleIndex.GetType(), 3972, @"[In RopSynchronizationImportMessageChange ROP Success Response Buffer] OutputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3973"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3973 Site.CaptureRequirementIfAreEqual<byte>( outputHandleIndex, ropSynchronizationImportMessageChangeResponse.OutputHandleIndex, 3973, @"[In RopSynchronizationImportMessageChange ROP Success 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_R3975"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3975 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropSynchronizationImportMessageChangeResponse.ReturnValue.GetType(), 3975, @"[In RopSynchronizationImportMessageChange ROP Success Response Buffer] ReturnValue (4 bytes): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3977"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3977 Site.CaptureRequirementIfAreEqual<uint>( SuccessReturnValue, ropSynchronizationImportMessageChangeResponse.ReturnValue, 3977, @"[In RopSynchronizationImportMessageChange 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_R3978"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3978 Site.CaptureRequirementIfAreEqual<Type>( typeof(ulong), ropSynchronizationImportMessageChangeResponse.MessageId.GetType(), 3978, @"[In RopSynchronizationImportMessageChange ROP Success Response Buffer] MessageId (8 bytes): An identifier."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4694"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4694 Site.CaptureRequirementIfAreEqual<ulong?>( MessageIdForRops, ropSynchronizationImportMessageChangeResponse.MessageId, 4694, @"[In RopSynchronizationImportMessageChange ROP Success Response Buffer] MessageId (8 bytes): This field MUST be set to 0x0000000000000000."); }