From: gmungoc Date: Tue, 24 Oct 2017 08:31:38 +0000 (+0100) Subject: JAL-2787 set start/end seq explicitly for test X-Git-Tag: Release_2_10_3b1~89 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=271fbb166b9396fdfc3cd164c0bca35649f2c2ff;p=jalview.git JAL-2787 set start/end seq explicitly for test --- diff --git a/test/jalview/gui/SeqCanvasTest.java b/test/jalview/gui/SeqCanvasTest.java index 5c6fa5d..a27bc3f 100644 --- a/test/jalview/gui/SeqCanvasTest.java +++ b/test/jalview/gui/SeqCanvasTest.java @@ -32,6 +32,7 @@ public class SeqCanvasTest assertEquals(al.getHeight(), 15); av.setWrapAlignment(true); + av.getRanges().setStartEndSeq(0, 14); av.setFont(new Font("SansSerif", Font.PLAIN, 14), true); int charHeight = av.getCharHeight(); int charWidth = av.getCharWidth(); @@ -201,6 +202,7 @@ public class SeqCanvasTest assertEquals(al.getHeight(), 15); av.setWrapAlignment(true); + av.getRanges().setStartEndSeq(0, 14); av.setFont(new Font("SansSerif", Font.PLAIN, 14), true); int charHeight = av.getCharHeight(); int charWidth = av.getCharWidth();