JAL-3765 simple test that findAll finds all matches for a pattern when it is present...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 19 Oct 2020 17:07:29 +0000 (18:07 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 19 Oct 2020 17:07:29 +0000 (18:07 +0100)
test/jalview/analysis/FinderTest.java

index 95e6c0d..764c56f 100644 (file)
@@ -82,6 +82,16 @@ public class FinderTest
             DataSourceType.PASTE);
     av = af.getViewport();
     al = av.getAlignment();
+    
+    // JAL-3765 bug test data
+    String longSeqData = 
+            ">O80429_MAIZE/2-140 Ferredoxin\n" + 
+            "AAT---------ALSMSILR---APPPCFSSPLRLRV--AVAKPLA-APMRRQLLRAQATYNVKLITPEGEV\n" + 
+            "ELQVPDDVYILDFAEEEGIDLPFSCRAGSCSSCAGKVVSGSVDQSDQSFLNDNQVADGWVLTCAAYPTSDVV\n" + 
+            "IETHKEDDLL--\n" ;
+    af_oneseq=new FileLoader().LoadFileWaitTillLoaded(longSeqData, DataSourceType.PASTE);
+    av_oneseq = af_oneseq.getViewport();
+    al_oneseq = av_oneseq.getAlignment();
   }
 
   @AfterMethod(alwaysRun = true)