создание 3 кнопок синхронизации бд тестов - в тестах. и в соответствующих конфигурациях.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Current;
|
||||
import Common.UI.Menus_2023.PassButton;
|
||||
import Common.UI.UI;
|
||||
import Common.Utils.Utils;
|
||||
import Repository.Server.ServerCode;
|
||||
@@ -7,6 +8,7 @@ import Repository.Server.ServerExchangeUnit_2021;
|
||||
import Visual_DVM_2021.Passes.Server.TestingSystemPass;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.io.File;
|
||||
public class SynchronizeTests extends TestingSystemPass<Object> {
|
||||
File new_db_file;
|
||||
@@ -23,6 +25,10 @@ public class SynchronizeTests extends TestingSystemPass<Object> {
|
||||
return "";
|
||||
}
|
||||
@Override
|
||||
public JButton createButton() {
|
||||
return new PassButton(this);
|
||||
}
|
||||
@Override
|
||||
protected void showPreparation() throws Exception {
|
||||
server.db.SaveLastSelections();
|
||||
server.db.configurations.ClearUI();
|
||||
|
||||
Reference in New Issue
Block a user