From 02059a2675d81af6de5f8d54a7a1e4db94351365 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 27 Aug 2015 16:50:06 +0100 Subject: [PATCH] JAL-1270 comments added regarding required remote service --- test/jalview/ws/PDBSequenceFetcherTest.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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); } } -- 1.7.10.2