JAL-1805 test envirionment separation
[jalview.git] / test / jalview / datamodel / AlignedCodonFrameTest.java
index 0e24bf6..35d92d3 100644 (file)
@@ -1,12 +1,13 @@
 package jalview.datamodel;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNull;
+import static org.testng.AssertJUnit.assertEquals;
+import static org.testng.AssertJUnit.assertNull;
+
 import jalview.util.MapList;
 
 import java.util.Arrays;
 
-import org.junit.Test;
+import org.testng.annotations.Test;
 
 public class AlignedCodonFrameTest
 {
@@ -14,7 +15,7 @@ public class AlignedCodonFrameTest
   /**
    * Test the method that locates the first aligned sequence that has a mapping.
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testFindAlignedSequence()
   {
     AlignmentI cdna = new Alignment(new SequenceI[]
@@ -62,7 +63,7 @@ public class AlignedCodonFrameTest
   /**
    * Test the method that locates the mapped codon for a protein position.
    */
-    @Test
+    @Test(groups ={ "Functional" })
   public void testGetMappedRegion()
   {
     // introns lower case, exons upper case
@@ -110,7 +111,7 @@ public class AlignedCodonFrameTest
     assertNull(acf.getMappedRegion(seq1, aseq2, 1));
   }
 
-  @Test
+  @Test(groups ={ "Functional" })
   public void testGetMappedCodon()
   {
     final Sequence seq1 = new Sequence("Seq1", "c-G-TA-gC-gT-T");