From e88567692c9f1f3adfb9764a802474e83ff4c69f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 20 Oct 2020 17:23:30 +0100 Subject: [PATCH] JAL-3765 fix test --- test/jalview/analysis/FinderTest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/jalview/analysis/FinderTest.java b/test/jalview/analysis/FinderTest.java index 95e6c0d..1f45f70 100644 --- a/test/jalview/analysis/FinderTest.java +++ b/test/jalview/analysis/FinderTest.java @@ -123,6 +123,19 @@ public class FinderTest assertEquals(matches.get(1).getEnd(), 6); } + @Test(groups = "Functional") + public void testFind_findAll() + { + /* + * simple JAL-3765 test + * single symbol should find *all* matching symbols + */ + Finder f = new Finder(av); + f.findAll("M", false,false,false); + SearchResultsI sr = f.getSearchResults(); + assertEquals(sr.getCount(),5); + + } /** * Test for (undocumented) find residue by position */ -- 1.7.10.2