assertTrue("Gzipped data from '"+uri+"' identified as '"+type+"'",type.equalsIgnoreCase("FASTA"));
}
+ @Test
+ public void testGziplocalFileIO() throws IOException
+ {
+ String filepath;
+ FileParse fp = new FileParse(filepath=ALIGN_FILE.getAbsoluteFile().toString(), AppletFormatAdapter.FILE);
+ assertTrue("Couldn't resolve " + filepath + " as a valid file", fp.isValid());
+ String type = new IdentifyFile().Identify(fp);
+ assertTrue("Gzipped data from '" + filepath + "' identified as '" + type
+ + "'", type.equalsIgnoreCase("FASTA"));
+ }
}