X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fdatamodel%2FAlignmentAnnotationTests.java;h=f9e99d0733e22fb2f53ae54c0d733deb7cc76230;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=2f46ecab0eda38bc336103e60dd62371e08884c9;hpb=04c8f7bff663aa469127e9eed4164e02933782f1;p=jalview.git diff --git a/test/jalview/datamodel/AlignmentAnnotationTests.java b/test/jalview/datamodel/AlignmentAnnotationTests.java index 2f46eca..f9e99d0 100644 --- 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); + + // 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),