public static void NoteEditDlg_Handler(NoteEditDlg dlg) { EnterText("txtNote", dlg, "sample text"); ClickButton("btnAccept", dlg); Assert.AreEqual("sample text", dlg.NoteRecord.Lines.Text); }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fNoteRecord = new GDMNoteRecord(fBase.Context.Tree); fDialog = new NoteEditDlg(fBase); fDialog.NoteRecord = fNoteRecord; fDialog.Show(); }