X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FAlignmentPanelTest.java;fp=test%2Fjalview%2Fgui%2FAlignmentPanelTest.java;h=3c749fd4073163c9459481d4828a19fe3fbf7ba8;hb=c0501eaa85c0594f9275766f64de8ea44a59c368;hp=3d06bc81e93a3b90af1249911cf5feac8bfbd58a;hpb=304e64fb34b32659be1bbfd39fb4e15b2f79586e;p=jalview.git diff --git a/test/jalview/gui/AlignmentPanelTest.java b/test/jalview/gui/AlignmentPanelTest.java index 3d06bc8..3c749fd 100644 --- a/test/jalview/gui/AlignmentPanelTest.java +++ b/test/jalview/gui/AlignmentPanelTest.java @@ -62,11 +62,14 @@ public class AlignmentPanelTest /* * ensure the panel has been repainted and so ViewportRanges set */ - SwingUtilities.invokeAndWait(new Runnable() { - @Override - public void run() { - af.repaint(); - }}); + SwingUtilities.invokeAndWait(new Runnable() + { + @Override + public void run() + { + af.repaint(); + } + }); /* * wait for Consensus thread to complete @@ -100,6 +103,7 @@ public class AlignmentPanelTest assertEquals(ranges.getEndRes(), oldres); af.alignPanel.setScrollValues(0, 5); + // no update necessary now // setting 0 as x value does not change residue // no update necessary now @@ -113,7 +117,6 @@ public class AlignmentPanelTest // scroll to position after hidden columns sets endres to oldres (width) + // position - int scrollpos = 53; // was 60, but this is too high to allow full scrolling // in Windows af.getViewport().hideColumns(30, 50);