git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c14d22
)
JAL-2281 test added to show searchRefs is now not case sensitive
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 3 Nov 2016 09:24:58 +0000
(09:24 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 3 Nov 2016 09:24:58 +0000
(09:24 +0000)
test/jalview/util/DBRefUtilsTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/util/DBRefUtilsTest.java
b/test/jalview/util/DBRefUtilsTest.java
index
0431cf6
..
1c68a71
100644
(file)
--- a/
test/jalview/util/DBRefUtilsTest.java
+++ b/
test/jalview/util/DBRefUtilsTest.java
@@
-77,6
+77,13
@@
public class DBRefUtilsTest
sources = new String[] { "EMBLCDS" };
selected = DBRefUtils.selectRefs(dbrefs, sources);
assertNull(selected);
+
+ sources = new String[] { "embl", "uniprot" };
+ selected = DBRefUtils.selectRefs(dbrefs, sources);
+ assertEquals(3, selected.length);
+ assertSame(ref1, selected[0]);
+ assertSame(ref2, selected[1]);
+ assertSame(ref3, selected[2]);
}
/**