JAL-1805 modified test setup's so the are ran for groups which requires them
[jalview.git] / test / jalview / datamodel / PDBEntryTest.java
index 01fb4a1..2e6f3f9 100644 (file)
@@ -1,25 +1,25 @@
 package jalview.datamodel;
 
-import static org.junit.Assert.assertTrue;
+import static org.testng.AssertJUnit.assertTrue;
 
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
 
 public class PDBEntryTest
 {
 
-  @Before
+ @BeforeMethod(alwaysRun = true)
   public void setUp() throws Exception
   {
   }
 
-  @After
+  @AfterMethod
   public void tearDown() throws Exception
   {
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void test()
   {
     try