JAL-2046 basic test to make sure any derived sequence has a null sequence feature...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 4 Apr 2016 16:02:43 +0000 (17:02 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 4 Apr 2016 16:02:43 +0000 (17:02 +0100)
test/jalview/datamodel/SequenceTest.java

index 95755ee..b8a4b3a 100644 (file)
@@ -395,9 +395,9 @@ public class SequenceTest
     assertSame(sq.getDatasetSequence(), derived.getDatasetSequence());
 
     assertNull(sq.sequenceFeatures);
-    // assertNull(derived.sequenceFeatures);
+    assertNull(derived.sequenceFeatures);
+    // derived sequence should access dataset sequence features
     assertNotNull(sq.getSequenceFeatures());
-    // derived sequence has a copy of the sequence features (is this right?)
     assertArrayEquals(sq.getSequenceFeatures(),
             derived.getSequenceFeatures());
   }