JAL-1713 update from Jalview 2.11.3 develop
[jalview.git] / test / jalview / io / FileIOTester.java
index e37ae3f..48aae6b 100644 (file)
@@ -36,7 +36,7 @@ import org.testng.annotations.AfterClass;
 import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 
-import jalview.bin.Cache;
+import jalview.bin.Console;
 import jalview.gui.JvOptionPane;
 
 /**
@@ -59,7 +59,7 @@ public class FileIOTester
   @BeforeClass(alwaysRun = true)
   public static void setUpBeforeClass() throws Exception
   {
-    Cache.initLogger();
+    Console.initLogger();
   }
 
   /**
@@ -138,23 +138,23 @@ public class FileIOTester
   public void testIsGzipInputStream() throws IOException
   {
     InputStream is = new FileInputStream(ALIGN_FILE);
-    
+
     /*
      * first try fails - FileInputStream does not support mark/reset
      */
     assertFalse(FileParse.isGzipStream(is));
-    
+
     /*
      * wrap in a BufferedInputStream and try again
      */
     is = new BufferedInputStream(is, 16);
     assertTrue(FileParse.isGzipStream(is));
-    
+
     /*
      * check recognition of non-gzipped input
      */
     assertFalse(FileParse.isGzipStream(new BufferedInputStream(
-            new ByteArrayInputStream("NOT A GZIP".getBytes()))));    
+            new ByteArrayInputStream("NOT A GZIP".getBytes()))));
   }
 
   @Test(groups = { "Functional" })