X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws2%2Factions%2Fannotation%2FAnnotationJobTest.java;h=183d6f34b9e2c4cb567a0117f5e8c6400a3fcae9;hb=5a48101c1958df5d0f655a7044afd506df4e040f;hp=4e3767fad13def7a235539c1c79e28ccea2ce660;hpb=54844a3baecd8bd04d948897180e2bfc1a293e91;p=jalview.git diff --git a/test/jalview/ws2/actions/annotation/AnnotationJobTest.java b/test/jalview/ws2/actions/annotation/AnnotationJobTest.java index 4e3767f..183d6f3 100644 --- a/test/jalview/ws2/actions/annotation/AnnotationJobTest.java +++ b/test/jalview/ws2/actions/annotation/AnnotationJobTest.java @@ -172,7 +172,7 @@ public class AnnotationJobTest } @Test(groups = { "Functional"} ) - public void testCreate_ContainsNonStandardAndNoFilterNonStandard_NonStandardToGap() + public void testCreate_ContainsNonStandardAndNoFilterNonStandard_NonStandardRemain() { var alignment = new Alignment(new Sequence[] { new Sequence("test1", "ACACAOACACAC"), @@ -180,6 +180,20 @@ public class AnnotationJobTest }); var annotJob = AnnotationJob.create(alignment, true, true, true, false, 0); assertThat(annotJob.getInputSequences(), contains( + matchesSequenceString("ACACAOACACAC"), + matchesSequenceString("ABAVAVAVABAV") + )); + } + + @Test(groups = { "Functional"} ) + public void testCreate_ContainsNonStandardAndFilterNonStandard_NonStandardToGap() + { + var alignment = new Alignment(new Sequence[] { + new Sequence("test1", "ACACAOACACAC"), + new Sequence("test2", "ABAVAVAVABAV") + }); + var annotJob = AnnotationJob.create(alignment, true, true, true, true, 0); + assertThat(annotJob.getInputSequences(), contains( matchesSequenceString("ACACA-ACACAC"), matchesSequenceString("A-AVAVAVA-AV") ));