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
Merge branch 'feature/JAL-3181linkOrdering' into develop
[jalview.git]
/
test
/
jalview
/
util
/
UrlLinkTest.java
diff --git
a/test/jalview/util/UrlLinkTest.java
b/test/jalview/util/UrlLinkTest.java
index
81fe3d2
..
c7d37b0
100644
(file)
--- a/
test/jalview/util/UrlLinkTest.java
+++ b/
test/jalview/util/UrlLinkTest.java
@@
-450,11
+450,9
@@
public class UrlLinkTest
/*
* SEQUENCE_ID templates should come before DB_ACCESSION templates
/*
* SEQUENCE_ID templates should come before DB_ACCESSION templates
- * (note we are 'pretending' EMBL-EBI is a DB link so the test shows that
- * these are not ordered by link name)
*/
*/
- String seqIdUrl = "Ensembl|https://www.ensembl.org/Multi/Search/Results?q=$SEQUENCE_ID$";
- String dbRefUrl = "EBI|https://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$DB_ACCESSION$";
+ String dbRefUrl = "Cath|http://www.cathdb.info/version/v4_2_0/superfamily/$DB_ACCESSION$";
+ String seqIdUrl = "EBI|https://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$";
assertTrue(c.compare(seqIdUrl, dbRefUrl) < 0);
assertTrue(c.compare(dbRefUrl, seqIdUrl) > 0);
assertTrue(c.compare(seqIdUrl, dbRefUrl) < 0);
assertTrue(c.compare(dbRefUrl, seqIdUrl) > 0);