Exemplo n.º 1
0
 private void When_CreateDlg()
 {
     dlg = mr.Stub <ISymbolSourceDialog>();
     dlg.Stub(d => d.Services).Return(sc);
     dlg.Stub(d => d.Dispose());
     dlg.Replay();
 }
Exemplo n.º 2
0
 public void TearDown()
 {
     if (dlg != null)
     {
         dlg.Dispose();
     }
     dlg = null;
 }
Exemplo n.º 3
0
 public void Attach(ISymbolSourceDialog dlg)
 {
     this.dlg       = dlg;
     this.dlg.Load += Dlg_Load;
     this.dlg.SymbolFileUrl.LostFocus             += SymbolFileUrl_LostFocus;
     this.dlg.CustomSourceCheckbox.CheckedChanged += CustomSourceCheckbox_CheckedChanged;
     this.dlg.AssemblyFile.TextChanged            += AssemblyFile_TextChanged;
     this.dlg.BrowseAssemblyFile.Click            += BrowseAssemblyFile_Click;
 }