import static org.testng.Assert.assertEquals;
-import jalview.bin.Cache;
-
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
+import jalview.bin.Cache;
+
public class PfamFullTest
{
@BeforeClass(alwaysRun = true)
@Test(groups = "Functional")
public void testGetURL()
{
- String path = "www.ebi.ac.uk/interpro/wwwapi/entry/pfam/ABC/?annotation=alignment:full&download";
+ String path = "www.ebi.ac.uk/interpro/wwwapi/entry/pfam/ABC/?annotation=alignment:full&download";
// with default value for domain
String url = new PfamFull().getURL(" abc ");
assertEquals(url, "https://" + path);
// with override in properties
- Cache.setProperty(Pfam.PFAM_BASEURL_KEY, "http://www.ebi.ac.uk/interpro/wwwapi/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$&download");
+ Cache.setProperty(Pfam.PFAM_BASEURL_KEY,
+ "http://www.ebi.ac.uk/interpro/wwwapi/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$&download");
url = new PfamFull().getURL(" abc ");
assertEquals(url, "http://" + path);
}