From: Jim Procter Date: Mon, 22 Aug 2016 10:40:46 +0000 (+0100) Subject: JAL-2154 test that verifyAlignment fails for duplicate entries for same SequenceI... X-Git-Tag: Release_2_10_0~47^2~4^2~43^2~27 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=dedd44136e37982fc2c713ae229b5a97a9b0b639;p=jalview.git JAL-2154 test that verifyAlignment fails for duplicate entries for same SequenceI instance on alignment --- diff --git a/test/jalview/datamodel/AlignmentTest.java b/test/jalview/datamodel/AlignmentTest.java index 003f2aa..915d860 100644 --- a/test/jalview/datamodel/AlignmentTest.java +++ b/test/jalview/datamodel/AlignmentTest.java @@ -397,6 +397,9 @@ public class AlignmentTest al, true, "verify should have passed once all sequences involved in alCodonFrame were added to dataset"); + al.getDataset().addSequence(sqanotherout); + assertVerifyAlignment(al, false, + "verify should have failed when a sequence was added twice to the dataset"); } /*