1 package jalview.ext.ensembl;
3 import jalview.datamodel.AlignmentI;
5 import java.net.MalformedURLException;
9 import org.testng.annotations.Test;
11 public class EnsemblRestClientTest
14 @Test(suiteName = "live")
15 public void testIsEnsemblAvailable()
17 EnsemblRestClient sf = new EnsemblRestClient()
21 public String getDbName()
27 public AlignmentI getSequenceRecords(String queries) throws Exception
33 protected URL getUrl(List<String> ids) throws MalformedURLException
39 protected boolean useGetRequest()
45 protected String getRequestMimeType(boolean b)
51 protected String getResponseMimeType()
57 boolean isAvailable = sf.isEnsemblAvailable();
60 System.out.println("Ensembl is UP!");
65 .println("Ensembl is DOWN or unreachable ******************* BAD!");