JAL-2046 ambiguous test for addSequenceFeature when dataset ref is present or absent
authorJim Procter <jprocter@issues.jalview.org>
Tue, 5 Apr 2016 17:35:25 +0000 (18:35 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 5 Apr 2016 17:45:37 +0000 (18:45 +0100)
test/jalview/datamodel/SequenceTest.java

index 0e9ab28..3165ec9 100644 (file)
@@ -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);