git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4235 JAL-3599 Try and report Eclipse Product Version for jalviewjsTranspile....
[jalview.git]
/
test
/
jalview
/
analysis
/
AlignmentAnnotationUtilsTest.java
diff --git
a/test/jalview/analysis/AlignmentAnnotationUtilsTest.java
b/test/jalview/analysis/AlignmentAnnotationUtilsTest.java
index
610a60a
..
cdb950e
100644
(file)
--- a/
test/jalview/analysis/AlignmentAnnotationUtilsTest.java
+++ b/
test/jalview/analysis/AlignmentAnnotationUtilsTest.java
@@
-29,7
+29,8
@@
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Annotation;
import jalview.datamodel.SequenceI;
import jalview.gui.JvOptionPane;
import jalview.datamodel.Annotation;
import jalview.datamodel.SequenceI;
import jalview.gui.JvOptionPane;
-import jalview.io.AppletFormatAdapter;
+import jalview.io.DataSourceType;
+import jalview.io.FileFormat;
import java.io.IOException;
import java.util.ArrayList;
import java.io.IOException;
import java.util.ArrayList;
@@
-152,7
+153,7
@@
public class AlignmentAnnotationUtilsTest
public void setUp() throws IOException
{
alignment = new jalview.io.FormatAdapter().readFile(TEST_DATA,
public void setUp() throws IOException
{
alignment = new jalview.io.FormatAdapter().readFile(TEST_DATA,
- AppletFormatAdapter.PASTE, "FASTA");
+ DataSourceType.PASTE, FileFormat.Fasta);
AlignmentAnnotation[] anns = new AlignmentAnnotation[SEQ_ANN_COUNT];
for (int i = 0; i < anns.length; i++)
AlignmentAnnotation[] anns = new AlignmentAnnotation[SEQ_ANN_COUNT];
for (int i = 0; i < anns.length; i++)
@@
-408,9
+409,8
@@
public class AlignmentAnnotationUtilsTest
anns[4].graphGroup = -1;
anns[4].visible = true;
anns[4].graphGroup = -1;
anns[4].visible = true;
- BitSet result = AlignmentAnnotationUtils
- .getVisibleLineGraphGroups(AlignmentAnnotationUtils
- .asList(anns));
+ BitSet result = AlignmentAnnotationUtils.getVisibleLineGraphGroups(
+ AlignmentAnnotationUtils.asList(anns));
assertTrue(result.get(5));
assertFalse(result.get(0));
assertFalse(result.get(1));
assertTrue(result.get(5));
assertFalse(result.get(0));
assertFalse(result.get(1));