git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3468 unit tests updated for changes
[jalview.git]
/
test
/
jalview
/
gui
/
JvSwingUtilsTest.java
diff --git
a/test/jalview/gui/JvSwingUtilsTest.java
b/test/jalview/gui/JvSwingUtilsTest.java
index
5e65cc2
..
22d8a9d
100644
(file)
--- a/
test/jalview/gui/JvSwingUtilsTest.java
+++ b/
test/jalview/gui/JvSwingUtilsTest.java
@@
-113,7
+113,7
@@
public class JvSwingUtilsTest
public void testWrapTooltip_longText()
{
String tip = "Now is the winter of our discontent made glorious summer by this sun of York";
public void testWrapTooltip_longText()
{
String tip = "Now is the winter of our discontent made glorious summer by this sun of York";
- String expected = "<style> p.ttip {width: 350; text-align: justify; word-wrap: break-word;}</style><p class=\"ttip\">"
+ String expected = "<style> p.ttip {width: 350; text-align: left; word-wrap: break-word;}</style><p class=\"ttip\">"
+ tip + "</p>";
assertEquals("<html>" + expected + "</html>",
JvSwingUtils.wrapTooltip(true, tip));
+ tip + "</p>";
assertEquals("<html>" + expected + "</html>",
JvSwingUtils.wrapTooltip(true, tip));