JAL-1270 separated Jmol and Chimera tests to avoid concurrency problems
[jalview.git] / test / jalview / datamodel / AlignedCodonIteratorTest.java
index 3e3a46d..d9c7e12 100644 (file)
@@ -2,12 +2,14 @@ package jalview.datamodel;
 
 import static org.testng.AssertJUnit.assertEquals;
 import static org.testng.AssertJUnit.assertFalse;
-import org.testng.annotations.Test;
-import org.testng.Assert;
+
 import jalview.util.MapList;
 
 import java.util.Iterator;
 
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
 /**
  * Unit tests for Mapping$AlignedCodonIterator
  * 
@@ -19,7 +21,7 @@ public class AlignedCodonIteratorTest
   /**
    * Test normal case for iterating over aligned codons.
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testNext()
   {
     SequenceI from = new Sequence("Seq1", "-CgC-C-cCtAG-AtG-Gc");
@@ -47,7 +49,7 @@ public class AlignedCodonIteratorTest
   /**
    * Test weird case where the mapping skips over a peptide.
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testNext_unmappedPeptide()
   {
     SequenceI from = new Sequence("Seq1", "-CgC-C-cCtAG-AtG-Gc");
@@ -75,7 +77,7 @@ public class AlignedCodonIteratorTest
   /**
    * Test for exception thrown for an incomplete codon.
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testNext_incompleteCodon()
   {
     SequenceI from = new Sequence("Seq1", "-CgC-C-cCgTt");
@@ -104,7 +106,7 @@ public class AlignedCodonIteratorTest
   /**
    * Test normal case for iterating over aligned codons.
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testAnother()
   {
     SequenceI from = new Sequence("Seq1", "TGCCATTACCAG-");