{
static final String RFAM_BASEURL_KEY = "RFAM_BASEURL";
- private static final String DEFAULT_RFAM_BASEURL = "https://rfam.xfam.org";
+ private static final String DEFAULT_RFAM_BASEURL = "https://rfam.org";
static
{
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "rfam.xfam.org/family/ABC/alignment/full?gzip=1&download=1";
+ String path = "rfam.org/family/ABC/alignment/full?gzip=1&download=1";
// with default value for domain
String url = new RfamFull().getURL(" abc ");
assertEquals(url, "https://" + path);
// with override in properties
- Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.xfam.org");
+ Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.org");
url = new RfamFull().getURL(" abc ");
assertEquals(url, "http://" + path);
}
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "rfam.xfam.org/family/ABC/alignment/stockholm?gzip=1&download=1";
+ String path = "rfam.org/family/ABC/alignment/stockholm?gzip=1&download=1";
// with default value for domain
String url = new RfamSeed().getURL(" abc ");
assertEquals(url, "https://" + path);
// with override in properties
- Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.xfam.org");
+ Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.org");
url = new RfamSeed().getURL(" abc ");
assertEquals(url, "http://" + path);
}