From da7ad3867f0150777b8c184243d43b83bf81bac6 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 5 Apr 2016 18:35:25 +0100 Subject: [PATCH] JAL-2046 ambiguous test for addSequenceFeature when dataset ref is present or absent --- test/jalview/datamodel/SequenceTest.java | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 1.7.10.2