отображение списка задач текущего пакета SAPFOR
This commit is contained in:
@@ -6,7 +6,6 @@ public interface TestingWindow extends VisualizerForm {
|
||||
void DropTestRunTasksComparison();
|
||||
void ShowCurrentTestRunTask();
|
||||
void ShowNoTestRunTask();
|
||||
void DropSapforTasksComparison();
|
||||
//-
|
||||
void RefreshTabsNames();
|
||||
void FocusTestingSystem();
|
||||
|
||||
@@ -135,10 +135,9 @@
|
||||
</properties>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<splitpane id="6ef86" binding="SC50">
|
||||
<splitpane id="f24" binding="SC50">
|
||||
<constraints border-constraint="Center"/>
|
||||
<properties>
|
||||
<dividerLocation value="300"/>
|
||||
<dividerSize value="3"/>
|
||||
</properties>
|
||||
<border type="none"/>
|
||||
@@ -207,14 +206,12 @@
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<splitpane id="ff9dc" binding="SC57">
|
||||
<grid id="8a833" binding="sapforTasksPanel" layout-manager="BorderLayout" hgap="0" vgap="0">
|
||||
<constraints border-constraint="Center"/>
|
||||
<properties>
|
||||
<dividerSize value="3"/>
|
||||
</properties>
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
<children/>
|
||||
</splitpane>
|
||||
</grid>
|
||||
</children>
|
||||
</grid>
|
||||
<grid id="7718" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||
|
||||
@@ -19,7 +19,6 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
public JSplitPane SC46;
|
||||
public JSplitPane SC53;
|
||||
public JSplitPane SC56;
|
||||
public JSplitPane SC57;
|
||||
public JSplitPane SC63;
|
||||
public JSplitPane SC59;
|
||||
//-
|
||||
@@ -42,6 +41,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
private JPanel sapforScenariosPanel;
|
||||
private JPanel serverSapforsPanel;
|
||||
private JPanel sapforTasksPackagesPanel;
|
||||
private JPanel sapforTasksPanel;
|
||||
private JPanel testsRunTasksBackground;
|
||||
private JCheckBox filterFinished;
|
||||
private JButton bTest;
|
||||
@@ -57,10 +57,6 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
private TestRunTasksComparisonForm dvmTestingRunMaster; //сравнение тестов двм системы.
|
||||
private TestRunTasksComparisonForm dvmTestingRunSlave;
|
||||
//-
|
||||
//сравнение версий полученных в результате выполнения пакета.
|
||||
public SapforPackagesComparisonForm sapforTestingMaster;
|
||||
public SapforPackagesComparisonForm sapforTestingSlave;
|
||||
//-
|
||||
public TestingForm() {
|
||||
content.add(UI.testingBar, BorderLayout.NORTH);
|
||||
LoadSplitters();
|
||||
@@ -80,10 +76,8 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
Global.testingServer.db.sapforConfigurationCommands.mountUI(sapforConfigurationCommandsPanel);
|
||||
Global.testingServer.db.serverSapfors.mountUI(serverSapforsPanel);
|
||||
Global.testingServer.account_db.sapforTasksPackages.mountUI(sapforTasksPackagesPanel);
|
||||
//--------------------------------------------------------------------->>>>
|
||||
sapforTestingMaster = new SapforPackagesComparisonForm(sapforTestingSlave = new SapforPackagesComparisonForm(null));
|
||||
SC57.setLeftComponent(sapforTestingMaster.getContent());
|
||||
SC57.setRightComponent(sapforTestingSlave.getContent());
|
||||
//---
|
||||
Global.testingServer.account_db.sapforTasks.mountUI(sapforTasksPanel);
|
||||
}
|
||||
//-
|
||||
@Override
|
||||
@@ -138,15 +132,11 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
UI.Clear(packagesPanel);
|
||||
UI.Clear(testsRunTasksPanel);
|
||||
UI.Clear(sapforTasksPackagesPanel);
|
||||
UI.Clear(sapforTasksPanel);
|
||||
//-->>
|
||||
Global.testingServer.account_db.packages.mountUI(packagesPanel);
|
||||
Global.testingServer.account_db.testRunTasks.mountUI(testsRunTasksPanel);
|
||||
Global.testingServer.account_db.sapforTasksPackages.mountUI(sapforTasksPackagesPanel);
|
||||
}
|
||||
//--->>>
|
||||
@Override
|
||||
public void DropSapforTasksComparison() {
|
||||
sapforTestingMaster.RemoveObject();
|
||||
sapforTestingSlave.RemoveObject();
|
||||
Global.testingServer.account_db.sapforTasksPackages.mountUI(sapforTasksPanel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user