From 41ba0423ce108be5d6fc86f534ac141cd20e2a7e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 26 Apr 2016 17:08:58 +0100 Subject: [PATCH] JAL-2084 JAL-2079 removed RFAM(Full) from Xfam Network tests --- test/jalview/ws/dbsources/XfamFetcherTest.java | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) 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" }) -- 1.7.10.2