утренние изменения
удаление эталона и роль студента
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import Common.CommonConstants;
|
||||
import Common.Passes.Pass;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.TestingSystem.SAPFOR.SapforPackage.SapforPackage;
|
||||
|
||||
import java.util.Vector;
|
||||
public class CompareSapforPackageToEthalon extends CompareSapforPackages {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
@@ -28,8 +25,8 @@ public class CompareSapforPackageToEthalon extends CompareSapforPackages {
|
||||
master = ethalon;
|
||||
slave = sapforPackage;
|
||||
return true;
|
||||
}else
|
||||
return UI.Question("Отмечено более одного пакета. Желаете сравнить их")&&super.canStart(args);
|
||||
} else
|
||||
return UI.Question("Отмечено более одного пакета. Желаете сравнить их") && super.canStart(args);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import Common.CommonConstants;
|
||||
import _VisualDVM.Global;
|
||||
public class DropSapforConfigurationEthalon extends EditSapforConfiguration{
|
||||
public class DropSapforConfigurationEthalon extends EditSapforConfiguration {
|
||||
@Override
|
||||
public String getIconPath() {
|
||||
return "/Common/icons/Clean.png";
|
||||
|
||||
@@ -45,7 +45,6 @@ public class TestPass extends Pass {
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
List<Integer> numbers = new Vector_<>(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
|
||||
|
||||
// Use parallelStream() to create a parallel stream
|
||||
ForkJoinPool commonPool = ForkJoinPool.commonPool();
|
||||
commonPool.submit(() ->
|
||||
@@ -57,7 +56,6 @@ public class TestPass extends Pass {
|
||||
).join();
|
||||
System.out.println("DONE");
|
||||
//----
|
||||
|
||||
DiffRowGenerator generator = DiffRowGenerator.create()
|
||||
.showInlineDiffs(true)
|
||||
.inlineDiffByWord(true)
|
||||
@@ -67,7 +65,6 @@ public class TestPass extends Pass {
|
||||
List<DiffRow> rows = generator.generateDiffRows(
|
||||
Arrays.asList("This is a test senctence.", "This is the second line.", "And here is the finish."),
|
||||
Arrays.asList("This is a test for diffutils.", "This is the second line."));
|
||||
|
||||
System.out.println("|original|new|");
|
||||
System.out.println("|--------|---|");
|
||||
for (DiffRow row : rows) {
|
||||
|
||||
@@ -361,8 +361,7 @@ public enum PassCode implements PassCode_ {
|
||||
ComponentsServerBackUp,
|
||||
TestingServerBackUp,
|
||||
CompareDVMRunTaskToEthalon,
|
||||
DropSapforConfigurationEthalon
|
||||
;
|
||||
DropSapforConfigurationEthalon;
|
||||
//--
|
||||
@Override
|
||||
public String getDescription() {
|
||||
|
||||
Reference in New Issue
Block a user