From: gmungoc Date: Thu, 27 Aug 2015 15:50:06 +0000 (+0100) Subject: JAL-1270 comments added regarding required remote service X-Git-Tag: Jalview_2_9~10^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=02059a2675d81af6de5f8d54a7a1e4db94351365;p=jalview.git JAL-1270 comments added regarding required remote service --- diff --git a/test/jalview/ws/PDBSequenceFetcherTest.java b/test/jalview/ws/PDBSequenceFetcherTest.java index 86439fc..adf53f5 100644 --- a/test/jalview/ws/PDBSequenceFetcherTest.java +++ b/test/jalview/ws/PDBSequenceFetcherTest.java @@ -49,6 +49,14 @@ public class PDBSequenceFetcherTest sf = new SequenceFetcher(false); } + /** + * Test that RNA structure can be added by a call to the RNAML service. + * + * Note this test depends on http://arn-ibmc.in2p3.fr/api/compute/2d which is + * not always reliable. + * + * @throws Exception + */ @Test(groups = { "Network" }, enabled = true) public void testRnaSeqRetrieve() throws Exception @@ -62,7 +70,9 @@ public class PDBSequenceFetcherTest assertTrue("No annotation transfered to sequence.", sq.getAnnotation().length > 0); assertTrue("No PDBEntry on sequence.", sq.getAllPDBEntries().size() > 0); - assertTrue("No RNA annotation on sequence.", sq.getRNA() != null); + assertTrue( + "No RNA annotation on sequence, possibly http://arn-ibmc.in2p3.fr/api/compute/2d not available?", + sq.getRNA() != null); } }