From: Jim Procter Date: Tue, 26 Apr 2016 16:08:58 +0000 (+0100) Subject: JAL-2084 JAL-2079 removed RFAM(Full) from Xfam Network tests X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=41ba0423ce108be5d6fc86f534ac141cd20e2a7e;p=jalview.git JAL-2084 JAL-2079 removed RFAM(Full) from Xfam Network tests --- diff --git a/test/jalview/ws/dbsources/XfamFetcherTest.java b/test/jalview/ws/dbsources/XfamFetcherTest.java index ab625c4..e164267 100644 --- a/test/jalview/ws/dbsources/XfamFetcherTest.java +++ b/test/jalview/ws/dbsources/XfamFetcherTest.java @@ -28,24 +28,17 @@ import org.testng.annotations.Test; public class XfamFetcherTest { @Test(groups = { "network" }) - public void testRfamFullAndSeed() throws Exception + public void testRfamSeed() throws Exception { - RfamFull rff = new RfamFull(); - RfamSeed rfseed = new RfamSeed(); + // RfamFull rff = new RfamFull(); + RfamSeed rfs = new RfamSeed(); - AlignmentI fullrf = rff.getSequenceRecords(rff.getTestQuery()); - Assert.assertNotNull(fullrf, "Full Alignment for " + rff.getTestQuery() + AlignmentI seedrf = rfs.getSequenceRecords(rfs.getTestQuery()); + Assert.assertNotNull(seedrf, "Seed Alignment for " + rfs.getTestQuery() + " didn't retrieve."); - Assert.assertTrue(fullrf.getHeight() > 1, - "Full Alignment for " + rff.getTestQuery() - + " didn't have more than one sequence."); - AlignmentI seedrf = rfseed.getSequenceRecords(rff.getTestQuery()); - Assert.assertNotNull(seedrf, "Seed Alignment for " + rff.getTestQuery() - + " didn't retrieve."); - - Assert.assertTrue(seedrf.getHeight() < fullrf.getHeight(), - "Expected Full alignment to have more sequences than seed for " - + rff.getTestQuery()); + Assert.assertTrue(seedrf.getHeight() > 1, + "Seed Alignment for " + rfs.getTestQuery() + + " didn't contain more than one sequence."); } @Test(groups = { "network" })