From a3ada1606e51721c83f4b271539bf8d443443ff5 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 6 Feb 2013 16:41:01 +0000 Subject: [PATCH] JAL-1199 added test for Rfam Stockholm file example --- test/jalview/io/StockholmFileTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) { -- 1.7.10.2