no message
This commit is contained in:
@@ -4,7 +4,6 @@ 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;
|
||||
@@ -33,15 +32,15 @@ public class PublishTest extends PublishServerObject<TestingServer, Test> {
|
||||
target.files = String.join(";", filesNames);
|
||||
//--
|
||||
if (from_current_project) {
|
||||
target.dim = project.testMaxDim;
|
||||
// target.max_dim = project.testMaxDim;
|
||||
return super.fillObjectFields();
|
||||
} else {
|
||||
switch (project.languageName) {
|
||||
case fortran:
|
||||
target.dim = Current.getSapfor().getTextMaxDim(null, project);
|
||||
target.max_dim = Current.getSapfor().getTextMaxDim(null, project);
|
||||
break;
|
||||
case c:
|
||||
target.dim = Utils.getCProjectMaxDim(project);
|
||||
target.max_dim = Utils.getCProjectMaxDim(project);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user