JAL-4199 Add tests to the "Functional" group
[jalview.git] / test / jalview / ws2 / actions / alignment / AlignmentActionTest.java
index e573032..bc43070 100644 (file)
@@ -99,7 +99,9 @@ public class AlignmentActionTest
     };
   }
 
-  @Test(dataProvider = "multipleSequencesUnalignedAndAligned")
+  @Test(
+    groups = { "Functional" },
+    dataProvider = "multipleSequencesUnalignedAndAligned")
   public void submitSequences_verifySequenceNamesUniquified(
       Alignment unaligned, Alignment aligned)
       throws IOException
@@ -117,7 +119,9 @@ public class AlignmentActionTest
             hasProperty("name", is("Sequence2"))));
   }
 
-  @Test(dataProvider = "multipleSequencesUnalignedAndAligned")
+  @Test(
+    groups = { "Functional" },
+    dataProvider = "multipleSequencesUnalignedAndAligned")
   public void submitSequences_submitGapsOff_verifySequencesSubmittedWithoutGaps(Alignment unaligned, Alignment aligned)
       throws IOException
   {
@@ -135,7 +139,9 @@ public class AlignmentActionTest
             matchesSequence("ASTVLOPDTMMQEL")));
   }
 
-  @Test(dataProvider = "multipleSequencesUnalignedAndAligned")
+  @Test(
+    groups = { "Functional" },
+    dataProvider = "multipleSequencesUnalignedAndAligned")
   public void submitSequences_submitGapsOn_verifySequencesSubmittedWithGaps(
       Alignment unaligned, Alignment aligned)
       throws IOException
@@ -154,7 +160,9 @@ public class AlignmentActionTest
             matchesSequence("AS--TVL--OPDTMMQEL------")));
   }
 
-  @Test(dataProvider = "multipleSequencesUnalignedAndAligned")
+  @Test(
+    groups = { "Functional" },
+    dataProvider = "multipleSequencesUnalignedAndAligned")
   public void retrieveResult_verifySequencesAligned(
       Alignment unaligned, Alignment aligned)
       throws IOException
@@ -256,7 +264,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest
     };
   }
 
-  @Test
+  @Test(groups = { "Functional" })
   public void allJobsStarted_taskStartedCalled()
       throws IOException
   {
@@ -265,7 +273,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest
     verify(mockListener).taskStarted(any(), anyList());
   }
 
-  @Test
+  @Test(groups = { "Functional" })
   public void allJobsStarted_taskStatusChangedCalledWithReadyThenSubmitted()
       throws IOException
   {
@@ -276,7 +284,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest
     inOrder.verify(mockListener).taskStatusChanged(any(), eq(JobStatus.SUBMITTED));
   }
 
-  @Test(dataProvider = "jobStatuses")
+  @Test(groups = { "Functional" }, dataProvider = "jobStatuses")
   public void jobStatusChanged_taskStatusChangedCalledWithJobStatus(JobStatus status)
       throws IOException
   {
@@ -287,7 +295,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest
     verify(mockListener).taskStatusChanged(any(), eq(status));
   }
 
-  @Test(dataProvider = "jobStatuses")
+  @Test(groups = { "Functional" }, dataProvider = "jobStatuses")
   public void jobStatusChanged_subJobStatusChangedCalledWithJobStatus(JobStatus status)
       throws IOException
   {