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-4134 efficiency improvement
[jalview.git]
/
test
/
jalview
/
util
/
MappingUtilsTest.java
diff --git
a/test/jalview/util/MappingUtilsTest.java
b/test/jalview/util/MappingUtilsTest.java
index
1fdfb16
..
8cb1208
100644
(file)
--- a/
test/jalview/util/MappingUtilsTest.java
+++ b/
test/jalview/util/MappingUtilsTest.java
@@
-37,18
+37,8
@@
import java.util.List;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import java.awt.Color;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
-import java.util.List;
-
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-
import jalview.api.AlignViewportI;
import jalview.api.AlignViewportI;
-import jalview.bin.Cache;
+import jalview.bin.Console;
import jalview.commands.EditCommand;
import jalview.commands.EditCommand.Action;
import jalview.commands.EditCommand.Edit;
import jalview.commands.EditCommand;
import jalview.commands.EditCommand.Action;
import jalview.commands.EditCommand.Edit;
@@
-74,7
+64,7
@@
public class MappingUtilsTest
@BeforeClass(alwaysRun = true)
public void setUp()
{
@BeforeClass(alwaysRun = true)
public void setUp()
{
- Cache.initLogger();
+ Console.initLogger();
}
@BeforeClass(alwaysRun = true)
}
@BeforeClass(alwaysRun = true)
@@
-1357,12
+1347,14
@@
public class MappingUtilsTest
overlap = MappingUtils.findOverlap(ranges, 13, 15);
assertNull(overlap);
}
overlap = MappingUtils.findOverlap(ranges, 13, 15);
assertNull(overlap);
}
-
+
/**
* Test mapping a sequence group where sequences in and outside the group
* share a dataset sequence (e.g. alternative CDS for the same gene)
* <p>
/**
* Test mapping a sequence group where sequences in and outside the group
* share a dataset sequence (e.g. alternative CDS for the same gene)
* <p>
- * This scenario doesn't arise after JAL-3763 changes, but test left as still valid
+ * This scenario doesn't arise after JAL-3763 changes, but test left as still
+ * valid
+ *
* @throws IOException
*/
@Test(groups = { "Functional" })
* @throws IOException
*/
@Test(groups = { "Functional" })