X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FPhylipFileTests.java;h=d6f28fad7be39cac58ed430f8f01b9aa44310335;hb=6dd554fdbf34db6b79595d5027159d20225f4894;hp=e411272607e4f26f19c9bdb422912e4a226105fc;hpb=43c78e88653d6b6d14920abf9fa23733ece55c1f;p=jalview.git diff --git a/test/jalview/io/PhylipFileTests.java b/test/jalview/io/PhylipFileTests.java index e411272..d6f28fa 100644 --- a/test/jalview/io/PhylipFileTests.java +++ b/test/jalview/io/PhylipFileTests.java @@ -2,7 +2,7 @@ package jalview.io; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; -import jalview.datamodel.Alignment; +import jalview.datamodel.AlignmentI; import jalview.datamodel.SequenceI; import java.io.IOException; @@ -105,7 +105,7 @@ public class PhylipFileTests private void testDataExtraction(String file) throws IOException { AppletFormatAdapter rf = new AppletFormatAdapter(); - Alignment al = rf.readFile(file, AppletFormatAdapter.FILE, + AlignmentI al = rf.readFile(file, AppletFormatAdapter.FILE, PhylipFile.FILE_DESC); assertNotNull("Couldn't read supplied alignment data.", al); @@ -150,13 +150,13 @@ public class PhylipFileTests public void testIO(String file) throws IOException { AppletFormatAdapter rf = new AppletFormatAdapter(); - Alignment al = rf.readFile(file, AppletFormatAdapter.FILE, + AlignmentI al = rf.readFile(file, AppletFormatAdapter.FILE, PhylipFile.FILE_DESC); assertNotNull("Couldn't read supplied alignment data.", al); String outputfile = rf.formatSequences(PhylipFile.FILE_DESC, al, true); - Alignment al_input = new AppletFormatAdapter().readFile(outputfile, + AlignmentI al_input = new AppletFormatAdapter().readFile(outputfile, AppletFormatAdapter.PASTE, PhylipFile.FILE_DESC); assertNotNull("Couldn't parse reimported alignment data.", al_input);