git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7c673
)
JAL-2787 set start/end seq explicitly for test
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 24 Oct 2017 08:31:38 +0000
(09:31 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 24 Oct 2017 08:31:38 +0000
(09:31 +0100)
test/jalview/gui/SeqCanvasTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/gui/SeqCanvasTest.java
b/test/jalview/gui/SeqCanvasTest.java
index
5c6fa5d
..
a27bc3f
100644
(file)
--- 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();