X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FFileIOTester.java;h=2eb370395780c356fb831644ac34bf2c839fc9b6;hb=37de9310bec3501cbc6381e0c3dcb282fcaad812;hp=0d66b215e0db14f1d0974dcdd69ea02359404b0e;hpb=ab22918ab8fc67d30dad1fb1ae0f37e51f49df95;p=jalview.git diff --git a/test/jalview/io/FileIOTester.java b/test/jalview/io/FileIOTester.java index 0d66b21..2eb3703 100644 --- a/test/jalview/io/FileIOTester.java +++ b/test/jalview/io/FileIOTester.java @@ -38,7 +38,7 @@ public class FileIOTester /** * @throws java.lang.Exception */ - @BeforeClass + @BeforeClass(alwaysRun = true) public static void setUpBeforeClass() throws Exception { } @@ -46,7 +46,7 @@ public class FileIOTester /** * @throws java.lang.Exception */ - @AfterClass + @AfterClass(alwaysRun = true) public static void tearDownAfterClass() throws Exception { } @@ -67,13 +67,14 @@ public class FileIOTester private void assertValidFormat(String fmt, String src, FileParse fp) { - AssertJUnit.assertTrue("Couldn't resolve " + src + " as a valid file", fp.isValid()); - String type = new IdentifyFile().Identify(fp); + AssertJUnit.assertTrue("Couldn't resolve " + src + " as a valid file", + fp.isValid()); + String type = new IdentifyFile().identify(fp); AssertJUnit.assertTrue("Data from '" + src + "' Expected to be '" + fmt + "' identified as '" + type + "'", type.equalsIgnoreCase(fmt)); } - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testStarsInFasta1() throws IOException { String uri; @@ -82,7 +83,7 @@ public class FileIOTester assertValidFormat("FASTA", uri, fp); } - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testStarsInFasta2() throws IOException { String uri; @@ -91,7 +92,7 @@ public class FileIOTester assertValidFormat("FASTA", uri, fp); } - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testGzipIo() throws IOException { String uri; @@ -100,7 +101,7 @@ public class FileIOTester assertValidFormat("FASTA", uri, fp); } - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testGziplocalFileIO() throws IOException { String filepath; @@ -109,7 +110,7 @@ public class FileIOTester assertValidFormat("FASTA", filepath, fp); } - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testNonGzipURLIO() throws IOException { String uri; @@ -118,7 +119,7 @@ public class FileIOTester assertValidFormat("FASTA", uri, fp); } - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testNonGziplocalFileIO() throws IOException { String filepath;