From: Jim Procter Date: Tue, 5 Apr 2016 17:35:25 +0000 (+0100) Subject: JAL-2046 ambiguous test for addSequenceFeature when dataset ref is present or absent X-Git-Tag: Release_2_10_0~249^2~31^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=da7ad3867f0150777b8c184243d43b83bf81bac6;p=jalview.git JAL-2046 ambiguous test for addSequenceFeature when dataset ref is present or absent --- diff --git a/test/jalview/datamodel/SequenceTest.java b/test/jalview/datamodel/SequenceTest.java index 0e9ab28..3165ec9 100644 --- a/test/jalview/datamodel/SequenceTest.java +++ b/test/jalview/datamodel/SequenceTest.java @@ -310,9 +310,13 @@ public class SequenceTest assertEquals(1, sfs.length); assertSame(sf, sfs[0]); + /* * SequenceFeature on sequence and dataset sequence; returns that on * sequence + * + * Note JAL-2046: spurious: we have no use case for this at the moment. + * This test also buggy - as sf2.equals(sf), no new feature is added */ SequenceFeature sf2 = new SequenceFeature(); sq.getDatasetSequence().addSequenceFeature(sf2);