X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FTCoffeeScoreFileTest.java;h=6d11ebed96e5bb5db5605a29337769e3ad616b01;hb=80c223c45fde0899c9794e887801dd82fffd3452;hp=78de7bf40e7efe69d0c1a2105d834c399010c638;hpb=1a8f953dd71a9e319e910261927f269d69b4692c;p=jalview.git diff --git a/test/jalview/io/TCoffeeScoreFileTest.java b/test/jalview/io/TCoffeeScoreFileTest.java index 78de7bf..6d11ebe 100644 --- a/test/jalview/io/TCoffeeScoreFileTest.java +++ b/test/jalview/io/TCoffeeScoreFileTest.java @@ -42,7 +42,7 @@ public class TCoffeeScoreFileTest { final static File ALIGN_FILE = new File("test/jalview/io/tcoffee.fasta_aln"); @Test - public void testReadHeader() throws Exception { + public void testReadHeader() throws IOException { TCoffeeScoreFile scoreFile = new TCoffeeScoreFile(SCORE_FILE.getPath(),AppletFormatAdapter.FILE); assertTrue(scoreFile.getWarningMessage(),scoreFile.isValid()); @@ -64,7 +64,7 @@ public class TCoffeeScoreFileTest { @Test - public void testWrongFile() throws Exception { + public void testWrongFile() { try { TCoffeeScoreFile result = new TCoffeeScoreFile(ALIGN_FILE.getPath(), FormatAdapter.FILE); assertFalse(result.isValid()); @@ -76,7 +76,7 @@ public class TCoffeeScoreFileTest { } @Test - public void testHeightAndWidth() throws Exception { + public void testHeightAndWidth() throws IOException { TCoffeeScoreFile result = new TCoffeeScoreFile(SCORE_FILE.getPath(), FormatAdapter.FILE); assertTrue(result.isValid()); assertEquals( 8, result.getHeight() ); @@ -116,7 +116,7 @@ public class TCoffeeScoreFileTest { } @Test - public void testParse() throws Exception { + public void testParse() throws IOException { TCoffeeScoreFile parser = new TCoffeeScoreFile(SCORE_FILE.getPath(), FormatAdapter.FILE); @@ -133,7 +133,7 @@ public class TCoffeeScoreFileTest { @Test - public void testGetAsList() throws Exception { + public void testGetAsList() throws IOException { TCoffeeScoreFile parser = new TCoffeeScoreFile(SCORE_FILE.getPath(),FormatAdapter.FILE); assertTrue(parser.getWarningMessage(),parser.isValid()); @@ -152,7 +152,7 @@ public class TCoffeeScoreFileTest { @Test - public void testGetAsArray() throws Exception { + public void testGetAsArray() throws IOException { TCoffeeScoreFile parser = new TCoffeeScoreFile(SCORE_FILE.getPath(),FormatAdapter.FILE); assertTrue(parser.getWarningMessage(),parser.isValid());