From dedd44136e37982fc2c713ae229b5a97a9b0b639 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 22 Aug 2016 11:40:46 +0100 Subject: [PATCH] JAL-2154 test that verifyAlignment fails for duplicate entries for same SequenceI instance on alignment --- test/jalview/datamodel/AlignmentTest.java | 3 +++ 1 file changed, 3 insertions(+) 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"); } /* -- 1.7.10.2