no message

This commit is contained in:
2023-12-15 18:38:05 +03:00
parent 55e49ce3b7
commit 13c629f1b4
10 changed files with 127 additions and 23 deletions

View File

@@ -20,7 +20,6 @@ import Repository.BugReport.BugReport;
import Repository.Subscribes.Subscriber;
import TestingSystem.Common.Test.Test;
import TestingSystem.DVM.Configuration.Configuration;
import TestingSystem.DVM.DVMPackage.DVMPackage;
import TestingSystem.DVM.Tasks.TestCompilationTask;
import TestingSystem.DVM.Tasks.TestRunTask;
import TestingSystem.DVM.TasksPackage.TasksPackage;
@@ -34,6 +33,7 @@ public enum Current {
Undefined,
//--
DVMPackage,
SapforPackage,
//--
ServerSapfor,
SapforTasksPackage,
@@ -398,10 +398,17 @@ public enum Current {
public static TestingSystem.DVM.DVMPackage.DVMPackage getDVMPackage() {
return (TestingSystem.DVM.DVMPackage.DVMPackage) get(Current.DVMPackage);
}
//----->>
public static boolean HasSapforPackage() {
return get(Current.SapforPackage) != null;
}
public static TestingSystem.SAPFOR.SapforPackage.SapforPackage getSapforPackage() {
return (TestingSystem.SAPFOR.SapforPackage.SapforPackage) get(Current.SapforPackage);
}
//--------------------------------------------
public String getDescription() {
switch (this) {
case SapforPackage:
return "Пакет тестирования SAPFOR";
case DVMPackage:
return "Пакет тестирования DVM";
case Configuration: