X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FFileIOTester.java;h=349606cd6e448db51d83e578d23597d06fd96133;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=2404ea901aa2a1956a7a286f189e9ce696c754e1;hpb=28fda83cbef0c9c82cd09a343af4e1721085c104;p=jalview.git diff --git a/test/jalview/io/FileIOTester.java b/test/jalview/io/FileIOTester.java index 2404ea9..349606c 100644 --- a/test/jalview/io/FileIOTester.java +++ b/test/jalview/io/FileIOTester.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) - * Copyright (C) $$Year-Rel$$ The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * @@ -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()); + 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;