JAL-4199 Add tests to the "Functional" group
[jalview.git] / test / jalview / ws2 / actions / alignment / AlignmentActionTest.java
index 5586108..300eb6d 100644 (file)
@@ -98,7 +98,9 @@ public class AlignmentActionTest
     };
   }
 
-  @Test(dataProvider = "multipleSequencesUnalignedAndAligned")
+  @Test(
+    groups = { "Functional" },
+    dataProvider = "multipleSequencesUnalignedAndAligned")
   public void submitSequences_verifySequenceNamesUniquified(
       Alignment unaligned, Alignment aligned)
       throws IOException
@@ -116,7 +118,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
   {
@@ -134,7 +138,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
@@ -153,7 +159,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
@@ -251,7 +259,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest
     };
   }
 
-  @Test
+  @Test(groups = { "Functional" })
   public void allJobsStarted_taskStartedCalled()
       throws IOException
   {
@@ -260,7 +268,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest
     verify(mockListener).taskStarted(any(), anyList());
   }
 
-  @Test
+  @Test(groups = { "Functional" })
   public void allJobsStarted_taskStatusChangedCalledWithReadyThenSubmitted()
       throws IOException
   {
@@ -271,7 +279,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
   {
@@ -282,7 +290,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
   {