//[Ignore] public void SamplesCheckInPanelTest() { var panel = new SamplesCheckIn(EIDSS.HACode.Human, false); panel.LoadData(); BaseFormManager.ShowSimpleFormModal(panel); }
//[Ignore] public void LookupPanelTestWithLayout() { var panel = new TestLookupPanelUI(); panel.LoadData(); BaseFormManager.ShowSimpleFormModal(panel); }
public void ShowButtonsRightTest() { TestTable testTable = TestTable.CreateInstance(); TestTable.Accessor accessor = TestTable.Accessor.Instance(null); //наполняем тестовыми действиями accessor.Actions.Add(new ActionMetaItem("Action1", ActionTypes.Action, true, null, null, null, null, null)); accessor.Actions.Add(new ActionMetaItem("Action2", ActionTypes.Action, true, null, null, null, null, null)); accessor.Actions.Add(new ActionMetaItem("Action3", ActionTypes.Action, true, null, null, null, null, null)); accessor.Actions.Add(new ActionMetaItem("Action4", ActionTypes.Action, true, null, null, null, null, null)); accessor.Actions.Add(new ActionMetaItem("Action7", ActionTypes.Action, true, null, null, null, null, null)); /* * accessor.Actions.Add(new ActionMetaItem("Action1", "This is action 1", "icon 1", "tooltip 1", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Left, ActionsPanelType.Main, ActionsAppType.All, true, * true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty)); * accessor.Actions.Add(new ActionMetaItem("Action2", "test2", "icon 2", "tooltip 2", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Right, ActionsPanelType.Main, ActionsAppType.All, true, true, false, * null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty)); * accessor.Actions.Add(new ActionMetaItem("Action3", "This is action 3", "icon 3", "tooltip 3", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Left, ActionsPanelType.Main, ActionsAppType.All, true, * true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty)); * accessor.Actions.Add(new ActionMetaItem("Action4", "This is action 4", "icon 4", "tooltip 4", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Right, ActionsPanelType.Main, ActionsAppType.All, true, * true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty)); * * accessor.Actions.Add(new ActionMetaItem("Action7", "Some another action 7", "icon 7", "tooltip 7", String.Empty, String.Empty, String.Empty, String.Empty, null, ActionsAlignment.Left, ActionsPanelType.Top, ActionsAppType.All, true, * true, false, null, null, null, ActionTypes.Action, ActionTypes.Action, ActionTypes.Unknown, String.Empty)); */ var pn = SetTestPanelUIBO(testTable); ILayout container = pn.GetLayout(); container.AddActions(pn, testTable); BaseFormManager.ShowSimpleFormModal(pn); }
public void VectorDetailShowTest() { var panel = new VectorDetail(); object id = null; panel.LoadData(ref id); BaseFormManager.ShowSimpleFormModal(panel); }
//[Ignore] public void VsSessionListPanelTest() { var panel = new VsSessionListPanel(); panel.LoadData(); BaseFormManager.ShowSimpleFormModal(panel); //Control container = panel.Activate(); //BaseListPanelUITest.ShowControlOnForm(container); }
public void VsSessionDetailShowTest() { //BaseDetailPanelTest.ShowControlOnForm((new VsSessionDetail()).Activate()); var panel = new VsSessionDetail(); object id = null; panel.LoadData(ref id); BaseFormManager.ShowSimpleFormModal(panel); }
public void ShowAdvancedLayoutWithActionGroups() { var testTable = TestTable.CreateInstance(); var pn = new TestPanelAdvancedWithActionGroups { BusinessObject = testTable }; BaseFormManager.ShowSimpleFormModal(pn); }
// [Ignore] public void LookupPanelTestWithLayoutWithPermissions() { //показ листовой формы с учётом полномочий TestUserContext.Init(); using (ModelUserContext context = ModelUserContext.Instance) { //Lookup2ListItem bo = Lookup2ListItem.CreateInstance(); var panel = new TestLookupPanelUI(); panel.LoadData(); BaseFormManager.ShowSimpleFormModal(panel); } TestUserContext.Clear(); }
public void ShowAdvancedLayoutTest() { TestTable testTable = TestTable.CreateInstance(); //TestTable.Accessor accessor = TestTable.Accessor.Instance(null); ////наполняем тестовыми действиями //accessor.Actions.Add(new ActionMetaItem("Action1", "This is action 1", "icon 1", ActionsAlignment.Left, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action2", "test2", "icon 2", ActionsAlignment.Right, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action3", "This is action 3", "icon 3", ActionsAlignment.Left, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action4", "This is action 4", "icon 4", ActionsAlignment.Right, ActionsPanelType.Main, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action7", "Some another action 7", "icon 7", ActionsAlignment.Left, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action8", "Some another action 8", "icon 8", ActionsAlignment.Right, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action9", "Some another action 9", "icon 9", ActionsAlignment.Left, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action)); //accessor.Actions.Add(new ActionMetaItem("Action10", "Some another action 10", "icon 10", ActionsAlignment.Right, ActionsPanelType.Top, true, true, false, null, null, ActionTypes.Action)); var pn = new TestPanelAdvancedUI { BusinessObject = testTable }; ILayout container = pn.GetLayout(); container.AddActions(pn, testTable); BaseFormManager.ShowSimpleFormModal(pn); }
//[Ignore] public void SecurityEventLogListPanelTest() { BaseFormManager.ShowSimpleFormModal(new SecurityEventLogListPanel()); }
//[Ignore] public void OrganizationListPanelTest() { BaseFormManager.ShowSimpleFormModal(new OrganizationListPanel()); }
//[Ignore] public void PersonListPanelTest() { BaseFormManager.ShowSimpleFormModal(new PersonListPanel()); }
// [Ignore] public void SampleDispositionListPanelTest() { BaseFormManager.ShowSimpleFormModal(new SampleDispositionListPanel()); }
// [Ignore] public void AsSessionListPanelTest() { BaseFormManager.ShowSimpleFormModal(new AsSessionListPanel()); }
//[Ignore] public void OutbreakListPanelTest() { BaseFormManager.ShowSimpleFormModal(new OutbreakListPanel()); }
//[Ignore] public void TestListPanelTest() { BaseFormManager.ShowSimpleFormModal(new TestListPanel()); }
//[Ignore] public void VetAggregateCaseListTest() { BaseFormManager.ShowSimpleFormModal(new VetAggregateCaseList()); }
//[Ignore] public void StatisticListPanelTest() { BaseFormManager.ShowSimpleFormModal(new StatisticListPanel()); }
// [Ignore] public void UserGroupListPanelTest() { BaseFormManager.ShowSimpleFormModal(new UserGroupListPanel()); }
// [Ignore] public void SettlementListPanelTest() { BaseFormManager.ShowSimpleFormModal(new SettlementListPanel()); }
// [Ignore] public void SiteActivationServerListPanelTest() { BaseFormManager.ShowSimpleFormModal(new SiteListPanel()); }
//[Ignore] public void AsCampaignListPanelTest() { BaseFormManager.ShowSimpleFormModal(new AsCampaignListPanel()); }
//[Ignore] public void DataAuditListPanelTest() { BaseFormManager.ShowSimpleFormModal(new DataAuditListPanel()); }
// [Ignore] public void SampleTransferListPanelTest() { BaseFormManager.ShowSimpleFormModal(new SampleTransferListPanel()); }
//[Ignore] public void HumanCaseListPanelTest() { BaseFormManager.ShowSimpleFormModal(new HumanCaseListPanel()); }
// [Ignore] public void RepositorySchemeListPanelTest() { BaseFormManager.ShowSimpleFormModal(new RepositorySchemeListPanel()); }
//[Ignore] public void NextNumbersListPanelTest() { BaseFormManager.ShowSimpleFormModal(new NextNumbersListPanel()); }