JAL-2388 unit test initialisation fix for running full suite
authorkiramt <k.mourao@dundee.ac.uk>
Thu, 23 Mar 2017 20:39:51 +0000 (20:39 +0000)
committerkiramt <k.mourao@dundee.ac.uk>
Thu, 23 Mar 2017 20:39:51 +0000 (20:39 +0000)
test/jalview/gui/AlignmentPanelTest.java

index c580a88..b228ba1 100644 (file)
@@ -166,6 +166,7 @@ public class AlignmentPanelTest
   public void TestSetScrollValues()
   {
     ViewportRanges ranges = af.getViewport().getRanges();
+    af.alignPanel.setScrollValues(0, 0);
 
     int oldres = ranges.getEndRes();
     af.alignPanel.setScrollValues(-1, 5);