рефакторинг нити планировщика двм тестов на сервере.
This commit is contained in:
@@ -3,6 +3,7 @@ import Common.Constants;
|
||||
import Common.Database.DBObject;
|
||||
import Common.Database.iDBObject;
|
||||
import GlobalData.Tasks.TaskState;
|
||||
import ProjectData.LanguageName;
|
||||
import TestingSystem.Common.Group.Group;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import TestingSystem.Common.Test.TestType;
|
||||
@@ -22,6 +23,8 @@ public class DVMTask extends iDBObject {
|
||||
@Expose
|
||||
public String test_description = "";
|
||||
@Expose
|
||||
public LanguageName language = LanguageName.fortran;
|
||||
@Expose
|
||||
public String flags = "";
|
||||
@Expose
|
||||
public int kernels = 1;
|
||||
@@ -43,6 +46,7 @@ public class DVMTask extends iDBObject {
|
||||
group_description = t.group_description;
|
||||
test_id = t.test_id;
|
||||
test_description = t.test_description;
|
||||
language = t.language;
|
||||
flags = t.flags;
|
||||
kernels = t.kernels;
|
||||
state = t.state;
|
||||
@@ -62,9 +66,10 @@ public class DVMTask extends iDBObject {
|
||||
group_description = group.description;
|
||||
test_description = test.description;
|
||||
test_type = group.type;
|
||||
language = group.language;
|
||||
flags = flags_in;
|
||||
}
|
||||
public Vector<String> pack(int kernels) {
|
||||
public Vector<String> pack(Object arg) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user