удаление отладочной печати сравнения и не только
This commit is contained in:
@@ -36,7 +36,6 @@ public class CloneSapforPackage extends AddObjectPass<SapforPackage> {
|
||||
//--
|
||||
for (SapforTest_json src_TestJson : src.tests) {
|
||||
if (Global.testingServer.db.tests.containsKey(src_TestJson.id)) {
|
||||
System.out.println("test=" + src_TestJson.id);
|
||||
Test test = Global.testingServer.db.tests.get(src_TestJson.id);
|
||||
SapforTest_json testJson = new SapforTest_json();
|
||||
//--
|
||||
@@ -53,7 +52,6 @@ public class CloneSapforPackage extends AddObjectPass<SapforPackage> {
|
||||
//--
|
||||
for (SapforConfiguration_json src_configuration : src.configurations) {
|
||||
if (Global.testingServer.db.sapforConfigurations.containsKey(src_configuration.id)) {
|
||||
System.out.println("configuration=" + src_configuration.id);
|
||||
SapforConfiguration configuration = Global.testingServer.db.sapforConfigurations.get(src_configuration.id);
|
||||
SapforConfiguration_json configurationJson = new SapforConfiguration_json();
|
||||
//--
|
||||
@@ -170,13 +168,6 @@ public class CloneSapforPackage extends AddObjectPass<SapforPackage> {
|
||||
target.testsNames = String.join(";", target.package_json.getTestsNames());
|
||||
target.configurationsNames = String.join(";", target.package_json.getConfigurationsNames());
|
||||
//--
|
||||
for (String test_id : inexistingTests) {
|
||||
System.out.println("Тест " + test_id + " не найден!");
|
||||
}
|
||||
for (String configiration_id : inexistingConfigurations) {
|
||||
System.out.println("Конфигурация " + configiration_id + " не найдена!");
|
||||
}
|
||||
//--
|
||||
return inexistingTests.isEmpty() && inexistingConfigurations.isEmpty() ||
|
||||
UI.Question(
|
||||
(inexistingTests.isEmpty() ? "" : (inexistingTests.size() + " тестов отсутствует;")) +
|
||||
@@ -187,8 +178,5 @@ public class CloneSapforPackage extends AddObjectPass<SapforPackage> {
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
Global.testingServer.db.sapforPackages.Data.put(target.id, target);
|
||||
//--
|
||||
// Utils.CheckAndCleanDirectory(target.getLocalWorkspace());
|
||||
// target.saveJson();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user