From: jprocter Date: Wed, 6 Feb 2013 16:41:01 +0000 (+0000) Subject: JAL-1199 added test for Rfam Stockholm file example X-Git-Tag: Release_2_8_0b1~1^2~68^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a3ada1606e51721c83f4b271539bf8d443443ff5;p=jalview.git JAL-1199 added test for Rfam Stockholm file example --- diff --git a/test/jalview/io/StockholmFileTest.java b/test/jalview/io/StockholmFileTest.java index cac1a88..86ab0b2 100644 --- a/test/jalview/io/StockholmFileTest.java +++ b/test/jalview/io/StockholmFileTest.java @@ -26,7 +26,7 @@ public class StockholmFileTest x.printStackTrace(); } } - static String PfamFile = "examples/PF00111_seed.stk"; + static String PfamFile = "examples/PF00111_seed.stk", RfamFile="examples/RF00031_folded.stk"; @Test public void pfamFileIO() throws Exception @@ -44,6 +44,11 @@ public class StockholmFileTest } assertTrue("PF00111 seed alignment has at least 1 PDB file, but the reader found none.",numpdb>0); } + @Test + public void rfamFileIO() throws Exception + { + test(new File(RfamFile)); + } private void test(File f) {