From c38b6f82f1dc36d50fe329571eeb9d79e356e413 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 4 Apr 2016 17:02:43 +0100 Subject: [PATCH] JAL-2046 basic test to make sure any derived sequence has a null sequence feature array --- test/jalview/datamodel/SequenceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 1.7.10.2