JAL-2311 disable and relocate Jared service tests to Network (prior to their removal)
authorJim Procter <jprocter@issues.jalview.org>
Mon, 15 May 2017 16:37:17 +0000 (17:37 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 15 May 2017 16:37:17 +0000 (17:37 +0100)
test/jalview/ws/jabaws/JpredJabaStructExportImport.java

index 8326687..dc157e2 100644 (file)
@@ -49,6 +49,7 @@ import javax.swing.JMenuItem;
 import org.testng.Assert;
 import org.testng.annotations.AfterClass;
 import org.testng.annotations.BeforeClass;
+import org.testng.annotations.BeforeGroups;
 import org.testng.annotations.Test;
 
 import compbio.metadata.Argument;
@@ -74,7 +75,7 @@ public class JpredJabaStructExportImport
 
   public static jalview.gui.AlignFrame af = null;
 
-  @BeforeClass(alwaysRun = true)
+  @BeforeGroups(groups = { "Network" })
   public static void setUpBeforeClass() throws Exception
   {
     Cache.loadProperties("test/jalview/io/testProps.jvprops");
@@ -106,7 +107,7 @@ public class JpredJabaStructExportImport
     }
   }
 
-  @Test(groups = { "Functional" })
+  @Test(groups = { "Network" }, enabled = false)
   public void testJPredStructOneSeqOnly()
   {
     af.selectAllSequenceMenuItem_actionPerformed(null);
@@ -158,7 +159,7 @@ public class JpredJabaStructExportImport
 
   }
 
-  @Test(groups = { "Functional" })
+  @Test(groups = { "Network" }, enabled = false)
   public void testJPredStructExport()
   {
 
@@ -230,7 +231,7 @@ public class JpredJabaStructExportImport
             + "\nCouldn't complete Annotation file roundtrip input/output/input test.");
   }
 
-  @Test(groups = { "Functional" })
+  @Test(groups = { "Network" }, enabled = false)
   public void testJpredwsSettingsRecovery()
   {
     Assert.fail("not implemnented");