no message
This commit is contained in:
@@ -42,10 +42,15 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
protected boolean needsAnimation() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
RemoteFile testingSystemHome = new RemoteFile(sftpChannel.pwd(), "testing_system", true);
|
||||
RemoteFile repo = new RemoteFile(testingSystemHome.full_name, "Repo", true);
|
||||
RemoteFile repoSapforHome = new RemoteFile(repo.full_name + "/sapfor/experts/Sapfor_2017/_bin", true);
|
||||
ShowMessage2("Вывод в консоли визуализатора");
|
||||
//-->>
|
||||
ShowMessage1("Синхронизация ветви DVM...");
|
||||
ShellCommand("cd " + Utils.DQuotes(repo.full_name), "svn checkout " + Constants.REPOSITORY_AUTHENTICATION + " " + Constants.DVM_REPOSITORY + "\n");
|
||||
|
||||
@@ -5,9 +5,9 @@ import Common.UI.UI;
|
||||
import ProjectData.LanguageName;
|
||||
import Repository.Server.ServerCode;
|
||||
import Repository.Server.ServerExchangeUnit_2021;
|
||||
import SapforTestingSystem.SapforTasksPackage_info;
|
||||
import SapforTestingSystem.SapforConfiguration.SapforConfiguration;
|
||||
import SapforTestingSystem.SapforConfigurationCommand.SapforConfigurationCommand;
|
||||
import SapforTestingSystem.SapforTasksPackage_info;
|
||||
import TestingSystem.Group.Group;
|
||||
import TestingSystem.Test.Test;
|
||||
import Visual_DVM_2021.Passes.PassCode_2021;
|
||||
@@ -181,14 +181,21 @@ public class StartSapforTests extends TestingSystemPass<SapforTasksPackage_info>
|
||||
for (Test test : allTests.values())
|
||||
target.testsIds.add(test.id);
|
||||
//--
|
||||
ShowMessage1("Создание рабочих пространств...");
|
||||
for (SapforConfiguration configuration : Global.testingServer.db.sapforConfigurations.getCheckedItems())
|
||||
target.configurationsIds.add(configuration.id);
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.StartSapforTests, "", target));
|
||||
}
|
||||
@Override
|
||||
protected void performFinish() throws Exception {
|
||||
super.performFinish();
|
||||
//passes.get(PassCode_2021.SynchronizeTests).Do();
|
||||
protected void performDone() throws Exception {
|
||||
passes.get(PassCode_2021.SynchronizeTestsTasks).Do();
|
||||
/*
|
||||
if (!TestingServer.checkTasks)
|
||||
TestingServer.TimerOn();
|
||||
Global.db.BeginTransaction();
|
||||
for (TestRunTask testRunTask : server.account_db.testRunTasks.Data.values())
|
||||
if (testRunTask.taskspackage_id.equals(target.id))
|
||||
Global.db.Insert(new TaskKey_2022(testRunTask.id, target.id));
|
||||
Global.db.Commit();
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public class SynchronizeTestsTasks extends TestingSystemPass<Vector<Integer>> {
|
||||
@Override
|
||||
protected void showPreparation() throws Exception {
|
||||
server.account_db.packages.ClearUI();
|
||||
// server.account_db.sapforTasksPackages.ClearUI();
|
||||
server.account_db.sapforTasksPackages.ClearUI();
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
@@ -63,7 +63,7 @@ public class SynchronizeTestsTasks extends TestingSystemPass<Vector<Integer>> {
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
server.account_db.packages.ShowUI();
|
||||
// server.account_db.sapforTasksPackages.ShowUI();
|
||||
server.account_db.sapforTasksPackages.ShowUI();
|
||||
if (!TestingServer.checkTasks) UI.getMainWindow().getTestingWindow().ShowAutoActualizeTestsState();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user