JAL-1199 added test for Rfam Stockholm file example
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 6 Feb 2013 16:41:01 +0000 (16:41 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 6 Feb 2013 16:41:01 +0000 (16:41 +0000)
test/jalview/io/StockholmFileTest.java

index cac1a88..86ab0b2 100644 (file)
@@ -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)
   {