JAL-1805 test envirionment separation
[jalview.git] / test / jalview / ws / seqfetcher / DbRefFetcherTest.java
index 302c0f7..abaa7ec 100644 (file)
@@ -23,11 +23,6 @@ package jalview.ws.seqfetcher;
 import static org.testng.AssertJUnit.assertEquals;
 import static org.testng.AssertJUnit.assertNotNull;
 import static org.testng.AssertJUnit.assertTrue;
-import org.testng.annotations.AfterClass;
-import org.testng.annotations.Test;
-import org.testng.annotations.BeforeClass;
-import java.util.ArrayList;
-import java.util.List;
 
 import jalview.analysis.CrossRef;
 import jalview.datamodel.AlignmentI;
@@ -36,6 +31,13 @@ import jalview.datamodel.DBRefSource;
 import jalview.util.DBRefUtils;
 import jalview.ws.SequenceFetcher;
 
+import java.util.ArrayList;
+import java.util.List;
+
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+
 /**
  * @author jimp
  * 
@@ -60,7 +62,7 @@ public class DbRefFetcherTest
   {
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testStandardProtDbs()
   {
     String[] defdb = DBRefSource.PROTEINDBS;
@@ -97,7 +99,8 @@ public class DbRefFetcherTest
             uniprot != null && i < 2);
   }
 
-  @Test
+  @Test(groups =
+  { "External" })
   public void testEmblUniprotProductRecovery() throws Exception
   {
     String retrievalId = "CAA23748"; // "V00488";
@@ -106,7 +109,8 @@ public class DbRefFetcherTest
     verifyProteinNucleotideXref(retrievalId, embl);
   }
 
-  @Test
+  @Test(groups =
+  { "External" })
   public void testEmblCDSUniprotProductRecovery() throws Exception
   {
     String retrievalId = "AAH29712";