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:
5e6d487
)
JAL-3615 update tests for Rfam/Pfam specific gzip endpoints
author
Jim Procter
<jprocter@issues.jalview.org>
Tue, 28 Jul 2020 10:18:56 +0000
(11:18 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Tue, 28 Jul 2020 10:34:11 +0000
(11:34 +0100)
test/jalview/ws/dbsources/PfamFullTest.java
patch
|
blob
|
history
test/jalview/ws/dbsources/PfamSeedTest.java
patch
|
blob
|
history
test/jalview/ws/dbsources/RfamFullTest.java
patch
|
blob
|
history
test/jalview/ws/dbsources/RfamSeedTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/ws/dbsources/PfamFullTest.java
b/test/jalview/ws/dbsources/PfamFullTest.java
index
f5cc640
..
23cceb2
100644
(file)
--- a/
test/jalview/ws/dbsources/PfamFullTest.java
+++ b/
test/jalview/ws/dbsources/PfamFullTest.java
@@
-38,7
+38,7
@@
public class PfamFullTest
@Test(groups = "Functional")
public void testGetURL()
{
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "pfam.xfam.org/family/ABC/alignment/full";
+ String path = "pfam.xfam.org/family/ABC/alignment/full/gzipped";
// with default value for domain
String url = new PfamFull().getURL(" abc ");
// with default value for domain
String url = new PfamFull().getURL(" abc ");
diff --git
a/test/jalview/ws/dbsources/PfamSeedTest.java
b/test/jalview/ws/dbsources/PfamSeedTest.java
index
355ef0c
..
451810b
100644
(file)
--- a/
test/jalview/ws/dbsources/PfamSeedTest.java
+++ b/
test/jalview/ws/dbsources/PfamSeedTest.java
@@
-38,7
+38,7
@@
public class PfamSeedTest
@Test(groups = "Functional")
public void testGetURL()
{
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "pfam.xfam.org/family/ABC/alignment/seed";
+ String path = "pfam.xfam.org/family/ABC/alignment/seed/gzipped";
// with default value for domain
String url = new PfamSeed().getURL(" abc ");
// with default value for domain
String url = new PfamSeed().getURL(" abc ");
diff --git
a/test/jalview/ws/dbsources/RfamFullTest.java
b/test/jalview/ws/dbsources/RfamFullTest.java
index
2d1497f
..
87b963f
100644
(file)
--- a/
test/jalview/ws/dbsources/RfamFullTest.java
+++ b/
test/jalview/ws/dbsources/RfamFullTest.java
@@
-38,7
+38,7
@@
public class RfamFullTest
@Test(groups = "Functional")
public void testGetURL()
{
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "rfam.xfam.org/family/ABC/alignment/full";
+ String path = "rfam.xfam.org/family/ABC/alignment/full?gzip=1&download=1";
// with default value for domain
String url = new RfamFull().getURL(" abc ");
// with default value for domain
String url = new RfamFull().getURL(" abc ");
diff --git
a/test/jalview/ws/dbsources/RfamSeedTest.java
b/test/jalview/ws/dbsources/RfamSeedTest.java
index
745ba2e
..
1165d1f
100644
(file)
--- a/
test/jalview/ws/dbsources/RfamSeedTest.java
+++ b/
test/jalview/ws/dbsources/RfamSeedTest.java
@@
-38,7
+38,7
@@
public class RfamSeedTest
@Test(groups = "Functional")
public void testGetURL()
{
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "rfam.xfam.org/family/ABC/alignment/stockholm";
+ String path = "rfam.xfam.org/family/ABC/alignment/stockholm?gzip=1&download=1";
// with default value for domain
String url = new RfamSeed().getURL(" abc ");
// with default value for domain
String url = new RfamSeed().getURL(" abc ");