no message
This commit is contained in:
@@ -487,6 +487,6 @@ public enum Current {
|
||||
Normal,
|
||||
Server,
|
||||
Testing,
|
||||
Scenario
|
||||
Package
|
||||
}
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ public class Global {
|
||||
testingServer.Start();
|
||||
System.exit(0);
|
||||
}
|
||||
public static void ScenarioMode() throws Exception {
|
||||
public static void PackageMode() throws Exception {
|
||||
isWindows = System.getProperty("os.name").startsWith("Windows");
|
||||
Log = new Loggable() {
|
||||
@Override
|
||||
@@ -356,7 +356,7 @@ public class Global {
|
||||
}
|
||||
@Override
|
||||
public String getLogName() {
|
||||
return "Scenario";
|
||||
return "Package";
|
||||
}
|
||||
};
|
||||
Log.ClearLog();
|
||||
@@ -383,8 +383,8 @@ public class Global {
|
||||
case Testing:
|
||||
TestingSystemMode();
|
||||
break;
|
||||
case Scenario:
|
||||
ScenarioMode();
|
||||
case Package:
|
||||
PackageMode();
|
||||
break;
|
||||
case Undefined:
|
||||
break;
|
||||
|
||||
@@ -361,7 +361,7 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
|
||||
FileUtils.copyFile(new File(Global.Home, "TestingSystem.jar"), visualiser);
|
||||
//создание настроек
|
||||
GlobalProperties properties = new GlobalProperties();
|
||||
properties.Mode = Current.Mode.Scenario;
|
||||
properties.Mode = Current.Mode.Package;
|
||||
properties.threadsNum = Global.properties.threadsNum; //брать из настроек сервера же.
|
||||
properties.threadsTimeout = Global.properties.threadsTimeout;
|
||||
Utils.jsonToFile(properties, new File(sapforTasksPackage.workspace, "properties"));
|
||||
|
||||
@@ -71,7 +71,7 @@ public class SPF_CreateParallelVariant extends SapforTransformation {
|
||||
@Override
|
||||
protected void performFinish() throws Exception {
|
||||
//в пакетном режиме вариант всегда один. поэтому, сообщения надо распаковать сразу.
|
||||
if (Current.mode.equals(Current.Mode.Scenario))
|
||||
if (Current.mode.equals(Current.Mode.Package))
|
||||
super.performFinish();
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user