JAL-2084 JAL-2079 removed RFAM(Full) from Xfam Network tests
authorJim Procter <jprocter@issues.jalview.org>
Tue, 26 Apr 2016 16:08:58 +0000 (17:08 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 26 Apr 2016 16:08:58 +0000 (17:08 +0100)
test/jalview/ws/dbsources/XfamFetcherTest.java

index ab625c4..e164267 100644 (file)
@@ -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" })