Example #1
0
        public override void Setup()
        {
            WFAppHost.ConfigureBootstrap(false);

            fDialog = new AboutDlg();
            fDialog.Show();
        }
Example #2
0
        public void SetUp()
        {
            TestUtils.InitGEDCOMProviderTest();
            WFAppHost.ConfigureBootstrap(false);

            fBase = new BaseWindowStub();
        }
Example #3
0
        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);
        }
Example #5
0
        public void SetUp()
        {
            WFAppHost.ConfigureBootstrap(false);

            LangMan.DefInit();

            fContext = TestUtils.CreateContext();
            TestUtils.FillContext(fContext);
        }
Example #6
0
        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);
        }
Example #7
0
        public void SetUp()
        {
            TestUtils.InitGEDCOMProviderTest();
            WFAppHost.ConfigureBootstrap(false);
            TestUtils.InitProgressStub();
            LangMan.DefInit();

            fContext = TestUtils.CreateContext();
            TestUtils.FillContext(fContext);
        }
Example #8
0
        public override void Setup()
        {
            TestUtils.InitGEDCOMProviderTest();
            WFAppHost.ConfigureBootstrap(false);

            fBase = new BaseWindowStub();

            fDialog = new LanguageEditDlg();
            fDialog.Show();
        }
Example #9
0
        public void SetUp()
        {
            WFAppHost.ConfigureBootstrap(false);
            AppHost.Container.Register <IProgressController, ProgressStub>(LifeCycle.Singleton, true);

            LangMan.DefInit();

            fContext = TestUtils.CreateContext();
            TestUtils.FillContext(fContext);
        }
Example #10
0
        public void SetUp()
        {
            TestUtils.InitGEDCOMProviderTest();
            WFAppHost.ConfigureBootstrap(false);
            LangMan.DefInit();

            fBaseWin = new BaseWindowStub();

            TestUtils.InitProgressStub();
        }
Example #11
0
        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();
        }
Example #12
0
        public void SetUp()
        {
            WFAppHost.ConfigureBootstrap(false);

            LangMan.DefInit();

            fBaseWin = new BaseWindowStub();

            AppHost.Container.Register <IProgressController, ProgressStub>(LifeCycle.Singleton, true);
            fProgress = new ProgressStub();
        }
Example #13
0
        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();
        }
Example #14
0
        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();
        }
Example #16
0
        public void SetUp()
        {
            // for static initialization
            GEDCOMProvider.SkipEmptyTag((int)GEDCOMTagType._AWARD);

            WFAppHost.ConfigureBootstrap(false);

            LangMan.DefInit();

            fContext = TestUtils.CreateContext();
            TestUtils.FillContext(fContext);
        }
Example #17
0
        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();
        }
Example #19
0
        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();
        }
Example #20
0
        public override void Setup()
        {
            WFAppHost.ConfigureBootstrap(false);

            fBase      = new BaseWindowStub();
            fNameEntry = new NameEntry();

            fDialog       = new NameEditDlg();
            fDialog.IName = null;
            fDialog.IName = fNameEntry;
            fDialog.Show();
        }
Example #21
0
        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();
        }
Example #22
0
        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();
        }
Example #23
0
        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);
        }
Example #24
0
        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();
        }
Example #25
0
        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();
        }
Example #26
0
        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;
            }
        }
Example #27
0
        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();
        }
Example #28
0
        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();
        }
Example #30
0
        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();
        }