From 9d80ddcce63a122c459c84f547ceacb91824e15b Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 28 Jul 2020 11:18:56 +0100 Subject: [PATCH] JAL-3615 update tests for Rfam/Pfam specific gzip endpoints --- test/jalview/ws/dbsources/PfamFullTest.java | 2 +- test/jalview/ws/dbsources/PfamSeedTest.java | 2 +- test/jalview/ws/dbsources/RfamFullTest.java | 2 +- test/jalview/ws/dbsources/RfamSeedTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/jalview/ws/dbsources/PfamFullTest.java b/test/jalview/ws/dbsources/PfamFullTest.java index f5cc640..23cceb2 100644 --- 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() { - 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 "); diff --git a/test/jalview/ws/dbsources/PfamSeedTest.java b/test/jalview/ws/dbsources/PfamSeedTest.java index 355ef0c..451810b 100644 --- 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() { - 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 "); diff --git a/test/jalview/ws/dbsources/RfamFullTest.java b/test/jalview/ws/dbsources/RfamFullTest.java index 2d1497f..87b963f 100644 --- 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() { - 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 "); diff --git a/test/jalview/ws/dbsources/RfamSeedTest.java b/test/jalview/ws/dbsources/RfamSeedTest.java index 745ba2e..1165d1f 100644 --- 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() { - 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 "); -- 1.7.10.2