no message
This commit is contained in:
@@ -206,17 +206,17 @@ public class Pass<T> {
|
||||
createStack_r(ToDo, ToPrint);
|
||||
|
||||
if (
|
||||
MainModule_.instance.confirmPassesStart() && !ToPrint.isEmpty() &&
|
||||
UI.isActive()&&MainModule_.instance.confirmPassesStart() && !ToPrint.isEmpty() &&
|
||||
!UI.Question("Выполнить проход(ы):\n" + String.join("\n", ToPrint))
|
||||
) return false;
|
||||
while (ToDo.size() > 1) {
|
||||
if (!ToDo.pop().start()) return false;
|
||||
}
|
||||
if (start(args)) {
|
||||
if (MainModule_.instance.focusPassesResult())
|
||||
if (UI.isActive()&&MainModule_.instance.focusPassesResult())
|
||||
FocusResult();
|
||||
//-
|
||||
if (MainModule_.instance.confirmPassesDone() && !ToPrint.isEmpty()
|
||||
if (UI.isActive()&&MainModule_.instance.confirmPassesDone() && !ToPrint.isEmpty()
|
||||
) {
|
||||
UI.Info("Проход(ы)\n\n" + String.join("\n", ToPrint) +
|
||||
"\nуспешно выполнен(ы)!");
|
||||
|
||||
@@ -317,12 +317,6 @@ public class Global {
|
||||
supervisor.Perform();
|
||||
}
|
||||
}
|
||||
public static void LocalMachineQueueMode(String... args) throws Exception {
|
||||
LocalDVMTestingPlanner supervisor = new LocalDVMTestingPlanner(args);
|
||||
while (true) {
|
||||
supervisor.Perform();
|
||||
}
|
||||
}
|
||||
//---
|
||||
public static void Init(String... args) {
|
||||
System.out.println("VisualSapfor.jar started..");
|
||||
@@ -348,9 +342,6 @@ public class Global {
|
||||
case MachineQueue:
|
||||
MachineQueueMode(args);
|
||||
break;
|
||||
case LocalMachineQueue:
|
||||
LocalMachineQueueMode(args);
|
||||
break;
|
||||
case Undefined:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -336,14 +336,14 @@ public class MainModule extends MainModule_<GlobalDatabase, MainUI> {
|
||||
}
|
||||
@Override
|
||||
public boolean confirmPassesStart() {
|
||||
return hasUI()&&Global.properties.ConfirmPassesStart;
|
||||
return Global.properties.ConfirmPassesStart;
|
||||
}
|
||||
@Override
|
||||
public boolean confirmPassesDone() {
|
||||
return hasUI()&&Global.properties.ShowPassesDone;
|
||||
return Global.properties.ShowPassesDone;
|
||||
}
|
||||
@Override
|
||||
public boolean focusPassesResult() {
|
||||
return hasUI()&&Global.properties.FocusPassesResult;
|
||||
return Global.properties.FocusPassesResult;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@ public enum Mode {
|
||||
Server,
|
||||
Testing,
|
||||
Package,
|
||||
MachineQueue,
|
||||
LocalMachineQueue
|
||||
MachineQueue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user