/// <summary> /// Verify RopSynchronizationImportHierarchyChange Failure Response /// </summary> /// <param name="ropSynchronizationImportHierarchyChangeResponse">The failure response of RopSynchronizationImportHierarchyChange request</param> /// <param name="inputHandleIndex">The field of InputHandleIndex in RopSynchronizationImportHierarchyChange request</param> private void VerifyRopSynchronizationImportHierarchyChangeFailureResponse( RopSynchronizationImportHierarchyChangeResponse ropSynchronizationImportHierarchyChangeResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4054"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4054 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportHierarchyChangeResponse.RopId.GetType(), 4054, @"[In RopSynchronizationImportHierarchyChange ROP Failure Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4056"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4056 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopSynchronizationImportHierarchyChange, ropSynchronizationImportHierarchyChangeResponse.RopId, 4056, @"[In RopSynchronizationImportHierarchyChange ROP Failure Response Buffer, RopId (1 byte):] For this operation[RopSynchronizationImportHierarchyChange] this field is set to 0x73."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4057"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4057 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportHierarchyChangeResponse.InputHandleIndex.GetType(), 4057, @"[In RopSynchronizationImportHierarchyChange ROP Failure Response Buffer] InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4058"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4058 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropSynchronizationImportHierarchyChangeResponse.InputHandleIndex, 4058, @"[In RopSynchronizationImportHierarchyChange 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_R4060"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4060 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropSynchronizationImportHierarchyChangeResponse.ReturnValue.GetType(), 4060, @"[In RopSynchronizationImportHierarchyChange ROP Failure Response Buffer] ReturnValue (4 bytes): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4062"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4062 Site.CaptureRequirementIfAreNotEqual<uint>( SuccessReturnValue, ropSynchronizationImportHierarchyChangeResponse.ReturnValue, 4062, @"[In RopSynchronizationImportHierarchyChange ROP Failure Response Buffer, ReturnValue (4 bytes):] For this response[Failure Response], this field is set to a value other than 0x00000000."); }
/// <summary> /// Verify RopSynchronizationImportHierarchyChange Success Response /// </summary> /// <param name="ropSynchronizationImportHierarchyChangeResponse">The success response of RopSynchronizationImportHierarchyChange request</param> /// <param name="inputHandleIndex">The field of inputHandleIndex in RopSynchronizationImportHierarchyChange request</param> private void VerifyRopSynchronizationImportHierarchyChangeSuccessResponse( RopSynchronizationImportHierarchyChangeResponse ropSynchronizationImportHierarchyChangeResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4043"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4043 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportHierarchyChangeResponse.RopId.GetType(), 4043, @"[In RopSynchronizationImportHierarchyChange ROP Success Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4045"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4045 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopSynchronizationImportHierarchyChange, ropSynchronizationImportHierarchyChangeResponse.RopId, 4045, @"[In RopSynchronizationImportHierarchyChange ROP Success Response Buffer, RopId (1 byte):] For this operation[RopSynchronizationImportHierarchyChange] this field is set to 0x73."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4046"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4046 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSynchronizationImportHierarchyChangeResponse.InputHandleIndex.GetType(), 4046, @"[In RopSynchronizationImportHierarchyChange ROP Success Response Buffer] InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4047"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4047 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropSynchronizationImportHierarchyChangeResponse.InputHandleIndex, 4047, @"[In RopSynchronizationImportHierarchyChange 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_R4049"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4049 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropSynchronizationImportHierarchyChangeResponse.ReturnValue.GetType(), 4049, @"[In RopSynchronizationImportHierarchyChange ROP Success Response Buffer] ReturnValue (4 bytes): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4051"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4051 Site.CaptureRequirementIfAreEqual<uint>( SuccessReturnValue, ropSynchronizationImportHierarchyChangeResponse.ReturnValue, 4051, @"[In RopSynchronizationImportHierarchyChange 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_R4052"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4052 Site.CaptureRequirementIfAreEqual<Type>( typeof(ulong), ropSynchronizationImportHierarchyChangeResponse.FolderId.GetType(), 4052, @"[In RopSynchronizationImportHierarchyChange ROP Success Response Buffer] FolderId (8 bytes): An identifier."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4695"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4695 Site.CaptureRequirementIfAreEqual<ulong>( FolderIdForRopSynchronizationImportHierarchyChange, ropSynchronizationImportHierarchyChangeResponse.FolderId, 4695, @"[In RopSynchronizationImportHierarchyChange ROP Success Response Buffer] FolderId (8 bytes): This field MUST be set to 0x0000000000000000."); }