From 271fbb166b9396fdfc3cd164c0bca35649f2c2ff Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 24 Oct 2017 09:31:38 +0100 Subject: [PATCH] JAL-2787 set start/end seq explicitly for test --- test/jalview/gui/SeqCanvasTest.java | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 1.7.10.2