no message
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package TestingSystem.DVM.DVMTasks;
|
||||
import Common_old.Utils.Utils;
|
||||
import Common.Utils.CommonUtils;
|
||||
import TestingSystem.Common.Group.Group;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import TestingSystem.DVM.DVMConfiguration.DVMConfiguration;
|
||||
@@ -36,9 +36,9 @@ public class DVMCompilationTask extends DVMTask {
|
||||
public static String checkEnvironments(String environmentsSet_in) {
|
||||
if (!environmentsSet_in.contains("DVMH_NO_DIRECT_COPY")) {
|
||||
if (environmentsSet_in.isEmpty())
|
||||
return "DVMH_NO_DIRECT_COPY=" + Utils.DQuotes("1");
|
||||
return "DVMH_NO_DIRECT_COPY=" + CommonUtils.DQuotes("1");
|
||||
else
|
||||
return environmentsSet_in + " " + "DVMH_NO_DIRECT_COPY=" + Utils.DQuotes("1");
|
||||
return environmentsSet_in + " " + "DVMH_NO_DIRECT_COPY=" + CommonUtils.DQuotes("1");
|
||||
} else
|
||||
return environmentsSet_in;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package TestingSystem.DVM.DVMTasks;
|
||||
import Common.CommonConstants;
|
||||
import Common_old.Constants;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import _VisualDVM.Global;
|
||||
@@ -16,7 +17,7 @@ import java.nio.file.Paths;
|
||||
import java.util.Vector;
|
||||
public class DVMRunTask extends DVMTask {
|
||||
@Expose
|
||||
public int dvmcompilationtask_id = Constants.Nan;
|
||||
public int dvmcompilationtask_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public String matrix = "";
|
||||
@Expose
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package TestingSystem.DVM.DVMTasks;
|
||||
import Common.CommonConstants;
|
||||
import Common_old.Constants;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Database.Objects.iDBObject;
|
||||
@@ -17,13 +18,13 @@ import java.nio.file.Paths;
|
||||
import java.util.Vector;
|
||||
public class DVMTask extends iDBObject {
|
||||
@Expose
|
||||
public int dvm_package_id = Constants.Nan;
|
||||
public int dvm_package_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public int group_id = Constants.Nan;
|
||||
public int group_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public String group_description = "";
|
||||
@Expose
|
||||
public int test_id = Constants.Nan;
|
||||
public int test_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public String test_description = "";
|
||||
@Expose
|
||||
@@ -85,7 +86,7 @@ public class DVMTask extends iDBObject {
|
||||
}
|
||||
public String getResultFile(File resultFile) {
|
||||
String res = "";
|
||||
if (dvm_package_id == Constants.Nan) res = "задача ещё не выполнялась";
|
||||
if (dvm_package_id == CommonConstants.Nan) res = "задача ещё не выполнялась";
|
||||
else {
|
||||
if (resultFile.exists()) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user