protected override void TestInitialize()
 {
     this.InitializeTestManager();
     this.ISmbAdapterInstance         = ((Microsoft.Protocol.TestSuites.Smb.ISmbAdapter)(this.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.ISmbAdapter))));
     this.IServerSetupAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter)(this.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter))));
     this.IServerSetupAdapterInstance.ServerSetupResponse += IServerSetupAdapterInstance_ServerSetupResponse;
     this.ISmbAdapterInstance.NegotiateResponse           += ISmbAdapterInstance_NegotiateResponse;
     this.ISmbAdapterInstance.SessionSetupResponse        += ISmbAdapterInstance_SessionSetupResponse;
     this.ISmbAdapterInstance.SmbConnectionResponse       += ISmbAdapterInstance_SmbConnectionResponse;
 }
示例#2
0
 protected override void TestInitialize()
 {
     this.InitializeTestManager();
     this.ISmbAdapterInstance         = ((Microsoft.Protocol.TestSuites.Smb.ISmbAdapter)(this.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.ISmbAdapter))));
     this.IServerSetupAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter)(this.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter))));
     this.IServerSetupAdapterInstance.ServerSetupResponse += IServerSetupAdapterInstance_ServerSetupResponse;
     this.ISmbAdapterInstance.ErrorResponse += ISmbAdapterInstance_ErrorResponse;
     this.ISmbAdapterInstance.NonExtendedNegotiateResponse    += ISmbAdapterInstance_NonExtendedNegotiateResponse;
     this.ISmbAdapterInstance.NonExtendedSessionSetupResponse += ISmbAdapterInstance_NonExtendedSessionSetupResponse;
     this.ISmbAdapterInstance.NtTransactCreateResponse        += ISmbAdapterInstance_NtTransactCreateResponse;
     this.ISmbAdapterInstance.SmbConnectionResponse           += ISmbAdapterInstance_SmbConnectionResponse;
     this.ISmbAdapterInstance.TreeConnectResponse             += ISmbAdapterInstance_TreeConnectResponse;
 }