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
Merge branch 'develop' into update_212_Dec_merge_with_21125_chamges
[jalview.git]
/
test
/
jalview
/
datamodel
/
AlignmentAnnotationTests.java
diff --git
a/test/jalview/datamodel/AlignmentAnnotationTests.java
b/test/jalview/datamodel/AlignmentAnnotationTests.java
index
2f46eca
..
f9e99d0
100644
(file)
--- a/
test/jalview/datamodel/AlignmentAnnotationTests.java
+++ b/
test/jalview/datamodel/AlignmentAnnotationTests.java
@@
-49,6
+49,11
@@
public class AlignmentAnnotationTests
createAnnotation(sq);
AlignmentAnnotation alc, alo = sq.getAnnotation()[0];
alc = new AlignmentAnnotation(alo);
createAnnotation(sq);
AlignmentAnnotation alc, alo = sq.getAnnotation()[0];
alc = new AlignmentAnnotation(alo);
+
+ // TODO: this only tests string equals (which is unreliable), should use
+ // refactored tests from StockholmFileTest
+ Assert.assertEquals(alc.toString(), alo.toString());
+
for (String key : alo.getProperties())
{
assertEquals("Property mismatch", alo.getProperty(key),
for (String key : alo.getProperties())
{
assertEquals("Property mismatch", alo.getProperty(key),