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

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

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

            LangMan.DefInit();

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

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

            fBase = new BaseWindowStub();

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

            LangMan.DefInit();

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

            fBaseWin = new BaseWindowStub();

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

            LangMan.DefInit();

            fBaseWin = new BaseWindowStub();

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

            WFAppHost.ConfigureBootstrap(false);

            LangMan.DefInit();

            fContext = TestUtils.CreateContext();
            TestUtils.FillContext(fContext);
        }
Beispiel #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();
        }
        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();
        }
Beispiel #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();
        }
Beispiel #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();
        }
        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();
        }
Beispiel #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);
        }
Beispiel #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();
        }
        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();
        }
Beispiel #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;
            }
        }
Beispiel #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();
        }
Beispiel #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();
        }
Beispiel #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();
        }