no message
This commit is contained in:
@@ -4,10 +4,13 @@ import Common.Current;
|
||||
import Common.Global;
|
||||
import Common.UI.UI;
|
||||
import Common.Utils.Utils;
|
||||
import ProjectData.Files.DBProjectFile;
|
||||
import ProjectData.Project.db_project_info;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import TestingSystem.Common.TestingServer;
|
||||
import Visual_DVM_2021.Passes.Server.PublishServerObject;
|
||||
|
||||
import java.util.Vector;
|
||||
public class PublishTest extends PublishServerObject<TestingServer, Test> {
|
||||
boolean from_current_project;
|
||||
protected int group_id;
|
||||
@@ -23,6 +26,11 @@ public class PublishTest extends PublishServerObject<TestingServer, Test> {
|
||||
target.description = Utils.ReplaceForbiddenSymbols(target.description);
|
||||
}
|
||||
target.group_id = group_id;
|
||||
//подпапок нет. имена совпадают с относительными.
|
||||
Vector<String> filesNames = new Vector<>();
|
||||
for (String file: project.db.files.Data.keySet())
|
||||
filesNames.add(file);
|
||||
target.files = String.join(";", filesNames);
|
||||
//--
|
||||
if (from_current_project) {
|
||||
target.dim = project.testMaxDim;
|
||||
|
||||
Reference in New Issue
Block a user