Отображение текущей задачи тестирования ДВМ

This commit is contained in:
2025-02-10 22:38:42 +03:00
parent 7eecdf8f4d
commit 0049409cdf
10 changed files with 175 additions and 125 deletions

View File

@@ -112,7 +112,7 @@ public class DVMRunTasksForm extends DataSetControlForm<DVMRunTask> {
}
@Override
public DataMenuBar createMenuBar() {
return new DataMenuBar(dataSource.getPluralDescription(), PassCode.CompareDVMRunTasks, PassCode.DownloadTaskTest);
return new DataMenuBar(dataSource.getPluralDescription(), PassCode.DownloadTaskTest);
}
@Override
protected void createFilters() {
@@ -173,8 +173,20 @@ public class DVMRunTasksForm extends DataSetControlForm<DVMRunTask> {
};
}
@Override
protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentDVMTask();
}
@Override
protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowNoCurrentDVMTask();
}
/*
@Override
protected void MouseAction2() throws Exception {
SelectAll(false);
Global.mainModule.getPass(PassCode.CompareDVMRunTasks).Do();
}
*/
}

View File

@@ -118,7 +118,7 @@ public class RemoteDVMTestingPlanner extends DVMTestingPlanner {
rt_count++;
runTask.compilation_state = compilationTask.state;
runTask.compilation_time = compilationTask.Time;
if (compilationTask.state == TaskState.DoneWithErrors) {
if (compilationTask.state != TaskState.Done) {
runTask.state = TaskState.Canceled;
} else {
File rt_workspace = Paths.get(packageLocalWorkspace.getAbsolutePath(), "results", String.valueOf(runTask.id)).toFile();