From: Jim Procter Date: Mon, 4 Apr 2016 16:02:43 +0000 (+0100) Subject: JAL-2046 basic test to make sure any derived sequence has a null sequence feature... X-Git-Tag: Release_2_10_0~249^2~31^2~13 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c38b6f82f1dc36d50fe329571eeb9d79e356e413;p=jalview.git JAL-2046 basic test to make sure any derived sequence has a null sequence feature array --- diff --git a/test/jalview/datamodel/SequenceTest.java b/test/jalview/datamodel/SequenceTest.java index 95755ee..b8a4b3a 100644 --- a/test/jalview/datamodel/SequenceTest.java +++ b/test/jalview/datamodel/SequenceTest.java @@ -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()); }