Example #1
0
        //[Ignore]
        public void VsSummaryTableTest()
        {
            EidssUserContext.Init();
            var session = VsSessionTest.GetTestSession();

            var frm = new Form
            {
                Size          = new Size(500, 300),
                StartPosition = FormStartPosition.CenterScreen,
            };

            var navBarControl = new NavBarControl();

            frm.Controls.Add(navBarControl);
            navBarControl.Dock = DockStyle.Fill;
            navBarControl.FillTestSummary(SummaryTable.GetSummaryTables(session.FieldTests));

            frm.ShowDialog();
            EidssUserContext.Clear();
        }
Example #2
0
        public void FFPresenterWindowTest()
        {
            var session = VsSessionTest.GetTestSession();

            Assert.IsNotNull(session);
            Assert.IsTrue(session.Vectors.Count > 0);
            var vector = session.Vectors[0];

            Assert.IsNotNull(vector.FFPresenter);
            //задаём тип вектора

            var ffPresenter = new EIDSS4FF.FFPresenter(vector.FFPresenter)
            {
                Sizable = true
            };
            object id = null;

            ffPresenter.ShowFlexibleForm();
            BaseFormManager.ShowModal(ffPresenter, null, ref id, null, null, 500, 400);
        }