JAL-1805 modified test setup's so the are ran for groups which requires them
[jalview.git] / test / jalview / ws / dbsources / PDBRestClientTest.java
index 00c1e02..9ae5b26 100644 (file)
@@ -34,7 +34,7 @@ import com.sun.jersey.api.client.config.DefaultClientConfig;
 public class PDBRestClientTest
 {
 
-  @BeforeMethod
+ @BeforeMethod(alwaysRun = true)
   public void setUp() throws Exception
   {
   }
@@ -45,7 +45,7 @@ public class PDBRestClientTest
   }
 
   @Test(groups =
-  { "External" })
+  { "External", "Network" })
   public void executeRequestTest()
   {
     List<PDBDocField> wantedFields = new ArrayList<PDBDocField>();
@@ -95,7 +95,7 @@ public class PDBRestClientTest
   }
 
   @Test(groups =
-  { "External" })
+  { "External, Network" })
   public void parsePDBJsonExceptionStringTest()
   {
     List<PDBDocField> wantedFields = new ArrayList<PDBDocField>();
@@ -134,7 +134,7 @@ public class PDBRestClientTest
   }
 
   @Test(groups =
-  { "External" }, expectedExceptions = Exception.class)
+  { "External", "Network" }, expectedExceptions = Exception.class)
   public void testForExpectedRuntimeException() throws Exception
   {
     List<PDBDocField> wantedFields = new ArrayList<PDBDocField>();