private void NoSignRequirementCoverage_CreateNewfolderTraditional_Win7_Win2K8R2S0TreeConnectResponseChecker(int messageId, int sessionId, int treeId, bool isSecuritySignatureZero, Microsoft.Protocol.TestSuites.Smb.ShareType shareType, Microsoft.Protocol.TestSuites.Smb.MessageStatus messageStatus, bool isSigned, bool isInDfs, bool isSupportExtSignature) { this.Manager.Comment("checking step \'event TreeConnectResponse(3,1,1,True,Disk,Success,False,False,True" + ")\'"); TestManagerHelpers.AssertAreEqual <int>(this.Manager, 3, messageId, "messageId of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, sessionId, "sessionId of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, treeId, "treeId of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isSecuritySignatureZero, "isSecuritySignatureZero of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.ShareType>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.ShareType)(0)), shareType, "shareType of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.MessageStatus>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.MessageStatus)(0)), messageStatus, "messageStatus of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSigned, "isSigned of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isInDfs, "isInDfs of TreeConnectResponse, state S16"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isSupportExtSignature, "isSupportExtSignature of TreeConnectResponse, state S16"); }
private void NoSignRequirementCoverage_MultipleTreeTraditional_Win7_Win2K8R2S0TreeConnectResponseChecker1(int messageId, int sessionId, int treeId, bool isSecuritySignatureZero, Microsoft.Protocol.TestSuites.Smb.ShareType shareType, Microsoft.Protocol.TestSuites.Smb.MessageStatus messageStatus, bool isSigned, bool isInDfs, bool isSupportExtSignature) { this.Manager.Comment("checking step \'event TreeConnectResponse(4,1,2,True,Disk,Success,False,False,True" + ")\'"); try { TestManagerHelpers.AssertAreEqual <int>(this.Manager, 4, messageId, "messageId of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <int>(this.Manager, 1, sessionId, "sessionId of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <int>(this.Manager, 2, treeId, "treeId of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isSecuritySignatureZero, "isSecuritySignatureZero of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.ShareType>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.ShareType)(0)), shareType, "shareType of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <Microsoft.Protocol.TestSuites.Smb.MessageStatus>(this.Manager, ((Microsoft.Protocol.TestSuites.Smb.MessageStatus)(0)), messageStatus, "messageStatus of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isSigned, "isSigned of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, false, isInDfs, "isInDfs of TreeConnectResponse, state S19"); TestManagerHelpers.AssertAreEqual <bool>(this.Manager, true, isSupportExtSignature, "isSupportExtSignature of TreeConnectResponse, state S19"); } catch (TransactionFailedException) { this.Manager.Comment("This step would have covered MS-SMB_R8565"); throw; } this.Manager.Checkpoint("MS-SMB_R8565"); }