/// <summary>
 /// Create the named pipe and mailslot.
 /// Make sure the named pipe and mailslot are already available before using.
 /// </summary>
 /// <param name="pipes">All the pipes will be created on SMB server.</param>
 /// <param name="mailslot">All the mailslots will be created on SMB server.</param>
 /// <param name="isCreatePipeStatus">Indicate the status of Create named pipe and mailslot operation.</param>
 public void CreatePipeAndMailslot(
     Microsoft.Modeling.Set <string> pipes,
     Microsoft.Modeling.Set <string> mailslot,
     out bool isCreatePipeStatus)
 {
     isCreatePipeStatus = true;
 }
 private void NoSignRequirementCoverage_Printer_Win7_Win2K8R2S0NegotiateResponseChecker(int messageId, bool isSignatureRequired, bool isSignatureEnabled, int dialectIndex, Microsoft.Modeling.Set <Microsoft.Protocol.TestSuites.Smb.Capabilities> serverCapabilities, Microsoft.Protocol.TestSuites.Smb.MessageStatus messageStatus)
 {
     this.Manager.Comment("checking step \'event NegotiateResponse(1,False,False,5,{CapNtSmbs,CapExtendedSecu" +
                          "rity,CapDfs,CapInfoLevelPassThru},Success)\'");
     try {
         TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, messageId, "messageId of NegotiateResponse, state S10");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSignatureRequired, "isSignatureRequired of NegotiateResponse, state S10");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSignatureEnabled, "isSignatureEnabled of NegotiateResponse, state S10");
         TestManagerHelpers.AssertAreEqual <int>(this.Manager, 5, dialectIndex, "dialectIndex of NegotiateResponse, state S10");
         TestManagerHelpers.AssertNotNull(this.Manager, serverCapabilities, "serverCapabilities of NegotiateResponse, state S10");
         TestManagerHelpers.AssertAreEqual <Microsoft.Xrt.Runtime.RuntimeMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton> >(this.Manager, Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.MakeMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapNtSmbs, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
             "Element"
         }, new object[] {
             Microsoft.Xrt.Runtime.Singleton.Single
         })), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapExtendedSecurity, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
             "Element"
         }, new object[] {
             Microsoft.Xrt.Runtime.Singleton.Single
         })), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapDfs, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
             "Element"
         }, new object[] {
             Microsoft.Xrt.Runtime.Singleton.Single
         })), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapInfoLevelPassThru, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
             "Element"
         }, new object[] {
             Microsoft.Xrt.Runtime.Singleton.Single
         })), serverCapabilities.Rep, "serverCapabilities of NegotiateResponse, state S10, field selection Rep");
         TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.MessageStatus>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.MessageStatus)(0)), messageStatus, "messageStatus of NegotiateResponse, state S10");
     }
     catch (TransactionFailedException) {
         this.Manager.Comment("This step would have covered MS-SMB_R2308, MS-SMB_R4747");
         throw;
     }
     this.Manager.Checkpoint("MS-SMB_R2308");
     this.Manager.Checkpoint("MS-SMB_R4747");
 }
 private void NoSignNonExtendRequirementCoverage_Create_Win7_Win2K8R2S0NonExtendedNegotiateResponseChecker(int messageId, bool isSignatureRequired, bool isSignatureEnabled, int dialectIndex, Microsoft.Modeling.Set <Microsoft.Protocol.TestSuites.Smb.Capabilities> serverCapabilities, Microsoft.Protocol.TestSuites.Smb.MessageStatus messageStatus)
 {
     this.Manager.Comment("checking step \'event NonExtendedNegotiateResponse(1,False,False,5,{CapNtSmbs,CapD" +
                          "fs,CapInfoLevelPassThru},Success)\'");
     TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, messageId, "messageId of NonExtendedNegotiateResponse, state S10");
     TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSignatureRequired, "isSignatureRequired of NonExtendedNegotiateResponse, state S10");
     TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSignatureEnabled, "isSignatureEnabled of NonExtendedNegotiateResponse, state S10");
     TestManagerHelpers.AssertAreEqual <int>(this.Manager, 5, dialectIndex, "dialectIndex of NonExtendedNegotiateResponse, state S10");
     TestManagerHelpers.AssertNotNull(this.Manager, serverCapabilities, "serverCapabilities of NonExtendedNegotiateResponse, state S10");
     TestManagerHelpers.AssertAreEqual <Microsoft.Xrt.Runtime.RuntimeMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton> >(this.Manager, Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.MakeMap <Microsoft.Protocol.TestSuites.Smb.Capabilities, Microsoft.Xrt.Runtime.Singleton>(), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapNtSmbs, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
         "Element"
     }, new object[] {
         Microsoft.Xrt.Runtime.Singleton.Single
     })), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapDfs, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
         "Element"
     }, new object[] {
         Microsoft.Xrt.Runtime.Singleton.Single
     })), Microsoft.Protocol.TestSuites.Smb.Capabilities.CapInfoLevelPassThru, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
         "Element"
     }, new object[] {
         Microsoft.Xrt.Runtime.Singleton.Single
     })), serverCapabilities.Rep, "serverCapabilities of NonExtendedNegotiateResponse, state S10, field selection Re" +
                                                                                                                                                             "p");
     TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.MessageStatus>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.MessageStatus)(0)), messageStatus, "messageStatus of NonExtendedNegotiateResponse, state S10");
 }
 private void NoSignRequirementCoverage_CreateNewfolderTraditional_Win7_Win2K8R2S0CreateResponseChecker(int messageId, int sessionId, int treeId, int fid, bool isSigned, Microsoft.Modeling.Set <Microsoft.Protocol.TestSuites.Smb.CreateAction> createAction, bool isFileIdZero, bool isVolumeGuidZero, bool isDirectoryZero, bool isByteCountZero, bool isNoStream, Microsoft.Protocol.TestSuites.Smb.MessageStatus messageStatus)
 {
     this.Manager.Comment("checking step \'event CreateResponse(4,1,1,0,False,{FileCreated,FileDoesNotExist}," +
                          "True,True,False,True,True,Success)\'");
     try {
         TestManagerHelpers.AssertAreEqual <int>(this.Manager, 4, messageId, "messageId of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, sessionId, "sessionId of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, treeId, "treeId of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <int>(this.Manager, 0, fid, "fid of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSigned, "isSigned of CreateResponse, state S19");
         TestManagerHelpers.AssertNotNull(this.Manager, createAction, "createAction of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <Microsoft.Xrt.Runtime.RuntimeMap <Microsoft.Protocol.TestSuites.Smb.CreateAction, Microsoft.Xrt.Runtime.Singleton> >(this.Manager, Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.CreateAction, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.UpdateMap <Microsoft.Protocol.TestSuites.Smb.CreateAction, Microsoft.Xrt.Runtime.Singleton>(Microsoft.Xrt.Runtime.RuntimeSupport.MakeMap <Microsoft.Protocol.TestSuites.Smb.CreateAction, Microsoft.Xrt.Runtime.Singleton>(), Microsoft.Protocol.TestSuites.Smb.CreateAction.FileCreated, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
             "Element"
         }, new object[] {
             Microsoft.Xrt.Runtime.Singleton.Single
         })), Microsoft.Protocol.TestSuites.Smb.CreateAction.FileDoesNotExist, this.Make <Microsoft.Xrt.Runtime.RuntimeMapElement <Microsoft.Xrt.Runtime.Singleton> >(new string[] {
             "Element"
         }, new object[] {
             Microsoft.Xrt.Runtime.Singleton.Single
         })), createAction.Rep, "createAction of CreateResponse, state S19, field selection Rep");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isFileIdZero, "isFileIdZero of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isVolumeGuidZero, "isVolumeGuidZero of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isDirectoryZero, "isDirectoryZero of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isByteCountZero, "isByteCountZero of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isNoStream, "isNoStream of CreateResponse, state S19");
         TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.MessageStatus>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.MessageStatus)(0)), messageStatus, "messageStatus of CreateResponse, state S19");
     }
     catch (TransactionFailedException) {
         this.Manager.Comment("This step would have covered MS-SMB_R30081, MS-SMB_R30065");
         throw;
     }
     this.Manager.Checkpoint("MS-SMB_R30081");
     this.Manager.Checkpoint("MS-SMB_R30065");
 }