public override void Setup() { WFAppHost.ConfigureBootstrap(false); fDialog = new AboutDlg(); fDialog.Show(); }
public void SetUp() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); }
public void SetUp() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fAssociation = new GEDCOMAssociation(fBase.Context.Tree, null, "", ""); }
public void SetUp() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fAssociation = new GDMAssociation(null); }
public void SetUp() { WFAppHost.ConfigureBootstrap(false); LangMan.DefInit(); fContext = TestUtils.CreateContext(); TestUtils.FillContext(fContext); }
public void SetUp() { // TempDirtyHack: some functions are references to GlobalOptions (and GfxInit) // TODO: replace to mocks WFAppHost.ConfigureBootstrap(false); fContext = TestUtils.CreateContext(); TestUtils.FillContext(fContext); }
public void SetUp() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); TestUtils.InitProgressStub(); LangMan.DefInit(); fContext = TestUtils.CreateContext(); TestUtils.FillContext(fContext); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fDialog = new LanguageEditDlg(); fDialog.Show(); }
public void SetUp() { WFAppHost.ConfigureBootstrap(false); AppHost.Container.Register <IProgressController, ProgressStub>(LifeCycle.Singleton, true); LangMan.DefInit(); fContext = TestUtils.CreateContext(); TestUtils.FillContext(fContext); }
public void SetUp() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); LangMan.DefInit(); fBaseWin = new BaseWindowStub(); TestUtils.InitProgressStub(); }
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(); }
public void SetUp() { WFAppHost.ConfigureBootstrap(false); LangMan.DefInit(); fBaseWin = new BaseWindowStub(); AppHost.Container.Register <IProgressController, ProgressStub>(LifeCycle.Singleton, true); fProgress = new ProgressStub(); }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(false); fLangMan = new FITestLangMan(); var plugin = new TestPlugin(fLangMan); fDialog = new FlowInputDlg(plugin, fBase); fDialog.Show(); }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fMultimediaRecord = new GDMMultimediaRecord(fBase.Context.Tree); fMultimediaRecord.FileReferences.Add(new GDMFileReferenceWithTitle()); fDialog = new MediaEditDlg(fBase); fDialog.MediaRec = fMultimediaRecord; fDialog.Show(); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fRepositoryRecord = new GDMRepositoryRecord(fBase.Context.Tree); fDialog = new RepositoryEditDlg(fBase); fDialog.Repository = fRepositoryRecord; fDialog.Show(); }
public void SetUp() { // for static initialization GEDCOMProvider.SkipEmptyTag((int)GEDCOMTagType._AWARD); WFAppHost.ConfigureBootstrap(false); LangMan.DefInit(); fContext = TestUtils.CreateContext(); TestUtils.FillContext(fContext); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fAssociation = new GDMAssociation(); fDialog = new AssociationEditDlg(fBase); fDialog.Association = fAssociation; fDialog.Show(); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fSourceCitation = new GDMSourceCitation(null); fDialog = new SourceCitEditDlg(fBase); fDialog.SourceCitation = fSourceCitation; fDialog.Show(); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fIndividualRecord = fBase.Context.CreatePersonEx("Ivan", "", "Smith", GDMSex.svMale, true); fDialog = new PersonEditDlg(fBase); fDialog.Person = fIndividualRecord; fDialog.Show(); }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fNameEntry = new NameEntry(); fDialog = new NameEditDlg(); fDialog.IName = null; fDialog.IName = fNameEntry; fDialog.Show(); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fIndividual = new GDMIndividualRecord(null); fDialog = new RecordInfoDlg(fBase); fDialog.Record = fIndividual; fDialog.Show(); }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fContext = fBase.Context; fChartFilter = new ChartFilter(); fDialog = new TreeFilterDlg(fBase); fDialog.Filter = fChartFilter; fDialog.Show(); }
public void SetUp() { // for static initialization GEDCOMProvider.SkipEmptyTag((int)GEDCOMTagType._AWARD); WFAppHost.ConfigureBootstrap(false); AppHost.Container.Register <IProgressController, ProgressStub>(LifeCycle.Singleton, true); LangMan.DefInit(); fContext = TestUtils.CreateContext(); TestUtils.FillContext(fContext); }
public void SetUp() { // for static initialization GEDCOMProvider.SkipEmptyTag((int)GEDCOMTagType._AWARD); WFAppHost.ConfigureBootstrap(false); LangMan.DefInit(); fBaseWin = new BaseWindowStub(); AppHost.Container.Register <IProgressController, ProgressStub>(LifeCycle.Singleton, true); fProgress = new ProgressStub(); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fIndividual = new GDMIndividualRecord(null); fChildLink = new GDMChildToFamilyLink(); fDialog = new ParentsEditDlg(fBase); fDialog.Person = fIndividual; fDialog.Link = fChildLink; fDialog.Show(); }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); var appHost = new WFAppHost(); appHost.Init(null, false); var indiCols = GlobalOptions.Instance.IndividualListColumns; for (int i = 0; i < indiCols.Count; i++) { var colProps = indiCols[i]; colProps.CurActive = true; } }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fAddress = new GDMAddress(); fAddress.AddWebPage("test"); fAddress.AddPhoneNumber("test"); fAddress.AddEmailAddress("test"); fAddress.AddFaxNumber("test"); fDialog = new AddressEditDlg(fBase); fDialog.Address = fAddress; fDialog.Show(); }
public void Init() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fForm = new Form(); fForm.ClientSize = new System.Drawing.Size(383, 221); fForm.Text = "ImageViewTests"; fTreeChartBox = new TreeChartBox(); fTreeChartBox.Dock = DockStyle.Fill; fForm.SuspendLayout(); fForm.Controls.Add(fTreeChartBox); fForm.ResumeLayout(false); fForm.PerformLayout(); }
public override void Setup() { base.Setup(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fAddress = new GEDCOMAddress(fBase.Context.Tree, null, "", ""); fAddress.AddWebPage("test"); fAddress.AddPhoneNumber("test"); fAddress.AddEmailAddress("test"); fAddress.AddFaxNumber("test"); fDialog = new AddressEditDlg(fBase); fDialog.Address = fAddress; fDialog.Show(); }
public override void Setup() { TestUtils.InitGEDCOMProviderTest(); WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fForm = new Form(); fForm.ClientSize = new System.Drawing.Size(383, 221); fForm.Text = "ImageViewTests"; fCircleChart = new CircleChart(); fCircleChart.Name = "fCircleChart"; fCircleChart.Dock = DockStyle.Fill; fForm.SuspendLayout(); fForm.Controls.Add(fCircleChart); fForm.ResumeLayout(false); fForm.PerformLayout(); }