From b0124627854075b1351b68446831807b6bf7ea9f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 30 Aug 2016 14:44:49 +0100 Subject: [PATCH] JAL-2154 javadoc, fix underloaded version of assertDatasetIsNormalised --- test/jalview/datamodel/AlignmentTest.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/test/jalview/datamodel/AlignmentTest.java b/test/jalview/datamodel/AlignmentTest.java index 5568c8c..7ad9436 100644 --- a/test/jalview/datamodel/AlignmentTest.java +++ b/test/jalview/datamodel/AlignmentTest.java @@ -431,8 +431,18 @@ public class AlignmentTest public static void assertDatasetIsNormalised(AlignmentI al) { - assertAlignmentDatasetRefs(al, null); + assertDatasetIsNormalised(al, null); } + + /** + * checks that the sequence data for an alignment's dataset is non-redundant. + * Fails if there are sequences with same id, sequence, start, and. + * + * @param al + * - alignment to verify + * @param message + * - null or message prepended to exception message. + */ public static void assertDatasetIsNormalised(AlignmentI al, String message) { if (al.getDataset()!=null) -- 1.7.10.2