X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws%2Fdbsources%2FPfamFullTest.java;fp=test%2Fjalview%2Fws%2Fdbsources%2FPfamFullTest.java;h=fd59ef3edd23c5496509fa3a33b89d4d1d36e849;hb=7bf12085343eb53718fc159b281823243f2c9f9b;hp=eb2f147a63f3a0eb5eb82a77f3724b3980456b8e;hpb=1b6b4bfcc09a0e7df35184ce830c178002dda6bc;p=jalview.git diff --git a/test/jalview/ws/dbsources/PfamFullTest.java b/test/jalview/ws/dbsources/PfamFullTest.java index eb2f147..fd59ef3 100644 --- a/test/jalview/ws/dbsources/PfamFullTest.java +++ b/test/jalview/ws/dbsources/PfamFullTest.java @@ -22,11 +22,11 @@ package jalview.ws.dbsources; 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) @@ -38,14 +38,15 @@ public class PfamFullTest @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); }