запись результатов тестирования в бд
This commit is contained in:
@@ -2,6 +2,7 @@ package TestingSystem;
|
||||
import Common.Database.SQLITE.SQLiteDatabase;
|
||||
import Common.Global;
|
||||
import GlobalData.Settings.SettingName;
|
||||
import SapforTestingSystem.SapforTask.SapforTasksDBTable;
|
||||
import SapforTestingSystem.SapforTasksPackage.SapforTasksPackage;
|
||||
import SapforTestingSystem.SapforTasksPackage.SapforTasksPackagesDBTable;
|
||||
import TestingSystem.TSetting.TSetting;
|
||||
@@ -31,6 +32,7 @@ public class TasksDatabase extends SQLiteDatabase {
|
||||
PreparedStatement selectPackageRunTasks = null;
|
||||
//----------
|
||||
public SapforTasksPackagesDBTable sapforTasksPackages;
|
||||
public SapforTasksDBTable sapforTasks;
|
||||
//---------
|
||||
public TasksDatabase(String email) {
|
||||
super(Paths.get(Global.DataDirectory.getAbsolutePath(), email + "_" + tests_db_name + ".sqlite").toFile());
|
||||
@@ -50,6 +52,7 @@ public class TasksDatabase extends SQLiteDatabase {
|
||||
addTable(packagesToKill = new TasksPackageToKillDBTable());
|
||||
//-----------
|
||||
addTable(sapforTasksPackages = new SapforTasksPackagesDBTable());
|
||||
addTable(sapforTasks = new SapforTasksDBTable());
|
||||
}
|
||||
@Override
|
||||
public void Init() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user